When you want to stop and restart OpenStack instances, there are four different options to consider.
By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
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.
Review Azure instance types for your workload
Are standard cloud instance types enough?
Explore Google's range of cloud instance types
Dig Deeper on Open source cloud computing
Related Q&A from Sander van Vugt
VMware Integrated OpenStack might not be the highest priority product in VMware's portfolio, but VMware is a major contributor to other OpenStack ...continue reading
OpenStack admins use Heat templates to streamline cloud resource deployment. What are the templates' main components, and how can we use them in more...continue reading
Some organizations require real-time support for critical applications that run on Linux. What are some options to achieve that on a SUSE ...continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.