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 on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).
Get it free on the App Store