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

Unknown macro: {spacejump}

of Bamboo, or visit the latest Bamboo documentation.

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.

このページの内容

カスタム エラスティック イメージを Bamboo と関連付ける

Associating a custom elastic image with your Bamboo installation allows you to start elastic instances with capabilities that are different from those inherited from the default image. For example, you may wish to associate a Ubuntu operating system-based elastic image with your Bamboo installation, so that you can run Ubuntu-related tests on the instances started from that image.

カスタム エラスティック イメージを Bamboo に関連付けると、エラスティック イメージについての設定はエラスティック イメージ設定として保存されます。

カスタム イメージを Bamboo に関連付けるには

  1. Click the  icon in the Bamboo header and choose Overview.
  2. 左側のナビゲーション パネルで [Image Configuration (イメージ設定)] ([Elastic Bamboo] の下) をクリックします。
  3. 「エラスティック イメージ設定の作成」の下にあるパネルに、次のカスタム エラスティック イメージの詳細を入力します。

    名前The name of your custom elastic image. If you created your own custom image, you should have named it in step 6 of the Creating a custom elastic image instructions. You can also view the image name via the AWS console.
    説明 Bamboo でのみ使用されるイメージの説明。
    AMI IDThe AMI ID obtained as an output from step 6 of the Creating a custom elastic image instructions. You can also view the AMI IDs of elastic images via the AWS console.
    Amazon Elastic Block Store (EBS) ボリュームを新しいエラスティック インスタンスに自動的にアタッチSelect this option if you want the elastic instances started from this image to use the EBS. Read more about Configuring elastic instances to use the EBS.
    EBS Snapshot ID — Specify the EBS Snapshot ID of the EBS volume that you wish to attach to new instances.
    インスタンス タイプThe instance type for new instances started from this image. Amazon offers a number of instance types that provide different computing capacity. Read more about Amazon EC2 instance types.
    仮想プライベート クラウド サブネットThe Subnet of the Virtual Private Cloud where your Elastic Bamboo agent will start up. For more about VPC, see the Amazon VPC FAQ.
    利用可能ゾーンThe availability zone used to start your new instances from this image in (e.g. if you wish to use Elastic Bamboo with reserved instances). We recommend that you select "Default (chosen by EC2)" to allow Amazon to select the best zone for your instance. Read more about Amazon EC2 availability zones.
    製品EC2 の製品名。

スクリーンショット: エラスティック イメージ設定の管理

カスタム エージェント機能を備えたエラスティック イメージの作成

You can customise the agent capabilities of an elastic image that is already associated with Bamboo. The initial process is similar to that of associating a custom elastic image with Bamboo (above). Here, however, you use the AMI ID of an image already associated with Bamboo — most commonly the default image.

To create an elastic image with customised agent capabilities:

  1. Click the  icon in the Bamboo header and choose Overview.
  2. 左側のナビゲーション パネルで [Image Configuration (イメージ設定)] ([Elastic Bamboo] の下) をクリックします。
  3. 表示するイメージの名前、または [表示] をクリックします。
  4. (「エラスティック イメージ設定の作成」の下にある) パネルに、カスタム エラスティック イメージの詳細を入力します。詳細は上記のセクションをご覧ください。
  5. You now have a new elastic image configuration based on an existing elastic image. Follow the procedure on Configuring elastic agent capabilities to customise this elastic image's agent capabilities.