Building A Rackspace Private Cloud … In My Garage

Filed in Partner & Customer Updates by Ryan Geyer | March 18, 2013 8:38 am

EDITOR’S NOTE 03/21/2013: Please note that this deployment used Version 2.0 of the Rackspace Private Cloud Software. Rackspace is currently on Version 3.0, which installs from packages, rather than an ISO-based installation. Full instructions can be found here: http://www.rackspace.com/knowledge_center/article/installing-rackspace-private-cloud-software[1].

Ever since I built a CloudStack private cloud in my garage[2], I’ve had the urge to repeat the process with OpenStack. But I have to be honest, I was a tad intimidated by the complexity. There are several services required for OpenStack, including but not limited to Nova, Glance, Keystone, Horizon, and Cinder. All of these would normally have to be fetched from source, then configured to work together. Over time, OS packages have become available that would save me fetching these services from source, but the configuration tasks were still pretty significant.

[3]

Image used with permission from www.gapingvoidart.com[4].

Enter Rackspace Private Cloud Powered by OpenStack

Just when I thought my own laziness would prevail, I started to look at what Rackspace was offering in its Private Cloud Powered by OpenStack solution[5]. Rackspace has done an admirable job of assembling all the bits necessary to stand up OpenStack and wrapping it up in a nice ISO based installer which they call Alamo. I did all of my experimentation with Alamo v2.0, but as of this writing Alamo v3.0[6] is available which has broader Host OS support, high availability, and considerably more flexibility.

Alamo is more than just a distribution with some pretty packaging though. Rackspace is making use of Chef to perform the configuration of the individual components in an OpenStack implementation. Every new node gets added to Chef and gets assigned a handful of appropriate roles, and the rest is handled for you!

The whole process is so simple, I could really summarize the entire experience from downloading the Alamo ISO from Rackspace to a fully functional OpenStack cloud in just two steps.

1) Install Alamo v2.0 from ISO on a single node with the “All-in-One” option
2) Configure a cinder node by running the “cinder-volume” Chef Role on it

That’s it, after completing those steps, I had a working OpenStack implementation with Cinder. No muss, no fuss, I was suitably impressed.

Of course, I wanted to go a little further, so I used the Alamo install ISO and associated Chef roles to stand up another compute node. This too was very straightforward and seemingly effortless. I provided an IP address for my new compute node, and the IP address of the controller node, and it was automatically registered and ready to provision new instances!

Oh, and the best part? It’s also the reference configuration of OpenStack for integrating with RightScale!

Hardware Requirements

Did I mention I was building this whole thing in my garage, using fairly old commodity hardware? Let’s take a step back and talk about that for a moment.

[7]

First, I am using some fairly modest gear and having individual nodes fill multiple roles. Since I was approaching this from the perspective of getting familiarized with the technology I didn’t have to worry about high performance.

[8]

That said, if you’re planning to build a serious PoC or a production configuration you’d be wise to heed the suggested system requirements[9]

My garage cloud infrastructure consisted of three nodes. One dual Xeon quad core box with 8GB memory which acted as the All-in-One node for the controller, compute, and Chef server. A second identical system was dedicated as an additional compute node, and lastly a still older P4 dual processor box was responsible for hosting all of the storage for Cinder.

RightScale Integration

Of course, one of the main requirements for me was the ability to be able to manage my OpenStack powered garage cloud with RightScale. This part was also very straight forward since RightScale and Rackspace have been collaborating from the start on OpenStack support.

Registering my newly minted OpenStack cloud was as simple as providing the URL to the keystone API, admin credentials, and a tenant ID. After that, I could see and manage my cloud from the RightScale dashboard.

From there, I could easily provision workloads onto my garage cloud using pre-built solutions from the RightScale MultiCloud Marketplace[10], like the 3-Tier PHP app pictured below.

[11]

[12]

What Now?

If you’re like me, having the Rackspace Alamo distribution makes approaching an OpenStack private cloud PoC much less intimidating. If I can do it in my garage, it should be a breeze for an enterprise to get up and running quickly. So why not download Alamo v3.0 and put it on some lab hardware? In no time you’ll be able to show your teammates and management the benefits of dynamic provisioning and configuration. Add RightScale to the mix (take it for a 60 day free test drive here[13]) to jumpstart the use of your new cloud with pre-built application environments. You can also give team members an easy interface for doing self service provisioning on your cloud.

Then when the demand exceeds the capacity of your PoC, you can work with Rackspace directly[14] to setup a production environment in your own datacenter, or one of the Rackspace collocation facilities.

The future of OpenStack is here, let Rackspace and RightScale help you get the most out of it. :)

Endnotes:
  1. http://www.rackspace.com/knowledge_center/article/installing-rackspace-private-cloud-software: http://www.rackspace.com/knowledge_center/article/installing-rackspace-private-cloud-software
  2. my garage: http://blog.rightscale.com/2012/03/28/build-a-private-cloud-in-your-garage/
  3. [Image]: http://ddf912383141a8d7bbe4-e053e711fc85de3290f121ef0f0e3a1f.r87.cf1.rackcdn.com/complicated127.jpg
  4. www.gapingvoidart.com: http://www.gapingvoidart.com/
  5. Private Cloud Powered by OpenStack solution: http://www.rackspace.com/cloud/private/
  6. Alamo v3.0: http://www.rackspace.com/blog/deploying-managing-rackspace-private-cloud-just-got-easier/
  7. [Image]: http://ddf912383141a8d7bbe4-e053e711fc85de3290f121ef0f0e3a1f.r87.cf1.rackcdn.com/OpenStack_Garage_Cloud.png
  8. [Image]: http://ddf912383141a8d7bbe4-e053e711fc85de3290f121ef0f0e3a1f.r87.cf1.rackcdn.com/20130303_213140.jpg
  9. suggested system requirements: http://www.rackspace.com/cloud/private/openstack_software/
  10. MultiCloud Marketplace: http://www.rightscale.com/library
  11. [Image]: http://ddf912383141a8d7bbe4-e053e711fc85de3290f121ef0f0e3a1f.r87.cf1.rackcdn.com/Screen%20Shot%202013-03-07%20at%202.45.11%20PM.png
  12. [Image]: http://ddf912383141a8d7bbe4-e053e711fc85de3290f121ef0f0e3a1f.r87.cf1.rackcdn.com/Screen%20Shot%202013-03-07%20at%203.01.06%20PM.png
  13. here: https://www.rightscale.com/s/openstack.php
  14. Rackspace directly: http://www.rackspace.com/cloud/private/support/

Source URL: http://www.rackspace.com/blog/building-a-rackspace-private-cloud-in-my-garage/