5 Minutes Cloud Recipe with Ubuntu Cloud Live 12.04
Have you ever think of baking your own cloud within 5 Minutes? Have you ever think of Elastic Compute (Nova-Compute) within 5 Minutes? Have you ever think of Elastic Storage (Nova-Volumes) within 5 minutes? Have you ever think of your hands on Open Stack Dash Board (Horizon) within 5 Minutes? Now you should think of it. With release of Ubuntu 12.04, It’s time for Ubuntu Cloud Live 12.04. Ubuntu / Canonical has released Ubuntu Cloud Live 12.04, Hybrid Image, Burn on your DVD , CD or USB Stick, you can say Cloud On DVD, Cloud on Stick, Yes, it’s as easy as you reading this.
Ubuntu Cloud Live is a live CD/USB image that allows you to get a glimpse of Ubuntu Cloud Infrastructure. Project’s web site is located at Launchpad – https://launchpad.net/cloud-live. Procedure is very simple; download an image, burn it on CD or dd it on the USB key and boot of that device. System will boot in Unity or Unity2D and present you with at Getting Started document. Notice that we do not include full Ubuntu desktop experience – we’ve removed all components that aren’t necessary for this project, to make image as small as possible.
Once you finish with Getting Started document, you’ll be able to log into the dashboard and start instances. All of this without installing anything on your computer! For the purpose of demo, we’ve provided a small CirrOS image which you can run and log in to. Since everything is running in RAM, you will have better experience if your system has 4 or more gigabytes of memory. 2GB is enough to get system booted, but you won’t be able to do much more after that.
For a little extra, we’ve configured Ubuntu Cloud Live with support for Nova Volume. All you have to do is plug in additional disk, create a PV volume on it (pvcreate /dev/xyz), create nova-volumes VG (vgcreate nova-volumes /dev/xyz) and restart nova volume (service nova-volume restart).
Image is built with live-build and the source is available on Launchpad. Build process pulls in one package that’s also available on Launchpad. Procedure for building your own Cloud Live is very simple:
- Install Ubuntu 12.04, 64bit
- Install live-build package
- Create working directory – mkdir ~/cloud-live ; cd ~/cloud-live
- Branch bzr code – bzr branch lp:cloud-live config
- [OPTIONAL] Customize config/* files
- Build an image – sudo lb build
- Burn or dd resulting image – binary-hybrid.iso
Or, if you just want default, official, Ubuntu Cloud Live image, go to cdimage.ubuntu.com and grab it!
Update / Observation:
I have found that, since Red Hat came up with Red Hat OpenStack Administration (CL210), lot of students in India/ My City are struggling to see working OpenStack Demonstration, and even for the they enrolling to this course. Even trying hard with Fedora and spending whole day. So, i am posting this article for students to create Open Stack Based Cloud within 5 Minutes, for the demonstration and understanding of Openstack & Cloud Computing.