Configuring volume types

Volume types in Cinder are a label or identifier that is selected during volume creation. Typically, volume types correspond with some attribute of the volumes, for example, SSD, High IOPS, and Encrypted. We will use this with the next recipe to define further features of our Cinder service.

Getting ready

To create a volume type, you will need the following:

  • An openrc file with appropriate credentials for the environment (you must be an administrator)
  • The openstack command-line client
  • The name of the volume type to create. For our example, we will create the "High IOPS" volume type as a contrived example type that would refer to a block storage device dedicated to High IOPS.

How to do it…

We will use the openstack volume type ...

Get OpenStack Cloud Computing Cookbook - Fourth 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.