My first run at openstack at home was buying several used Dell servers (2 1950s and 1 2950). This had a couple issues. First was the noise. These servers had a lot of noise with their fans. The second was the energy cost because I had both redundant power supplies running. Given these issues I decided to write an article on how to build our a compute node yourself. If you’re building a lab then you really want your paower to be on the compute node, hence that is what we will be building. You can use a laptop for the openstack controller as this doesn’t require that much power.
You may have heard about running puppet in docker described in Gareth Rushgrove’s post on puppet.com called Running Puppet software in Docker containers. I took that post a step or two further and created a Terraform module that deploys a puppet environment to a Nomad cluser. This post goes over the process of using that module.
Terraform is HashiCorp’s answer to the infrastructure as code paradigm. With it you can stand up infrastructure in a myriad of areas including Amazon Web Services, Google Cloud Engine, Openstack, Nomad, and many more. With Terraform you can quickly create infrastructure and when you are done, you can easily destroy that infrastructure. In this article I will give you a quick walk through of installing terraform and using terraform to deploy some infrastructure.