Scheduling your elastic instances

Still need help?

The Atlassian Community is here for you.

Ask the community

You can schedule the startup and shutdown of elastic instances in Bamboo. For example, you may wish to shut down all elastic instances on weekends or start up additional instances to help cope with job builds during regular busy periods.

Managing your elastic instance schedules

To manage your elastic instance schedules:

  1. From the top navigation bar select cogwheel icon > Elastic Bamboo > Instance schedule.
  2. Do any of the following:

    TaskAction
    Add a new schedule

    Select Add elastic instance schedule to create a schedule from new.
    Select Copy to use an existing schedule as a template.

    See the Adding a New Elastic Instance Schedule section below for further instructions.

    Edit an existing scheduleSelect Edit for an existing schedule. You can also Delete existing schedules.
    Enable existing schedulesSelect Enable for a particular schedule, or select Enable all.
    Disable existing schedulesSelect Disable for a particular schedule, or select Disable all.

You can also view the configuration for the elastic image that the instances will be created from, by clicking the image configuration name (e.g. Default) in the table of schedules.

Time displayed in Elastic Instance Schedules pages refers to the server time.


View elastic instance schedules page

Adding a new elastic instance schedule

  1. From the top navigation bar select cogwheel icon > Elastic Bamboo > Instance schedules.
  2. Select either Add Elastic Instance Schedule to create a schedule from new, or Copy for an existing schedule to use it as a template.


Enabled
Clear if you do not want this schedule to be enabled when you create it.

Trigger on
Select when this schedule should start:

  • Next Bamboo startup
  • A cron schedule — edit Schedule as required. For information on constructing cron expressions, see this FAQ.

    Time displayed in Elastic Instance Schedules pages refers to the server time.

On trigger Bamboo should
Select the action Bamboo should perform:

  • Stop all elastic instances
  • Adjust number of active instances

Image config
Select which image the elastic instances should be started from. The elastic agents running on the instances will inherit the capabilities from the image.

Active instances
Select the logical operator and specify a value for the number of active instances.

Adding an elastic instance schedule

Last modified on Aug 10, 2021

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.