[AWS SDK] Quickly Check EC2 Instance state with Python (Boto3)

The AWS console screen will by default only list the resources like EC2 instances for 1 region at the time, this can be changed by using the ‘Global View’ option for EC2.

For a quick and realtime overview of the state of the EC2 instances on a terminal, Boto3 (AWS SDK) can be used, Boto3 is a library for Python.

Below Python Code will list an overview of all known instances (File: boto3-prompt-all-ec2.py)

Output (example) from the Boto3 script

Useful links to Boto3:

Leave a comment