AutoScaleLaunchConfig関連コマンド

■Lanch Config登録
new_launch_config=<LaunchConfig>
as_group=<AutoScaleGroup>
as-create-launch-config  "$new_launch_config" --image-id <AMIID> --instance-type <INSTANCE_TYPE> --region <REGION> --key <PEM_KEY> --group $as_group --user-data 'A=xxx
B=yyy
C=zzz'
 
■Launch Config参照
as-describe-launch-configs --region ap-northeast-1 -H --max-records 100
 
■Launch Config削除
as-delete-launch-config <LaunchConfig>

タグ:

AWS
最終更新:2013年12月18日 10:31