How to Install OpenStack Heat
If you’d like to get up and running and hacking on OpenStack Heat this guide is for you. In this post I’ll describe how to get up and running quickly with the goal of creating a fully functional environment that’s easy to hack on (not for production use).
What is OpenStack?
OpenStack is open source software for building public and private clouds.
The OpenStack Open Source Cloud Mission: to produce the ubiquitous Open Source Cloud Computing platform that will meet the needs of public and private clouds regardless of size, by being simple to implement and massively scalable.
What is Heat?
Heat is a service to orchestrate multiple composite cloud applications using the AWS CloudFormation template format, through both an OpenStack-native ReST API and a CloudFormation-compatible Query API.
As a convenience, we’ll use devstack which is basically a shell script maintained by the OpenStack developer community to build a complete OpenStack environment.
First, if you haven’t done so already create a fresh install of a recent Ubuntu or Fedora linux distro on a machine with a decent amount of resources. I recommend at least 8GB of RAM and 250GB of disk space. I’ve tested with Ubuntu 12.04 and Fedora 18 so ymmv.
Second, ssh to the machine and install devstack by running the following commands:
sudo apt-get update
sudo apt-get install git
git clone git://github.com/openstack-dev/devstack.git(I simply clone this to ~/devstack)
- you’ll be prompted several times for a password. I recommend just making all the passwords the same for the sake of simplicity.
After several minutes, the script will eventually stop and you’ll be presented with output similar to the following:
Horizon is now available at http://172.16.8.33/ Keystone is serving at http://172.16.8.33:5000/v2.0/ Examples on using novaclient command line is in exercise.sh The default users are: admin and demo The password: password This is your host ip: 172.16.8.33 stack.sh completed in 514 seconds.
Heat is included in devstack but it must be enabled by adding the following to
Now, restart OpenStack with
After several minutes (depending on your internet connection speed and the number of images specified above), you should have a working OpenStack/Heat installation.