Q
Manage Learn to apply best practices and optimize your operations.

What are some ways to stop and restart OpenStack instances?

Admins can pause, suspend, shelve or stop a compute instance in OpenStack. But what are the key differences between each option?

When you want to stop and restart OpenStack instances, there are four different options to consider.

First, admins can pause and unpause a Nova compute instance. When an instance is paused, the entire state of the instance is kept in RAM. Pausing an instance will disable access to that instance, but won't free up any of its resources.

Another option is to suspend, and then resume, an instance. Like paused OpenStack instances, a suspended instance keeps its current state, but it is written to storage. Suspension, which frees up an instance's resources, is a better choice for instances that an organization doesn't need for a longer period of time.

A third option is to shelve OpenStack instances. Where a suspended instance maintains all the information it currently has in RAM, this is not the case for a shelved instance. A shelved instance, however, does keep all of its associated resources. So if the instance uses ephemeral storage, it maintains that resource when an admins shelves it, and continues to use that resource when unshelved.

A shelved instance is actually shut down, which is not the case for suspended or paused instances. If admins decide they no longer need a shelved instance, they can remove it, which ensures that it doesn't maintain any hypervisor-level resources in use.

The last option is to stop an instance in Nova, which will disconnect all of its associated resources. This means admins can't restore a stopped instance to its previous state. This option is only useful for OpenStack instances that an organization no longer needs. In all other cases, admins should shelve, suspend or pause the instance.

Next Steps

Review Azure instance types for your workload

Are standard cloud instance types enough?

Explore Google's range of cloud instance types

This was last published in March 2017

Dig Deeper on Open source cloud computing

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Join the conversation

1 comment

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

What tools do you use to track and manage OpenStack resources?
Cancel

-ADS BY GOOGLE

SearchServerVirtualization

SearchVMware

SearchVirtualDesktop

SearchAWS

SearchDataCenter

SearchWindowsServer

SearchCRM

Close