1. Find out the IP address of the jenkins slave for the particular account
2. Connect to this IP using putty using ec2-user
3. Switch to root using command : sudo -i
4. Run the below command to write the output to a text file :
[root@...] # aws ec2 describe-instances >> instancesDetails.txt
Similar command can be executed to output the list of AMIs as well, as shown below:
[root@...] # aws ec2 describe-images >> imagesDetails.txt
5. Now you can use the Data filter functionality of excel to just capture, say, IP address, instance id etc.
Another quick way to list out the IDs is as below,
1. Click on the Check box to the left of the Name field as shown below
2. This will select all the instances on the particular page
3. Navigate to bottom of the list section and you will see all the details in a notepad sort of window
4. You can copy all the details from here and paste it into notepad++ / excel
5. Enjoy!