Rebooting Instances

You can reboot a running instance at any time if needed, which corresponds to rebooting the operating system. When rebooting, the instance restarts without going through the stop and start process.

Rebooting an Instance Using Cockpit

  1. Click Compute > Instances.

  2. Click the running instance you want to reboot.

    Multiselection is available.

    The instance is selected.

  3. Click Restart .
    The selected instance is rebooted.

Rebooting Instances Using AWS CLI

To reboot one or more instances, use the reboot-instances command following this syntax:

Request sample
$ aws ec2 reboot-instances \
    --profile YOUR_PROFILE \
    --instance-ids i-87654321 i-12345678 \

This command contains the following attributes that you need to specify:

  • (optional) profile: The named profile you want to use, created when configuring AWS CLI. For more information, see Installing and Configuring AWS CLI.

  • instance-ids: One or more instance IDs.

  • endpoint: The endpoint corresponding to the Region you want to send the request to.

The specified instances reboot.

Related Pages

Corresponding API Method

AWS™ and Amazon Web Services™ are trademarks of Amazon Technologies, Inc or its affiliates in the United States and/or other countries.