4177. AWS-CloudFormationAWS and Load Balancer
Create AWS and third party resources with CloudFormation.
1.1 What is CloudFormation?
AWS CloudFormation provides a common language for you to model and provision AWS and third party application resources in your cloud environment. AWS CloudFormation allows you to use programming languages or a simple text file to model and provision, in an automated and secure manner, all the resources needed for your applications across all regions and accounts. This gives you a single source of truth for your AWS and third party resources.
- CloudFormation is a way of completely scripting your cloud environment.
- Quick Start is a bunch of CloudFormation templates already built by AWS Solutions Architects allowing you to create complex environments very quickly.
2. Lab - CloudFormation
2.1 Creating Cloudformation
Go to Services->Management & Governance->CloudFormation, create stack. Choose ‘Use a sample template’ option, and select WordPress blog template. Set name and database parameters. Add tag, next, review and create. It is created. Wait for a while, the creation is completed. We see some web servers and security groups are created. Switch to the Outputs tab, hit the link. We should see the word press configuration page. WordPress site is ready to use. Switch to Resources tab. Notice that only web server and security group are created. There is no RDS is created. You can confirm this by going to RDS to see if there is any new instance is launched. Only one EC2 instance we can find.
- Visit https://aws.amazon.com/quickstart/?quick to see available templates.