aws ec2 describe-instances
SafeList EC2
aws ec2 describe-instances
Lists EC2 instances with state and IPs.
Examples
aws ec2 describe-instances --query 'Reservations[].Instances[].[InstanceId,State.Name]' --output tableID/state as a table
Syntax
aws ec2 describe-instances [--filters ...]
Before you run it
Read-only.
Used when you see
Cloud bill spiked
2
See the whole flow →Inventory the resources behind the spikeCheck unused regions too — a classic abuse pattern.
Related commands
- aws s3 ls / cpS3 operations
The same reference, with no signal at all
Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.
Get it free on the App Store