Custom images for Atlassian Bamboo

We heavily use Atlassian Bamboo for continuous integration. Unfortunately, the base images supplied with Bamboo, well, they're terrible.

This covers setting up a customised image, configured to run the Bamboo Elastic Agent. We configure these images to run our Django/Python stack, but that's optional, and you can replace these packages with whatever you need.

Setup and requirements

This assumes a base of the Ubuntu 12.04 LTS image, which is referenced in EC2 as ami-6aad335a. This image has a default user called ubuntu, which has sudo privileges.

Setting up the Bamboo agent

Final Steps