Why Bamboo on demand keeps terminating my elastic instances?

Hi, i want to know why bamboo suddenly kills my elastic instances. I found many people with issues similar to mine, but none of their fixes works for me. I though the answer was something like the one presented in this question:  https://answers.atlassian.com/questions/96042, but i have the  option set as disabled. My instances use Amazon Linux AMI, in a public subnet. Any advise?

4 answers

0 vote

Are you able to access instance console after that happens? You can do via  AWS console, right click on the terminated instance.

The most likely reason (if you're not using spot instances) is that the agent died.

 

Not really, most of the time when i go to see what happened, the terminated instance has been already deleted, I was thinking into setting an alarm when the communication between the agent and bamboo fails, but i am not really sure what to look at. Can you tell me how the communication works so i can monitor that?

Btw, i assume is a communication issue because once, the agent was not displayed in bamboo, but the instance  was running in the EC2 console. Am i wrong?

0 vote

Andres

Are you using Spot Instances or Reserved Instances? Please remember that Spot Instance can be terminated by Amazon when the Spot price exceeds your max bid. If you use Reserved Instances then please contact Support to investigate.

Hi Krystian,

I am using on demand instances. I am still unable to get the log i need because i am not around when the instances die. Is there a way to setup an alarm so i can be notified when it die and check the log when it still exists?

Suggest an answer

Log in or Join to answer
Community showcase
Renan Battaglin
Published May 18, 2017 in Bamboo

FAQ: How to Upgrade Bamboo Server

Bamboo 5.9 will no longer be supported after June 12, 2017. What does this mean? As part of our End of Life policy, Atlassian supports major versions for two years after the first major iteratio...

1,096 views 0 5
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