Instance from EC2 micro running, Elastic agent pending

I created an ami image in ec2 and configured bamboo to use that for the starting the build machines. However that's not happening. On clicking start new elastic agent bamboo build machine instance gets created and gets to state running spawning the elastic agent. However the elastic agent stays in the pending state for about 44 mins and then the instance gets terminated. I need help to fix this problem.

1 answer

Hi Sushil,

on the Elastic Instance, what is in your /home/bamboo/bamboo-elastic-agent.out file?

If this file is missing, your agent isn't starting at Systemboot. Then you need to add this statement /opt/bamboo-elastic-agent/etc/rc.local to your /etc/rc.local file, or provide it with your startscripts (e.g. upstart or /etc/init.d)

If your Elastic Agent still wont start, have a look at /home/bamboo/bamboo-elastic-agent.out what error-message you got

Suggest an answer

Log in or Join to answer
Community showcase
Jason Wong
Published Tuesday in Agility Beta

Welcome to agility

Every team in the world is unique, and so   Atlassian believes   that each and every team's best way of working  needs to  be molded to their unique circumstances  – ...

398 views 6 16
Read article

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot