This is the documentation for Bamboo 5.5. View this page for the

Unknown macro: {spacejump}

of Bamboo, or visit the latest Bamboo documentation.

On this page:

考え方の概要

 
Elastic Bamboo allows you to use computing resources from the Amazon Elastic Compute Cloud (EC2) to run builds. Elastic Bamboo uses a remote agent AMI (Amazon Machine Image) to create instances of remote agents in the Amazon EC2. 

Elastic Bamboo の考え方の概要

Elastic Bamboo の考え方の概要

Bamboo ビルド ジョブは、エラスティック エージェント機能がジョブの要件を満たしていれば、エラスティック エージェントで実行できます。Bamboo は、利用可能なエラスティック エージェントに関連するジョブをビルド キューから自動的に割り当てます。ジョブを割り当てるには、エラスティック エージェントがすでに実行されている必要があります。

エラスティック エージェントは、エラスティック イメージの新しいインスタンスを作成することによって開始されます。この新しいエラスティック インスタンスを作成すると、そのインスタンスでエラスティック エージェント プロセスが自動的に実行されます。エージェントは、作成されたイメージの機能を継承します。同じイメージから複数のインスタンスを作成できますが、1 つのインスタンスで実行できるエージェント プロセスは 1 つだけです。

Once a job's has completed running on an elastic agent, its results are made available (like those of any other job executed on a non-elastic agent). The elastic agent and instance will continue to run until they are shut down. Shutting down an elastic instance will terminate the agent, not take it offline. However, Bamboo will store historical information about the terminated elastic agent, such as the job which it has run.

An Amazon Web Services (AWS) account is required to use Elastic Bamboo. Elastic Bamboo Costs are charged by Amazon, separate to Bamboo licence costs, as Elastic Bamboo is powered by Amazon resources.

(tick) Did you know you can configure Bamboo to start and shut down elastic instances automatically, based on build queue demands? Please refer to Configuring Elastic Bamboo for more information.

重要な用語

エラスティック イメージ

An elastic image is an Amazon Machine Image (AMI) that is stored in one of Amazon data centres for use with the Elastic Bamboo feature. An elastic image is used to create elastic instances, which in turn create elastic agents. Conceptually, an elastic image is equivalent to an operating system running on a computer's boot hard drive and elastic instances would be the software that runs on this operation system.

Amazon Web Services (AWS) に登録されたエラスティック イメージのそれぞれに、AMI ID と呼ばれる独自の識別子があります。

You can associate multiple elastic images with a Bamboo server. One default shared image is maintained by Atlassian in AWS, and is available to all Elastic Bamboo users.

You can also create your own custom elastic images.

エラスティック インスタンス

An elastic instance is a running instance of an elastic image. One elastic instance is created whenever an elastic image is started. Hence, starting one elastic image multiple times, results in the creation of multiple elastic instances. Each time an elastic instance is created, one elastic agent is created on that instance.

概念的には、エラスティック インスタンスはコンピュータとして考えることができます。エラスティック エージェントのプロセッサはこのコンピュータ上で動作し、エラスティック イメージはブート ハード ドライブです。ただし、コンピュータとは異なり、エラスティック インスタンスは一時的でステートレスです。エラスティック インスタンスがシャットダウンされると、以下のようになります。

  • エラスティック インスタンスがハード ブート ドライブに行った変更(エージェント ログ ファイルなど)は保持されません。
  • Any customisations to the instance itself will also be lost.

(tick) The Amazon Elastic Block Store can provide persistent storage for your elastic instances.

エラスティック エージェント

An elastic agent is a remote agent that runs in the Amazon Elastic Compute Cloud (EC2). An elastic agent process runs in an elastic instance of an elastic image. An elastic agent inherits its capabilities from the elastic image that it was created from.

Elastic Bamboo をセットアップする

If you would like to set up Elastic Bamboo for your Bamboo installation, please read Getting started with Elastic Bamboo. This document guides you through the initial configuration of Elastic Bamboo and running your first Job build.