Show details of an EC2 instance
Prints the full description of the instance as JSON, including its state, type, IP addresses and tags.
aws ec2 describe-instances --instance-ids instance_idEdit the highlighted values, then copy. They are inserted as typed, without shell escaping.
Report an issue (opens in a new tab) wrong command, wrong danger level, typo… (on GitHub)
Adapted from tldr-pages (common/aws-ec2.md), licensed under CC BY 4.0.