Shelving an instance

Shelving an instance allows you to save the data for your instance but release the allocated resources required to run the instance and decrease the price you pay for resource you’re don’t currently need.

Shelving an instance saves your data by uploading it to the image service and storage such as volumes are not touched. The metadata about your instance is saved and any compute allocations is released.

You can at any time unshelve the instance and start it again.

Tip

Shelving also works for our GPU and NVME based flavors.

Note

Shelved instances reduces your cost for allocated resources for the instance but you still pay for the used storage, such as root disk and volumes.

Shelve an instance using Cloud portal

To shelve an instance from the Cloud management portal

  • Click Compute -> Instances in the sidebar menu.

  • On the card for the instance click the dropdown menu and click the Shelve action

Shelve an instance using OpenStack Horizon

  • Click Project -> Compute -> Instances in the sidebar menu.

  • In the dropdown menu to the right for hte instance, click Shelve instance.

The instance will be powered off (if its in a running state) and then the shelving process will start. To unshelve the instance repeat the same process but click Unshelve instance in the dropdown menu.

Shelve an instance using OpenStack Terminal client

To shelve an instance using the OpenStack terminal client.

  • Identify the instance you want to shelve. This can be done by listing existing instance with openstack server list

  • To shelve the instance run openstack server shelve [NAME]. Replace the values within brackets with the name of the instance from the previous step.

The instance will be powered off (if its in a running state) and then the shelving process will start. To unshelve the instance repeat the same process but instead run openstack server unshelve [NAME]