What is the best way to add software to an Elastic Agent?

I am new to Bamboo and would like to try building my Play Framework application. However, I am using Bamboo Cloud so I can only have Elastic Agents. I need to install Play into the agent (and ideally add it to the $PATH). I may need to add other software too - Scala, SBT, maybe Redis, etc.

What is the best way to do so? Do I need to create my own AMI with this software, or is there a simpler way?

2 answers

1 accepted

0 votes
Accepted answer

I eventually settled on placing the software I need in an EBS volume, which I attached to the out-of-the-box Ubuntu image provided in Bamboo. There is documentation on the Bamboo wiki: Configuring elastic instances to use the EBS.

Once the EBS snapshot was created and linked to the image, I added an executable command capability to the elastic agent, which can be added to a job as a task. Note that it isn't possible to define shared capabilities for elastic agents in Bamboo 5.5 - see BAM-14837.

I wouldn't exactly call this simple, but it isn't too difficult to set up (or wouldn't have been, if I hadn't encountered a couple of bugs - Atlassian support helped me through them). It seems to be the recommended option in the documentation, thought it's hard to tell. Custom AMIs are possible but explicitly unsupported, so I decided to avoid them.

I do wish Atlassian provided clearer guidance for new Bamboo Cloud users. The documentation seems geared more toward Bamboo Server.

0 votes

The simplest way is to use the instance configuration script (see Image Configuration screen in Elastic Bamboo).

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

148 views 3 4
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you