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 つだけです。

エラスティック エージェントでのジョブの実行が完了すると、(エラスティック エージェント以外で実行された他のジョブの結果と同様に) その結果が表示されます。エラスティック エージェントとインスタンスは、シャットダウンされるまで実行され続けます。エラスティック インスタンスをシャットダウンすると、エージェントはオフラインになるのではなく、終了します。ただし、Bamboo は、実行したジョブなど、終了したエラスティック エージェントに関する履歴情報を保存します。

An Amazon Web Services (AWS) account is required to use Elastic Bamboo. Elastic Bamboo Costs are charged by Amazon, separate to Bamboo license 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 centers 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.

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

  • エラスティック インスタンスがハード ブート ドライブに行った変更(エージェント ログ ファイルなど)は保持されません。
  • インスタンス自体に対するカスタマイズも失われます。

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

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

An elastic agent is an 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.