Atlassian Bamboo Automated Install Script


Atlassian Bamboo is an extremely popular CICD platform. Here’s an automation script to spin up an instance on Ubuntu.

I tested this on an AWS Ubuntu 18.04 t3.small instance.

Create Shell Script

Spin up an Ubuntu instance then create a new shell script and give it executable permissions:

touch && chmod +x

Script Content

Paste this into the script:

#!/usr/bin/env bash

sudo apt-get update -y
sudo apt install openjdk-8-jdk-headless -y
sudo /usr/sbin/useradd --create-home --home-dir /usr/local/bamboo --shell /bin/bash bamboo
sudo mkdir /opt/bamboofiles
cd /opt
sudo wget
sudo tar -xf /opt/atlassian-bamboo-7.0.2.tar.gz
sudo mv atlassian-bamboo-7.0.2 bamboo
# Set Bamboo Home which is NOT the same as the install directory
echo "bamboo.home=/opt/bamboofiles" | sudo tee --append /opt/bamboo/atlassian-bamboo/WEB-INF/classes/ > /dev/null
sudo chown -R bamboo: /opt/bamboo
sudo chown -R bamboo: /opt/bamboofiles
sudo -H -u bamboo /opt/bamboo/bin/
echo ""
echo "================================================================"
echo "Bamboo Started!"
echo "Bamboo Available at: http://$(curl -s"
echo "================================================================"
echo ""

Once complete, you’ll see the Bamboo address printed to the console where is your VM public IP address.

Bamboo Started!
Bamboo Available at:"


At this point, you should have a fully working Atlassian Bamboo installation. Follow the browser instructions to generate a license key and activate Bamboo.