| Did this page help you? Yes No Tell us about it... |
Requests a reboot of one or more instances. This operation is asynchronous; it only queues a request to reboot the specified instance(s). The operation will succeed if the instances are valid and belong to you. Requests to reboot terminated instances are ignored.
![]() | Note |
|---|---|
If a Linux/UNIX instance does not cleanly shut down within four minutes, Amazon EC2 will perform a hard reboot. |
| Name | Description | Required |
|---|---|---|
|
|
One or more instance IDs. Type: String Default: None |
Yes |
The elements in the following table are wrapped in a
RebootInstancesResponse structure.
| Name | Description |
|---|---|
|
|
The ID of the request. Type: xsd:string |
|
|
Returns true if successful. Otherwise, returns an error. Type: xsd:boolean |
This example reboots two instances.
https://ec2.amazonaws.com/?Action=RebootInstances &InstanceId.1=i-1a2b3c4d &InstanceId.2=i-4d3acf62 &AUTHPARAMS
<RebootInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2011-12-15/"> <requestId>59dbff89-35bd-4eac-99ed-be587EXAMPLE</requestId> <return>true</return> </RebootInstancesResponse>