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

How to start 1 of 2 acceptable image configurations?

Nicklas Kittelmann Jun 26, 2013

Given that I have several image configurations that can run a plan, how do I set which image configuration that is started as an instance?

My setup is that I have one Amazon image that can be used in Bamboo with a Small or XLarge instance type. For a plan I can have 1 of 2 setups:

  • For most plans it is ok to build at either a Small or a XLarge instance type.
  • For some plans it is required to use a XLarge instance type.

When a plan is to be built it should utilize any already started instance type that is acceptable for it. However, it should try to use an instance type that is as small as possible.

When there is no instance available it should start an appropriate instance - that is a Small instance for most plans and XLarge for some projects. How do I make Bamboo to start up a Small instance when both a Small and an XLarge is acceptable to run at?

2 answers

1 accepted

0 votes
Answer accepted
Przemek Bruski Atlassian Team Jun 26, 2013

That can't be done, Bamboo does not understand that it should prefer an instance that's cheaper to run.

Nicklas Kittelmann Jun 30, 2013

Ok, thanks for your answer. Seems like it should be so easy to implement - just an integer setting per image configuration. And whenever a build is about to start then order the instances (or image configuration) depending on that integer. And choose the one with the lowest value.

0 votes
Nicklas Kittelmann Jun 30, 2013

Ok, thanks for your answer. Seems like it should be so easy to implement - just an integer setting per image configuration. And whenever a build is about to start then order the instances (or image configuration) depending on that integer. And choose the one with the lowest value.

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published in Marketplace Apps & Integrations

Webinar alert! An IT Admin's Guide to Securing Collaboration at Scale

Hello, Atlassian Community! My name is Dave Meyer and I'm a Principal Product Manager at Atlassian. I wanted to give this community a heads up about an upcoming Webinar that might be of interest...

186 views 2 7
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