How to start 1 of 2 acceptable image configurations?

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 vote

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

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.

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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
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,324 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