baseline instance is an ubuntu
aws ec2 describe-instances aws ec2 run-instances --image-id ami-f6b11181 --count 1 --instance-type m3.medium --key-name MyKeyPair --security-groups KB+ --key KBPlus
See: http://docs.aws.amazon.com/AWSEC2/latest/CommandLineReference/ApiReference-cmd-RunInstances.html
Connect to new instance and
apt-get install puppet puppet-module-puppetlabs-apt git puppet apply -v KBPLUS/conf-hints/puppet/baseline.pp # create new launch config as-create-launch-config kbplus_4_0_0 \ --image-id 'ami-xxxxxxxx' --instance-type m1.small \ --group web,asg-www --user-data "..." # update my asg to use new config as-update-auto-scaling-group www-asg --launch-configuration kbplus_4_0_0
There was an error while loading. Please reload this page.