JAEN

Cloud

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
Inventory the resources behind the spikeCheck unused regions too — a classic abuse pattern.
See the whole flow →
Can't SSH into EC2
2
Verify instance state and public IP
See the whole flow →

Related commands

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