AWS CLI
EC2 Commands
Manage EC2 instances from the command line. Learn to launch, stop, and configure virtual machines in the AWS cloud.
8 commands
Pro Tips
Use 'aws ec2 describe-instances --query' with JMESPath to filter exactly the data you need.
Tag instances consistently - use 'aws ec2 describe-instances --filters' to find them later.
Use '--dry-run' flag to test permissions without actually executing operations.
Common Mistakes
Running instances cost money. Stop or terminate unused instances to avoid surprise bills.
Terminating an instance deletes its root volume by default. Use EBS volumes for persistent data.