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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Marketplace Apps

Tips on how to choose the best estimation method for your planning

Planning and grooming sessions all come with their own sets of rules. Team members meet to estimate stories or other work items, all according to an agreed-upon process. And with every session comes ...

57 views 0 11
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