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 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