Various scripts for spinning up AWS infrastructure.
cd cloud-formation
aws s3 sync . s3://dliggat-cf --delete
aws cloudformation create-stack --stack-name dliggat-nginx \
--template-url https://s3-us-west-2.amazonaws.com/dliggat-cf/static-nginx.template
aws cloudformation delete-stack --stack-name dliggat-nginx
aws cloudformation create-stack --stack-name dliggat-nginx \
--template-url https://s3-us-west-2.amazonaws.com/dliggat-cf/static-nginx.template \
--parameters ParameterKey=SSHKey,ParameterValue=gsg-keypair
Added msyql
to the yum section => update installed it. (Note: parameters still need to be specified if they were overridden on creation).
aws cloudformation update-stack --stack-name dliggat-nginx \
--template-url https://s3-us-west-2.amazonaws.com/dliggat-cloud-formation/static-nginx.template \
--parameters ParameterKey=SSHKey,ParameterValue=gsg-keypair