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:
Get the UUID of the image to boot:
nova image-list
The command generates the following output:
Get the flavor ID for
m1.tiny
:nova flavor-list
The command generates the following output:
Since our lab environment is configured with two networks, we will need to choose the network to attach our instance to. First, list available networks:
neutron net-list
The available networks will be displayed:
Finally, we...