Rebooting an Instance
If the instance is scheduled for infrastructure maintenance, when the instance is rebooted, the instance reboots on a healthy physical host.
For steps to manage the lifecycle state of instances in an instance pool, see Stopping and Starting the Instances in an Instance Pool.
- Navigate to the Compute Instances list page. If you need help finding the list page, see Listing Instances.
- From the
By default, the Console gracefully restarts the instance by sending a shutdown command to the OS. The system waits for up to 15 minutes for the OS to shut down. The instance is powered off and then powered back on.
Important
If the applications that run on the instance take more than 15 minutes to shut down, improperly stopping them might result in data corruption. To avoid this, shut down the instance using the commands available in the OS before you restart the instance using the Console.Caution
Force reboot: To reboot the instance immediately, without waiting for the OS to respond, select the Force reboot the instance by immediately powering off, then powering back on option. Improperly stopping an instance might result in data corruption.
for the instance, select Reboot.
- Select Reboot instance.
Infrastructure maintenance
If the instance is scheduled for infrastructure maintenance, for supported shapes, you can control when the maintenance downtime occurs by proactively reboot migrating the instance to a healthy physical host before the maintenance due date. Depending on the shape, do one of the following:
- Standard VM shapes: The instance is migrated when you reboot it. You don't need to select any additional options.
-
Dense I/O VM shapes: To reboot migrate the instance now, select the Delete the local NVMe-based SSD and reboot migrate to a healthy host option. For information about other maintenance options for dense I/O instances, see Infrastructure Maintenance.
Caution
The NVMe-based SSD is permanently deleted. We recommend that you create a backup of the SSD before proceeding. - Standard bare metal shapes: Select the Reboot migrate the instance to a healthy host option.
Use the instance action command and required parameters to reboot an instance:
oci compute instance action --instance-id <instance_OCID> --action SOFTRESET
To reboot the instance immediately, use the
RESET
action.For a complete list of parameters and values for CLI commands, see the CLI Command Reference.
For information about using the API and signing requests, see REST API documentation and Security Credentials. For information about SDKs, see SDKs and the CLI.
Use the InstanceAction operation to reboot an instance, passing the value
SOFTRESET
as the action to perform.To reboot the instance immediately, use the
RESET
action.