
OpenStack Cloud Computing Cookbook
By :

Now that we have created a Cinder volume service, we can now create volumes for use by our instances. We do this under our client environment using the Python-OpenStack client with the python-cinderclient
library; so we are creating volumes specific to our project (tenant).
Refer to Chapter 2, The OpenStack Client, for more information on installing and configuring the OpenStack client.
To create a volume, the following is required:
The openstack
command line client
An openrc
file with appropriate credentials for the environment
The desired name for the volume
The desired size in GiB for the volume
For our example, these are the following:
Volume name: cookbook.volume
Size: 10 GiB
Carry out the following steps to create a volume:
We simply create the volume that we will attach to our instance with the following command:
openstack volume create --size 10 --description "Cookbook Volume" cookbook.volume
On completion, the command returns the...
Change the font size
Change margin width
Change background colour