AWS CLI EC2 Cheat Sheet/Reboot instances

Perform an OS-level reboot.

Section: EC2 Instances

Reboot instances

bash
bash
aws ec2 reboot-instances --instance-ids i-0123456789abcdef0
Explanation

Reboots the instance without changing the root volume contents.

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
Describe instances
List EC2 instances and their attributes.
OpenIn sheetbashsame section
Describe instances with query
Return a compact list of instance details.
OpenIn sheetbashsame section
Launch an instance
Start one or more EC2 instances.
OpenIn sheetbashsame section
Start stopped instances
Power on one or more stopped instances.
OpenIn sheetbashsame section
Stop running instances
Gracefully stop one or more instances.
OpenIn sheetbashsame section
Terminate instances
Permanently delete one or more instances.
OpenIn sheetbashsame section