How to reboot a DreamCompute instance

You can soft or hard reboot a running instance using the OpenStack command line client or within the DreamCompute dashboard. A soft reboot attempts a graceful shut down and restart of the instance. A hard reboot power cycles the instance (turns it off and on).

Choose the 'Dashboard examples' or 'Command line examples' below depending on which one you're more comfortable with.

Dashboard examples

All of these actions can be performed from the 'Compute' > 'Instances' page of the DreamCompute dashboard.

  1. Navigate to the DreamCompute page and log into your DreamCompute dashboard.
  2. On the top left, click the 'Compute' tab.
  3. From the expanded list click 'Instances'.

Soft reboot an instance

To soft reboot your instance, click the dropdown menu under the 'Action' column next to your instance. From the menu, select 'Soft Reboot Instance'.

Hard reboot an instance

To hard reboot your instance, click the dropdown menu under the 'Action' column next to your instance. From the menu, select 'Hard Reboot Instance'.

Command line examples

In the following examples, 'myInstance' is the name of your instance. You can view the name of your instance in the DreamCompute dashboard. You must install the OpenStack command line client to run the commands below.

Soft reboot an instance

By default, when you reboot an instance, it is a soft reboot.

[user@localhost]$ openstack server reboot myInstance

Hard reboot an instance

To perform a hard reboot, pass the –hard parameter:

[user@localhost]$ openstack server reboot --hard myInstance

Did this article answer your questions?

Article last updated PST.