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 Sign up to answer
Community showcase
Posted Tuesday in Featured Groups

Tuesday tips & tricks: What is the Atlassian Community?

It's officially Tuesday, which means it's officially time for another tip to help you better navigate this space we call the Atlassian Community. 😄 I got a great question from community member, Sa...

153 views 6 8
View post

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