Poll until an instance reaches the running state.
Section: EC2 Instances
Wait until instance is running
bash
bash
aws ec2 wait instance-running --instance-ids i-0123456789abcdef0Explanation
Useful after launch scripts.
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