ec2-reboot-instances
Syntax
ec2-reboot-instances
instance_id
[instance_id ...]
Description
Reboots one or more specified instances. You must specify at least one instance ID.
|
Note |
|---|---|
|
If a Linux/UNIX instance does not cleanly shut down within four minutes, Amazon EC2 will perform a hard reboot. |
Options
| Option | Description | Required |
|---|---|---|
|
|
Instance identifier that was assigned to the instance at launch. Example: |
Yes |
Output
This command displays no output on success.
Amazon EC2 displays errors on stderr.
Example
This example reboots the i-3ea74257 instance.
PROMPT>ec2-reboot-instances i-3ea74257