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.
If a Linux/UNIX instance does not cleanly shut down within four minutes, Amazon EC2 will perform a hard reboot.
InstanceId.n
One or more instance IDs.
Type: String
Default: None
Yes
RebootInstancesResponseType
RebootInstancesResponseType element.
Type:
Ancestor: None
Children: requestId, return
requestId
return
The ID of the request.
Type: xsd:string
Ancestor: RebootInstancesResponseType
Children: None
Returns
Type: xsd:boolean
This example reboots an instance.
https://ec2.amazonaws.com/?Action=RebootInstances&AuthParams
<RebootInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2009-08-15/"> <return>true</return> </RebootInstancesResponse>
RunInstances
Submit feedback about this site to: