For AI agents: the complete documentation index is available at https://docs.us.ovhcloud.com/en/llms.txt, the full documentation bundle is available at https://docs.us.ovhcloud.com/en/llms-full.txt, and this page is available as Markdown at https://docs.us.ovhcloud.com/en/public-cloud/compute/suspend-or-pause-an-instance.md.
  • English

Shelve or pause an instance

View as Markdown

As part of the configuration of a high-availability infrastructure, you may need to cut access to your instances to perform different tests. OpenStack allows you to suspend, turn off, or pause your instance. In each case, your IP is maintained.

Warning

NOTE: The naming of these options in the OVHcloud Control Panel is different from the naming in OpenStack/Horizon. If you are doing this via the OVHcloud Control Panel, make sure you select the correct option.

 

Requirements

 

Instructions

Scope: This guide applies to all Public Cloud instances billed hourly or monthly. Behavior can differ by instance type; instances with local NVMe passthrough disks (e.g., T2-180) lose the data on those disks when shelved. See the warning in the Suspend (shelve) section.

Monthly billing: An instance that remains shelved for the entire month will not be billed. As soon as the instance is unshelved, even briefly, the full month's billing applies.

Warning

NOTE: You will be billed for an instance as long as it is not deleted.

The table below allows you to differentiate the options available on your instances. Continue reading this guide by clicking on the option of your choice. The terminology used in the Horizon interface is in parentheses.

TermDescriptionBilling
Suspend (shelve)Retains the resources and data on your disk by creating a snapshot; all other resources are released. The main IP is also maintained.Data on local NVMe passthrough disks (e.g., T2-180) will be lost. See the warning below.Hourly billing: You are only billed for the snapshot. Monthly billing: See the NOTE above.
Turn off (suspend)Stores the VM state on disk; the resources remain reserved.You are billed at the same rate.
PauseStores the VM state in RAM; the instance remains frozen.You are billed at the same rate.

 

Content Overview

  • Suspend (shelve) an instance
  • Reactivate (unshelve) an instance
  • Turn off (suspend) an instance
  • Pause an instance

 

Suspend (shelve) an instance

Danger

WARNING: Shelving an instance with local NVMe passthrough disks (e.g., T2-180) removes it from the host and permanently erases the data on those disks. The snapshot created by shelving includes only the root disk, not the NVMe passthrough data. Manual snapshots of the instance do not include this data either. Copy any data you need to Object Storage or Block Storage before shelving.

This option releases the resources dedicated to your Public Cloud instance, but the IP address will remain. The data on your root disk will be stored in a snapshot automatically created once the instance is shelved. Data stored in the memory and elsewhere will not be retained.

OVHcloud Control Panel
Horizon
OpenStack API

From the OVHcloud Control Panel, navigate to the Public Cloud section, select your project, and click on Instances in the left side menu.

Click on the more options ⋮ button to the right of the instance you want to suspend, then click on Suspend.

Instances more options

In the pop-up window, take note of the message and click on Confirm.

Instances confirm suspension

Once the process is completed, your instance will now appear as Suspended.

Suspended - Suspend or pause an instance

To view the snapshot, go to the left side menu and click on Instance Backup. A snapshot named xxxxx-shelved will now be visible:

Backup shelved - Suspend or pause an instance

 

Reactivate (unshelve) an instance

This option will allow you to re-up your instance so that you can continue using it. Please note that once this is done, the regular billing will resume.

Danger

WARNING: Any actions on the snapshot other than unshelve can be very dangerous for your infrastructure in case of misuse. Once you unshelve an instance, the snapshot is automatically deleted. It is not recommended to deploy a new instance from any snapshot created as a result of shelving (suspending) an instance.

OVHcloud Control Panel
Horizon
OpenStack API

In the OVHcloud Control Panel, select your project from the Public Cloud section and click on Instances in the left side menu.

Click on the more options ⋮ button to the right of the instance, then click on Reactivate.

Reactivate - Suspend or pause an instance

In the pop-up window, take note of the message and click on Confirm.

Once the process is completed, your instance will now appear as Enabled.

 

Turn off (suspend) an instance

This option shuts down your instance and stores the VM state on disk, including memory.

OVHcloud Control Panel
Horizon
OpenStack API

In the OVHcloud Control Panel, select your project from the Public Cloud section and click on Instances in the left side menu.

Click on the more options ⋮ button to the right of the instance you want to stop, then click on Turn off.

Instances more options

In the pop-up window, take note of the message and click on Confirm.

Once the process is completed, your instance will now appear as Off.

To resume the instance, perform the same steps as mentioned above. Click on the more options ... button to the right of the instance and select Start. In some cases, you might need to do a cold reboot.

Instances start reboot

 

Pause an instance

This action is only possible in the Horizon interface or via the OpenStack/Nova API. It allows you to freeze your instance.

Horizon
OpenStack API

In the Horizon interface, click on the Compute menu on the left and then select Instances. Select Pause Instance in the drop list for the corresponding instance.

Compute stop - Suspend or pause an instance - step 14

The confirmation message will appear, indicating that the instance has been paused.

To unpause the instance, perform the same steps as mentioned above. In the drop list for the corresponding instance, select Resume Instance.

 

Go further

Browse all the Compute guides.

Browse the rest of the OVHcloud US documentation for guides on our other products and services.

Learn more about Public Cloud Compute on the OVHcloud US website.