Cloud AWS - CloudFormation

Voir :

https://medium.com/boltops/a-simple-introduction-to-aws-cloudformation-part-1-1694a41ae59d

https://www.youtube.com/watch?v=qBWd5K0GIkA

https://docs.aws.amazon.com/fr_fr/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-instance.html

Voir aussi : FIXME2

Troposphere

wget https://s3-eu-west-1.amazonaws.com/cloudformation-templates-eu-west-1/EC2InstanceWithSecurityGroupSample.template mv EC2InstanceWithSecurityGroupSample.template single-instance.json python -c 'import sys, yaml, json; yaml.safe_dump(json.load(sys.stdin), sys.stdout, default_flow_style=False)' < single-instance.json > single-instance.yml aws cloudformation create-stack --template-body file://single-instance.yml --stack-name single-instance --parameters ParameterKey=KeyName,ParameterValue=admin@be-poc-build01 ParameterKey=InstanceType,ParameterValue=t2.micro ParameterKey=VPC,ParameterValue=vpc-0e2a03558daf2e463 ParameterKey=Subnets,ParameterValue=subnet-0d63fcd2f893bbb9b aws cloudformation delete-stack --stack-name single-instance