Requests a reboot of one or more instances. This operation is asynchronous; it only queues a request to reboot the specified instances. The operation succeeds 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 performs a hard reboot.
For more information about troubleshooting, see Getting Console Output and Rebooting Instances in the Amazon Elastic Compute Cloud User Guide .
| C# |
public RebootInstancesResponse RebootInstances( RebootInstancesRequest request )
- request (RebootInstancesRequest)
- Reboot Instances request
Reboot Instances Response from the service
| Exception | Condition |
|---|---|
| WebException | |
| AmazonEC2Exception |