Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Bamboo: Failed to start elastic instances: Error when starting a new instance

I can't start elastic default instance

image2015-7-6 13:22:11.png

image2015-7-6 13:22:24.png

 

EC2 user with "AdministratorAccess". 

 

Any help is much appreciated

Thanks,

Artsiom

8 answers

Hi @Jaime Silveira

I am having the same problem as described by @Artyom Shimanovsky, @christian vejrich and @Reza Farshi.

I am using an Amazon free tier account on a Bamboo Cloud trial version trying to build a .NET application using Elastic Bamboo instance type ami-22a6a33f (Bamboo Windows image with .NET 4.0) which I am not able to start from Bamboo Cloud interface.

Solved it by giving "AmazonEC2FullAccess" to the Elastic Bamboo user in IAM Management Console.

For that you go to Security credentials>Users>ElasticBamboo User>Permissions>Attach Policy>AmazonEC2FullAccess

Would be great if this could be better documented in the Bamboo howto pages for the future.

Best regards,

Vlad

This worked for me. The documentation for Bamboo is really pathetic. I am struggling to create one sample build from few days.

Like Einar Coutin likes this

Thank you! This got me running after much frustration!

Thanks, that helped me!

Failed to start elastic instances: Error when starting a new instance

I have the same error.

And no, i can not check the logs im using your cloud service, and that is the only error message you provide. thanks for a horrible user experience.  

Hi Christian. I recommend you setup aws tools (example for linux) and try launch of bamboo instance with this tools (with default bamboo ami, bamboo security group, bamboo pair of keys). You will get full logs of error. I can help you setup this tools, if need

Please can you provide an example of this, we are on trial of Bamboo.

Hi Jaime 

I have the same problem. I set access key of root account of AWS in elastic bamboo configuration. also I am able to spin up an instance of ami-b69dd0de  AMI. which is a bamboo AMI. but when I want to start to instance from the bamboo administration panel this error pop up immediately :

Failed to start elastic instances: Error when starting a new instance

So It can not belong to AWS accoutn configuration. 
I am using AWS free tier account , and I am using bamboo 7 day trial version.
Any help appreciated.
Regards Reza

 

Jul 6, 2015 4:41:40 AM Currently there are no agents that can build: ES-DEV-JOB1. New elastic instance(s) will be started (providing the configuration allows it).
Jul 6, 2015 4:41:40 AM 1 elastic instance(s) will be started for those builds that cannot be build on currently connected agents.
Jul 6, 2015 4:42:40 AM Currently there are no agents that can build: ES-DEV-JOB1. New elastic instance(s) will be started (providing the configuration allows it).
Jul 6, 2015 4:42:40 AM 1 elastic instance(s) will be started for those builds that cannot be build on currently connected agents.
Jul 6, 2015 4:43:40 AM Currently there are no agents that can build: ES-DEV-JOB1. New elastic instance(s) will be started (providing the configuration allows it).
Jul 6, 2015 4:43:40 AM 1 elastic instance(s) will be started for those builds that cannot be build on currently connected agents.

Where is that log from? Please be precise so I can find it in my Bamboo Cloud account.

0 votes
Jaime S Atlassian Team Jul 06, 2015

Hi, Artyom.

Have you tried checking or recreating your configuration between Bamboo and Amazon? Does the user connecting them have full permission in Amazon?

Also, check your keys and see if they are correctly generated.

If you still can't figure it out, please open a request at Atlassian Support. We'll be glad to help you out solving this problem.

Kind regards,
Jaime Kirch da Silveira
Atlassian Cloud Support

0 votes
Jaime S Atlassian Team Jul 09, 2015

Hi, Ayrtom and Reza.

These errors are very generic and it's had to tell what is wrong just by looking at those, as many different problems could say that there was an error starting an instance.

The things I mentioned before (recreating the connection, checking the user has full permission) cover the basics.

If that doesn't solve the problem, further investigation will be necessary, specially checking the logs. For that, you can open a support request at Atlassian Support.

Kind regards,
Jaime Kirch da Silveira
Atlassian Cloud Support

I wasted 4 hours dealing with this bull crap before finding the following unresolved issue:

https://jira.atlassian.com/browse/BAM-16109

Giving full AWS access to an IAM user that's under automation is a REALLY bad idea. Just giving the necessary EC2 permissions suffices. You can limit your IAM policy to the Public IP address of your Bamboo instance as well.

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo 101 Video

G’day Community! As we gear up to introduce Bamboo Data Center to the world, we wanted to make sure that we shared a bit more about Bamboo, the product. Our team has put together an overview video ...

179 views 4 6
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you