Rebooting an Instance
If the instance is scheduled for infrastructure maintenance, when it's rebooted, it's rebooted 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.
- On the Instances list page, find the instance that you want to work with. If you need help finding the list page or the instance, see Listing Instances.
- From available actions for the instance, select Reboot.
-
Force reboot: By default, the Console gracefully restarts the instance by sending a shutdown command to the OS. After waiting 15 minutes for the OS to shut down, the instance is powered off and then powered back on.
Note
If the applications that run on the instance take more than 15 minutes to shut down, they could be improperly stopped, resulting 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.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.
-
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.
- From available actions, select elect Reboot instance.
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.