cd /usr/local/src
sudo wget http://ec2-downloads.s3.amazonaws.com/AutoScaling-2011-01-01.zip
sudo unzip AutoScaling-2011-01-01.zip
sudo mv AutoScaling-1.0.61.6 /usr/local/share/aws/
cp /usr/local/share/aws/AutoScaling-1.0.61.6/credential-file-path.template ~/.ssh/aws-credential-file-path
.bash_profileに次を追記
export AWS_AUTO_SCALING_HOME=/usr/local/share/aws/AutoScaling-1.0.61.6
export PATH=$PATH:$AWS_AUTO_SCALING_HOME/bin
export AWS_CREDENTIAL_FILE=/home/shida/.ssh/aws-credential-file-path
launch-config, scaling-groupの作成
as-create-launch-config example-lc --image-id ami-xxxxxxxx --instance-type t1.micro --group wellknown,default
as-create-auto-scaling-group example-sg --launch-configuration example-lc --availability-zones ap-northeast-1a --min-size 1 --max-size 1 --load-balancers example-elb
っていうか管理画面から出来るようになってるやん orz