Documentation for Bamboo 4.0.x. Documentation for earlier versions of Bamboo is available too.

After you have selected an existing AMI to customise, the next step is to start an instance of the AMI.Use the ec2-run-instances command to start your instance, as follows:

$EC2_HOME/bin/ec2-run-instances <image_name> -k <key_pair_name>

where <image_name> is the name of the AMI selected in the previous step and <key_pair_name> is the name of the registered key pair generated previously (see '1. Requirements of 'Creating a custom elastic image'). Please note, the public certificate of this key will be injected into your instance.

たとえば、キー ペア my-keypair を使用してイメージ ami-e55bbd8c のインスタンスを起動する場合は、次のコマンドを実行します。

$EC2_HOME/bin/ec2-run-instances ami-e55bbd8c -k my-keypair

このコマンドのコマンド ライン出力は次のとおりです。

INSTANCE i-25b86743 ami-e55bbd8c running my-keypair

i-25b86743 is the name of your new instance, in the above example. Note this down, as you will need the instance name to access your instance (see 'Accessing your Instance' in 'Creating a custom elastic image') in the next step.

使用されていないインスタンスをシャットダウンすることを忘れないでください。

 

Please note, once you start an instance, you will be billed by Amazon for instance uptime. If you decide to abandon the setup of a custom elastic image after this step, please ensure that you shut down your instance via the AWS console.

  • ラベルなし