aws ec2 reboot-instancesIT technician command center
AWS CLI · Amazon Web Services

aws ec2 reboot-instances

Reboot an EC2 instance.

Copy-ready commandaws ec2 reboot-instances
aws ec2 reboot-instances --instance-ids i-0123456789abcdef0
Production warning

Start, stop, reboot, sync --delete, and write operations can affect production resources.

Requirements and permissions

Requirements
AWS CLI v2
Permissions
AWS IAM permissions vary
Last reviewed
2026-07-31

Examples

Basic example

Reboot an EC2 instance.

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

Common errors

Command not found

Confirm AWS CLI v2 is installed and available in your current shell.