Elastic Bamboo に関する FAQ

このページの内容

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問



This page provides answers to common questions about running builds using Elastic Bamboo. If you're using Elastic Bamboo for the first time, we highly recommend that you read Getting started with Elastic Bamboo for instructions on setting up Elastic Bamboo and running your first build.

Elastic Bamboo ではどのようなジョブ ビルドを実行できますか?

エラスティック エージェントの機能がジョブの要件を満たしていれば、任意のエラスティック エージェントであらゆるジョブ ビルドを実行できます (エラスティック エージェントはエラスティック インスタンスで実行されます)。エラスティック エージェントは、それ自体が作成されたエラスティック イメージからその機能を継承します。そのため、エラスティック イメージの機能がジョブの要件に適合しているかどうかを確認することで、エラスティック エージェントでどのジョブを実行できるかがわかります。

(tick) You can view your elastic image and the job builds that meet its requirements on the Agents and plans matrix.

On this page:

プラン ビルドとそのジョブをエラスティック エージェントで実行するにはどうすればよいですか?

エラスティック エージェントは、非エラスティック エージェントと同じように機能します。Bamboo Server では、エージェントの機能がジョブの要件を満たしているかどうかに基づいて、利用可能なエージェント (エラスティック エージェントを含む) の中にキュー内のジョブ ビルドを実行できるものが存在するかどうかを判断します。

利用可能なエラスティック エージェント (他の利用可能なエージェントと同様) にビルド キュー内のビルドの要件を満たす機能がある場合、Bamboo Server はそのエラスティック エージェントにジョブ ビルドを割り当てます。

無料のエラスティック エージェントを実行していない限り、キュー内のジョブ ビルドを実行できるエラスティック エージェントを持つエラスティック インスタンスを自動的に起動するように Bamboo を設定することも、適切なエラスティック インスタンスを手動で起動することもできます(エラスティック インスタンスが起動すると、そのエラスティック エージェントも自動的に起動します)。エラスティック インスタンスを手動で起動する方法の詳細については、「エラスティック インスタンスを起動する」を参照してください。

If you don't use Bamboo's Automatic Elastic Instance Management feature and prefer to manage your elastic instances manually, then we strongly recommend that you shut down any elastic instances (running your elastic agents), when they aren't in use. Minimizing unutilized elastic instance uptime will help reduce costs. Read Shutting down an elastic instance for instructions on how to shut down an elastic instance.

ジョブ ビルド用のエラスティック インスタンスを自動的に起動またはシャットダウンするにはどうすればよいですか?

Bamboo では、ビルド キューからの要求に基づいてエラスティック インスタンスを自動的に起動し、インスタンスで実行されているエラスティック エージェントが所定の期間アイドル状態になった時点でシャットダウンできます。詳細については、「Elastic Bamboo の設定」トピックの「自動エラスティック インスタンス管理」セクションを参照してください。

Bamboo の自動エラスティック インスタンス管理機能は、Bamboo でエラスティック インスタンスを管理する最も簡単で効果的な方法ですが、Bamboo REST API を使用してエラスティック インスタンスを管理することもできます。たとえば、cron ジョブを実装してエラスティック インスタンスをインテリジェントに起動および停止し、ジョブ ビルドの重要なタイミングでエラスティック エージェントを利用できるようにすることができます。

ジョブ ビルドがエラスティック エージェントで実行されたかどうかを確認するにはどうすればよいですか?

ジョブ ビルドを実行したイメージとエラスティック エージェントの名前は、ビルド結果の一部として表示できます。詳細については、「ビルド結果の表示」ページを参照してください。

エラスティック エージェントの機能をカスタマイズするにはどうすればよいですか?

プラン内の特定のジョブに合わせて、エラスティック エージェントの機能をカスタマイズするのが望ましい場合もあります。たとえば、特定のジョブ ビルドをエラスティック エージェントでのみ実行するのが望ましい場合は、エラスティック エージェントに elastic=true のカスタム機能を追加し、該当するジョブに同じ要件を追加できます。

エラスティック エージェントの機能をカスタマイズするには、作成元のイメージの機能をカスタマイズする必要があります。手順については、「エラスティック エージェントの機能の設定」を参照してください。

ビルドを実行するにはどれくらいのコストがかかりますか?

As Elastic Bamboo usage varies from customer to customer, we can't provide a definitive cost estimate for running a job build using Elastic Bamboo. We do provide high level guidelines for Elastic Bamboo costs, based on our own experience of using Elastic Bamboo at Atlassian, on the Elastic Bamboo Costs page.

自動エラスティック インスタンス管理Amazon の Elastic Block Store (EBS) を使用するように Elastic Bamboo を設定することで、ジョブ ビルドの実行にかかるコストと時間を大幅に削減できます。

EBS とはどのようなもので、ジョブ ビルドにどのような影響をもたらしますか?

The Amazon Elastic Block Store (EBS) provides persistent storage volumes that can be attached to EC2 instances. Elastic Bamboo can use the EBS to store snapshots of relatively static build information, such as checkouts of source code and Maven repository data. You can select a snapshot to create EBS volumes from. These volumes can then be attached to your elastic instances when they start up.

最終更新日 2021 年 9 月 23 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.