Mirantis OpenStack Express 2.0 – Creating a Block Storage Volume










This is the third in a series of short tutorials showing how to perform common cloud operations tasks in Mirantis OpenStack Express 2.0 – Mirantis’ “Private Cloud as a Service”

In our last tutorial, we learned how to launch a VM instance from a boot image. Now, we’ll start examining how Mirantis OpenStack Express 2.0 lets us manage block storage for VMs. By managing storage volumes and instances separately, we can create reusable building blocks for applications. In this segment, we’ll create a block storage volume.

 

 

Basic Ops Tutorials

Mirantis OpenStack Express 2.0 — Mirantis’ “Private Cloud as a Service” — is the fastest way to get your hands on a fully-functional, optimally-configured, private OpenStack cloud, running on hosted bare metal and able to scale on demand. This series of short tutorials shows how to perform common cloud operations tasks in MOX 2.0, and offers links to documentation and learning resou

In our last tutorial, we learned how to launch a VM instance from a boot image. Now, we’ll start examining how Mirantis OpenStack Express 2.0 lets us manage block storage for VMs. By managing storage volumes and instances separately, we can create reusable building blocks for applications. In this segment, we’ll create a block storage volume.

 

 

Basic Ops Tutorials

Mirantis OpenStack Express 2.0 — Mirantis’ “Private Cloud as a Service” — is the fastest way to get your hands on a fully-functional, optimally-configured, private OpenStack cloud, running on hosted bare metal and able to scale on demand. This series of short tutorials shows how to perform common cloud operations tasks in MOX 2.0, and offers links to documentation and learning resources. Pro tip: though aimed at Mirantis OpenStack Express, many of the techniques discussed here will also work on a private OpenStack cloud deployed using Mirantis OpenStack.

Tutorials:

 

Step by Step

To create a new block storage volume, we’ll use Mirantis OpenStack Express Horizon — we’ll go to Projects -> Volumes -> Create Volume and pull up the dialog.

MMOX 2.0 Volume Creation Dialog

Mirantis OpenStack Express 2.0 lets you easily create block storage volumes and manage them separately from instances. By creating, attaching, modifying and snapshotting storage volumes, you can create a library of building blocks for applications.

Name your volume, then — ignoring the Type field — specify the size in GB. As you can see, Mirantis OpenStack Express/Horizon keeps track of your usage, and the number of volumes you’ve defined.

You can specify the contents of a volume by uploading an .iso image. But since this is a new volume, we’ll create it empty.

We’ll add the volume to the nova-compute availability zone, so we can attach it to instances running there, like our Cirros VM.

Once the volume is created, you can see it in the Volumes table.

MOX 2.0 Volumes Table

You can keep track of all the volumes you’ve created in Horizon’s Volumes table.

Now that we know how to create a volume, our next video will explore attaching it to an instance, configuring it for use, and using snapshots to store its state.

Resources:

Check out Express for yourself at https://express.mirantis.com.

Latest Tweets

Suggested Content

WEBINAR
Edge Computing: A Unified Infrastructure for All the Different Pieces