From the course: AWS Essential Training for Architects

Unlock the full course today

Join today to access over 24,900 courses taught by industry experts.

CloudFormation

CloudFormation

A common use case for automation is to deploy resources consistently and repeatedly. AWS CloudFormation is used for this purpose. It allows you to create a template describing all AWS resources you want to deploy. CloudFormation then provisions and configures the resources as you described in the template. By configuring this way, you don't need to create and configure individual resources, CloudFormation handles that. Let's say you're creating a web application and want to test different scenarios. The application uses different resources such as EC2 for compute, MySQL for database, an Application Load Balancer for traffic distribution, VPC for network configuration, and Route 53 for DNS configuration. You need to deploy the application from scratch for each test scenario. You can define the resources and their configuration in a CloudFormation template. Simply run the template when you need to deploy the application. Consider another use case where you'd like to deploy your solution…

Contents