/ #cloud #openstack 

OpenStack-In-A-Box with Rackspace Private Cloud Sandbox

You’re interested about OpenStack and you want to discover it in a fast and easy way ? How about 15 minutes of your time and a single physical device (like your laptop or your workstation) ? :)

For those living in caverns for the last 3 years, OpenStack is an open-source cloud-software platform which serves to build public and private clouds. This platform is based on a modular architecture, consisting in the following components: OpenStack Cloud Software logo

  • Nova for compute

  • Swift for Object Storage

  • Cinder for Block Storage

  • Horizon for the Dashboard

  • Keystone for the Identity Service

  • Neutron for Networking

  • Glance for the Image Service

  • Ceilometer for Telemetry (billing)

  • Heat for Orchestration

Rackspace Private Cloud logoRackspace was the initiator (with the NASA) and remains an active contributor of the OpenStack project. They are offering their own implementation of OpenStack in an open-source package named Rackspace Private Cloud Software (RPC).

There are multiple ways to test OpenStack by running it yourself, or by using a demo platform (TryStack for example). If your goal is to have a** small OpenStack environment for test** (or demonstration) purposes, the Rackspace Private Cloud Sandbox is a good solution: it’s a virtual appliance that runs an all-in-one single node RPC virtual machine on any hardware, and allows anyone to quickly spin up a small OpenStack environment.

Here are some highlights about the RPC Sandbox:

  • the hypervizor used is QEMU,

  • distributed under the Apache License,

  • a Chef server is included, which installs and manages the different roles (Nova, Keystone, Glance, Cinder, Ceilometer and Heat),

  • available in 2 different OVAs: one for VMware products (Player, Fusion, Workstation or even vSphere) and one for VirtualBox,

  • based on the Havana release of OpenStack.

OpenStack Havana version

I have successfully deployed it on VMware vSphere and on VMware Workstation.

Deploy Rackspace Private Cloud Sandbox in VMware Workstation

The imported virtual machine has the following characteristics: 2560 MB of memory, 2 vCPUs and 50 GB of disk (~3 GB if thin provisioned). Personally, I am using a SSD to host the RPC sandbox, but magnetic disks should be OK too. As all the OpenStack services are running in a single virtual machine, don’t expect to have a high performance solution (don’t forget that you are virtualizing a virtual machine, that in turn virtualizes other virtual machines).

After booting, the system will initialize itself and you should get the following screen (after a few minutes) with login information for both RPC and the included Chef server.

Rackspace Private Cloud Sandbox login informations

After the deployment, you can use the CLI or the Horizon dashboard (screenshot below) to use the system.

Rackspace Private Cloud Sandbox (powered by OpenStack) login screen

Even if is the sandbox is not covering all OpenStack functionalities, it is possible to have a good idea of the solution: you can create projects, launch instances, create images and snaphots, create and attach volume, etc. For example, I can launch 3 instances of the preloaded cirros Linux image.

Launch instances in OpenStack (NOVA)

After the creation, my dashboard is showing 3 instances (2 are running and I paused the 3rd one). You can pause your instances, snapshot or terminate them, etc.

Instances dashboard in OpenStack

To confirm that it’s not a fake demo and that instances are really running, you can even connect to the console. :)

OpenStack instance console

Even if you will not be able to test all OpenStack modules and functionalities (Swift and Neutron are missing, etc.), Rackspace Private Cloud Sandbox is a nice tool to discover and play with OpenStack.

Reference and download: Rackspace Private Cloud Sandbox and Taking OpenStack For A Spin: Using The Rackspace Private Cloud Sandbox.

Author

Romain

Staff Architect & Member of the CTO Ambassador Program at VMware, focusing on NSX and Cloud-Native Applications. He is a double VCDX (DCV and NV, #120), VCDX panelist, frequent VMUG/VMworld speaker and contributor to the community via this blog or social media (follow him on Twitter @woueb).