Booting from volumes

Booting from a Cinder volume gives a number of benefits as an OpenStack Operator. You can provide a level of resiliency to your instances, or you can enable Live-Migration of an instance where you are not counting on Libvirt to migrate the disk for you.

Getting ready

Ensure you are logged in to the Ubuntu host where the cinder command-line utilities are installed and source your OpenStack environment admin credentials.

How to do it...

To boot an instance from a volume, we first need to select an image to boot from as well as a flavor of our choice. The steps are follows:

  1. Get the UUID of the image to boot:
    nova image-list
    

    The command generates the following output:

  2. Get the flavor ID for m1.tiny:
    nova flavor-list
    

    The command generates ...

Get OpenStack Cloud Computing Cookbook - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.