- Lab
- A Cloud Guru
Continuous Compliance and Automated Incident Response with AWS CodePipeline and AWS Config
AWS Config is a service that enables you to assess, audit, and evaluate the configurations of your AWS resources. Config continuously monitors and records your AWS resource configurations and allows you to automate the evaluation of recorded configurations against desired configurations. In this hands-on lab, we will leverage AWS Config to monitor resources deployed from our AWS CodePipeline to ensure they meet our company's compliance standards. If AWS Config finds any violations, it will notify us by email through Amazon Simple Notification Service.
Path Info
Table of Contents
-
Challenge
Create an AWS Config Rule
- Navigate to AWS Config.
- Create an AWS Config rule.
- Select the s3-bucket-level-public-access-prohibited rule.
-
Challenge
Create an AWS Simple Notification Service Subscription
- Navigate to Simple Notification Service.
- Create a subscription to existing topic.
- Confirm subscription.
-
Challenge
Create an AWS IAM Role
- Navigate to Identity and Access Management.
- Create an IAM role.
- Select AWS CloudFormation.
- Choose permissions.
- Name role.
-
Challenge
Create an AWS CodeCommit Repository
- Navigate to CodeCommit.
- Create an AWS CodeCommit repository.
- In a terminal session, run the command
git clone https://github.com/ACloudGuru-Resources/content-aws-continous-compliance
to clone the repo to your local workstation or laptop. - Upload
s3.json
to AWS CodeCommit repository and commit changes.
-
Challenge
Create an AWS CodePipeline
- Navigate to CodePipeline.
- Create a pipeline.
- Name the pipeline.
- Select the AWS CodeCommit repository you previously created.
- Skip Build.
- Select AWS CloudFormation for deployment type.
- Create or update stack.
- Name the stack.
- Enter the service role name you previously created.
What's a lab?
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.