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 votes
Accepted answer

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
Community showcase
Posted Monday in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

77 views 3 3
Join discussion

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