Gracefully stop one or more instances.
Section: EC2 Instances
Stop running instances
bash
bash
aws ec2 stop-instances --instance-ids i-0123456789abcdef0Explanation
Useful for cost savings in non-production environments.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing EC2 Instances