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.

On this page:

Managing your elastic instance schedules

To manage your elastic instance schedules:

  1. Click the  icon in the Bamboo header and choose  Overview.
  2. Click Instance Schedules in the left navigation panel (under 'Elastic Bamboo').

  3. Do any of the following:

    Task Action
    Add a new schedule

    Click Add Elastic Instance Schedule to create a schedule from new.
    Click 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 schedule Click Edit for an existing schedule. You can also Delete existing schedules.
    Enable existing schedules Click Enable for a particular schedule, or click Enable All.
    Disable existing schedules Click Disable for a particular schedule, or click 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.

Screenshot: Viewing elastic instance schedules


Adding a new elastic instance schedule

  1. Click the  icon in the Bamboo header and choose  Overview.
  2. Click Instance Schedules in the left navigation panel (under 'Elastic Bamboo').

  3. Click 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
Choose when this schedule should start:

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

On Trigger Bamboo Should
Choose the action Bamboo should perform:

  • Stop all elastic instances
  • Adjust number of active instances

Image Config
Choose 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
Choose the logical operator and specify a value for the number of active instances.

 

Screenshot: Adding an elastic instance schedule


Last modified on Jul 20, 2017

Was this helpful?

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