OpenStack Cloud Computing Cookbook, Second Edition – Updates

I live with first world problems: I’ve been too busy to blog because I’m too busy in work and busy co-authoring the new OpenStack Cloud Computing Cookbook that’s based on OpenStack Grizzly.

With the long tunnel beginning to shed some form of daylight, this second edition is on the final curve before the sprint.

To keep up to date, visit this website:

For the adventurous, we’ve been developing the supporting scripts for the book which can be found at To use this – ensure you have the following:

  • An x86 PC with at least 8Gb Ram
  • VirtualBox installed (4.2 branch)
  • Vagrant Installed (Currently tested with 1.1.5)
  • Git client installed


git clone
cd OpenStackCookbook
vagrant up

This gives you an OpenStack Grizzly release running on Ubuntu 12.04 LTS with Ubuntu Cloud Archive packages with Quantum. Spin it up and have a play!


Easy OpenStack Folsom with VirtualBox and Vagrant

Testing OpenStack is now as easy thanks to VirtualBox and Vagrant. To run a mini test environment with Compute, Cinder, Keystone and Horizon you just need the following tools:

  • VirtualBox
  • Vagrant
  • Git client

Getting Ready

To set up a sandbox environment within VirtualBox to run OpenStack Folsom you will need to download:

Installation of these tools are simple – follow the on-screen prompts.

When ready we need to configure the VirtualBox “Host-Only” Networking. This networking mode allows us to communicate with our VirtualBox guest and our underlying host.
We will set up the following:

  • Host-Only Network: IP; Network; Disable DHCP
  • Host-Only Network #2: IP; Network; Disable DHCP

(Hint: there is a bash script @ to create these for you).

How To Do It

To create a VirtualBox VM, running Ubuntu 12.04 with OpenStack Folsom from Ubuntu’s Cloud Archive, carry out the following

1. Clone the GitHub OpenStackInstaller scripts

git clone

2. Make the scripts the ‘folsom’ branch

cd OpenStackInstaller
git checkout folsom

3. Run ‘vagrant’ to launch your OpenStack instance which will come up with IP

cd virtualbox
vagrant up

4. After a short while your instance will be ready. Note that on the first run, Vagrant will download a 384Mb Precise64 “box”. Subsequent launches will not require this step.

Launch a web browser at and log in with:

Username: admin
Password: openstack

(Note, to edit the IP it is assigned, modify virtualbox/ (Warning its a bit of a sed hack!).