Python 100 project #26: AWS EC2 Listing

One of the most frustrating things on AWS is scattered resources all over the regions. I’m not sure if there is any way to check all the resources in one single pain of the glass, but in order to check all the resources, it is quite time consuming. As I’m using AWS mainly for test purpose, there is a high possibility that I forget to stop/terminate unnecessary instances. I made a script to list all the EC2 instances in all regions along with its status.

 

Output Example:

 

Here is the code: