List EC2 instances as a table
Prints the ID, state, type and private IP of every instance in the current region as a table.
aws ec2 describe-instances --query 'Reservations[].Instances[].[InstanceId,State.Name,InstanceType,PrivateIpAddress]' --output tableReport 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.