The Amazon CloudFormation service allows developers to use stacks to maintain their project infrastructure according to their requirements. Developers can define AWS resources for their stacks using a template formatted for infrastructure as code, and don’t have to individually create each resource.
In this Cloud Lab, you’ll go over a predesigned CloudFormation template and use it to create a stack. This stack will comprise the security group, role, instance profile, and instance resources. You’ll then add logical resources in the existing stack to create a second security group and instance. Finally, you’ll clean up all the resources.
By the time you finish this Cloud Lab, you’ll be able to create and maintain infrastructures using CloudFormation templates. You’ll also be able to deal with infrastructure as code and easily manage external and dependent resources together.
The following is the high-level architecture diagram of the infrastructure that you will create in this Cloud Lab: