Elastic Bamboo builds on existing EC2 instances

Hi,

We currently do all our builds with Hudson on a permanent EC2 instance we own. Can Elastic Bamboo be configured to use this instance rather than creating a separate AMI just for elastic builds?

Thanks,

Mark Lichtenberg

1 answer

0 votes

Hi Mark,

You can configure Bamboo to use an elastic instance with your choice of AMI, however you will need to customise this instance to be able to work with Bamboo. Most people clone the default Bamboo AMI and make their changes on top of that.

The instructions you'll need to follow are on this page:

I followed those instructions but ran into a few problems:

1) in section 5.4, it says to append the contents of /opt/bamboo-elastic-agent/rc.local to my /etc/rc.d/rc.local file. The rc.local file mentioned does not exist in /opt/bamboo-elastic-agent or anywhere in the 1.7 agent zip file.

2) Assuming the agent start script is 'bamboo-elastic-agent', I ran this but it complained with "Unable to access jarfile /opt/bamboo-elastic-agent/bin/*installer*.jar." I assumed it wanted the atlassian-bamboo-installer-3.4.4.jar, so I downloaded this jar from your maven repo and put it in /opt/bamboo-elastic-agent/bin. Again tried the bamboo-elastic-agent script, and got

Failed to load Main-Class manifest attribute from

/opt/bamboo-elastic-agent/bin/atlassian-bamboo-installer-3.4.4.jar

I could be doing something incorrect here, but it appears the documentation could use some updating.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Tuesday in Statuspage

Introducing Statuspage Getting Started guides! First up: What is Statuspage?

Over the next several weeks we'll be sharing some of our Getting Started guides here in the community. Throughout this series of posts, we'd love to hear from customers and non-customers ab...

175 views 4 1
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