NEW! Mirantis Academy -   Learn confidently with expert guidance and On-demand content.   Learn More

< BLOG HOME

Mirantis OpenStack Express 2.0 - Creating a Block Storage Volume

John Jainschigg - September 22, 2014

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 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.

Choose your cloud native journey.

Whatever your role, we’re here to help with open source tools and world-class support.

GET STARTED
NEWSLETTER

Subscribe to our bi-weekly newsletter for exclusive interviews, expert commentary, and thought leadership on topics shaping the cloud native world.

JOIN NOW