This documentation relates to an earlier version of Bamboo.
View

Unknown macro: {spacejump}

or visit the current documentation home.

We recommend that you shut down any elastic instances that are not being used. Amazon EC2 charge for the period of time that you have an instance running, so you can minimise your costs simply by shutting down instances with inactive agents. You should also shut down your elastic instances if you are going to restart your Bamboo server, otherwise you will orphan them from your Bamboo server.

If you have set up automated procedures via the Bamboo Remote API to terminate agents (e.g. cron jobs), you can also configure Elastic Bamboo to automatically shut down instances after the agent processes terminate.

Please ensure that the agent on an elastic instance is not running a Job build, before shutting down the instance. Any Job builds running on the agent will be abandoned when you shut down the elastic instance.

On this page:

Shutting down an elastic instance

To shut down an elastic instance,

  1. Click the 'Administration' link in the top navigation bar.
  2. Click the 'Instances' link in the left navigation column. The 'Manage Elastic Instances' screen will display.
  3. Click the 'Shut Down' link in the 'Operations' column, next to the instance that you wish to shut down. The 'Shut Down Instance' screen will display.
  4. Click the 'Confirm' button to shut down the elastic instance. The 'Manage Elastic Instances' screen will display again. The elastic instance that you have shut down will display a 'Shutting down' status for a few minutes, before it shuts down and disappears from this screen.

Shutting down all elastic instances

To shut down all elastic instances,

  1. Click the 'Administration' link in the top navigation bar.
  2. Click the 'Instances' link in the left navigation column. The 'Manage Elastic Instances' screen will display.
  3. Click the 'Shut Down All Instances' link. The 'Shut Down All Instances' screen will display.
  4. Click the 'Confirm' button to shut down all elastic instances. The 'Manage Elastic Instances' screen will display again. The elastic instances will display 'Shutting down' status' for a few minutes, before they shut down and disappear from this screen.

Configuring automatic shutdown of instances after agent termination

To configure Elastic Bamboo to automatically shut down instances when agents are terminated,

Please refer to Configuring Elastic Bamboo and follow the instructions for setting the 'Automatically shut down elastic instance when elastic agent process ends' option in the 'Elastic Bamboo Global Settings' section.

Shutting down elastic instances via the Amazon Web Services (AWS) Console

We strongly recommend that you manage your instances via the Elastic Bamboo user interface. However, if you have orphaned your elastic instances from your Bamboo server (e.g. restarted your Bamboo server without shutting down your elastic instances), you may need to shut your elastic instances down directly in AWS.

Please refer to How do I shut down my elastic instances if I have restarted my Bamboo server? for further details.

  • No labels