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.
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