Builds run on these 'elastic agents' in a similar way to how they run on local and remote agents.
If you have disabled remote agent support, you must enable it before you can enable Elastic Bamboo. Refer to Disabling and enabling remote agents support for instructions on how to enable remote agent support.
Amazon Web Services (AWS)アカウント詳細または Elastic Bamboo の設定を設定する方法:
- Click theicon in the Bamboo header and choose Overview.
- In the left navigation panel, go to Elastic Bamboo > Configuration.
Click Edit configuration.
- 以下のセクションの説明に従って設定します。
- 終了したら [保存] をクリックします。
On this page:
AWS アカウント設定
Before you use Elastic Bamboo for the first time in your Bamboo instance, you must enter your Amazon Web Services (AWS) account details into the Bamboo application. If you do not have an AWS account, you must register for one on the AWS registration page before you can enable Elastic Bamboo.
始める前に
- Please note, Elastic Bamboo dynamically creates and runs remote agents in the Amazon Elastic Compute Cloud (EC2). Hence, if you choose to use Elastic Bamboo, you will be charged by Amazon for your EC2 compute usage (separately to your Bamboo license fee). These charges will be billed to the AWS account that you provide. Please read Elastic Bamboo Costs for more details.
- AWS アカウントの詳細を変更すると、Bamboo は現在実行中のエラスティック エージェントをすべて停止します。
AWS アカウントの詳細を設定する方法は次のとおりです。
You can enter or update your AWS Access Key ID and AWS Secret Access Key as follows:
- アカウントに移動して、右上のユーザー メニューから、My account/console を選択します。
- セキュリティ認証情報をクリックします。
- AWS アクセス キー ID を入力または更新します。
- AWS シークレット アクセス キーを変更しますか?チェックボックスをオンにし、AWS シークレット アクセス キーを入力または更新します。
- 保存をクリックします。
Note that your AWS Access Key ID and AWS Secret Access Key are used together to identify you when accessing Amazon EC2 services. If you are unsure what your AWS Account ID and AWS Secret Access Key are, please refer to the Amazon documentation on AWS access identifiers.
グローバル設定
Elastic Bamboo では、EC2 の使用を Bamboo ジョブ ビルドに最適化するのに役立つ多数のグローバル設定オプションが提供されます。これらの設定は、Bamboo サーバの動作や、エラスティック インスタンスおよびエージェントを管理する方法を制御します。
エラスティック インスタンスの最大数 | 一度に実行できるエラスティック インスタンスの数。EC2 のコンピューティング コストが心配で、非エラスティック エージェントではサポートできない同時実行ジョブのビルドが多数ある場合は、この値を小さくすることをお勧めします。 |
エラスティック エージェント プロセスの終了時に自動的にエラスティック インスタンスを終了する | エラスティック インスタンスで実行されているエラスティック エージェントのプロセスが終了した後に、エラスティック インスタンスが自動的にシャットダウンするかどうかを制御します。
|
EC2 スポット インスタンス
Elastic Bamboo provides support for Amazon EC2 Spot Instances. Amazon spot instances allow you to bid on unused EC2 capacity and use it, as long as your bid exceeds the current "Spot price". You can configure Elastic Bamboo to bid for a spot instance of a particular type, and fall back to a regular instance after a set amount of time if no instances are available.
スポット インスタンスのサポートを有効化 | スポット インスタンスのサポートを有効にするには、このチェックボックスを選択します。 |
後で通常のインスタンスにフォールバック | スポット インスタンスが使用できなくなった場合に、Elastic Bamboo が通常のインスタンスの使用にフォールバックするまでの時間 (分単位)。 |
現在の価格レベル (1 時間あたり) | Fill out this table with your bids. The bids are categorized by EC2 instance type and operating system. |
AWS 設定
These settings allow you to specify your AWS configuration settings in Bamboo so that Bamboo can operate elastic instances through your AWS account. This section includes settings that are used to configure elastic instances to work with the Amazon Elastic Block Store (EBS).
Using EBS with your elastic instances can significantly reduce the amount of data transfer required to run a job build, compared with starting a clean elastic instance. To find out more about this feature and how to set it up in Elastic Bamboo, read Configuring elastic instances to use the EBS.
AWS アカウント識別子を新しいエラスティック インスタンスにアップロード | Select to upload the AWS Account Private Key File and Account Certificate File to all new elastic instances started. This is mandatory if you wish to use EBS to store job build information in a snapshot. However, you can also check this option if you are not using EBS (e.g. if you wish upload the AWS account identifiers in order to use Amazon's AWS command line tools). |
キー ファイルの場所 | 非公開キーと証明書の提供方法を選択します。 |
アカウント非公開キー ファイル | Elastic Bamboo と共に Amazon EBS を使用するには、このファイルの場所を指定する必要があります。このファイルは Amazon によって生成されます。 |
アカウント証明書ファイル | Elastic Bamboo と共に Amazon EBS を使用するには、このファイルの場所を指定する必要があります。このファイルは Amazon によって生成されます。 |
If you haven't downloaded an AWS private key file or certificate file to your Bamboo server yet, see IAM best practices on the Amazon page.
自動エラスティック インスタンス管理
The Automatic Elastic Instance Management feature allows Bamboo to start and shut down elastic instances automatically (based on build queue demands), so that you do not have to perform these action manually. This feature reduces Bamboo administration overhead and can help minimize your overall elastic instance usage costs.
利用可能なオンライン エージェントでジョブの要件を満たせない場合、この機能により、ジョブを実行する機能を備えたエラスティック エージェントを持つすべてのエラスティック インスタンスが起動し、ジョブのビルドを生成できます。エラスティック インスタンスの起動方法にかかわらず、すべてのエラスティック インスタンスは以下に指定された設定に基づいてシャットダウンされます。
Choose from the following elastic instance management presets. Each of these presets define values for the five criteria described in the 'Custom' user-defined options (below). (Bear in mind that both the 'Aggressive' and 'Passive' presets have trade-offs.)
| |
アイドル状態のエージェントのシャットダウン遅延 | Specify the number of minutes that an elastic agent must be idle before Bamboo shuts down the elastic instance running that agent. |
許可された Bamboo 以外のインスタンス | この Bamboo インスタンスによって制御されない AWS アカウントで許可されるエラスティック インスタンスの最大数です。この制限を超えた場合、Bamboo は新しいインスタンスを起動できなくなります。 |
一度に起動できるインスタンスの最大数 | Bamboo が一度に起動できるエラスティック インスタンスの最大数。Bamboo で「1 分あたり」にエラスティック インスタンスのこの最大数のみが起動されます。 |
キュー内のビルド数のしきい値 | キュー内にあるビルドの総数。このしきい値と他のしきい値すべてに到達すると、新しいエラスティック インスタンスが起動します。 |
キュー内のエラスティック ビルド数のしきい値 | エラスティック インスタンスで実行できるキュー内のビルドの数。このしきい値と他のしきい値すべてに到達すると、新しいエラスティック インスタンスが起動します。 |
平均キュー時間しきい値 | ジョブ ビルドがキューで待機している平均分数。このしきい値と他のしきい値すべてに到達すると、新しいエラスティック インスタンスが起動します。 |