In this hands-on lab, we will use AWS Config to monitor resources within an AWS environment. We will use a CloudFormation template to create an AWS Config rule to monitor the EC2 instances in an environment. The rule will detect whether instances launched in the environment comply with the instance types specified as accepted within the Config rule.
Successfully complete this lab by achieving the following learning objectives:
- Create an AWS Config Rule
In the CloudFormation console, click Create stack and create a stack with the template provided to create an AWS Config rule.
- Make EC2 Instances Compliant with Config Rule
- In the AWS Config console, view the results of the rule evaluation.
- Navigate to EC2, and change the non-compliant EC2 instances to the appropriate instance type.