0
0
AWScloud~30 mins

AWS Config for compliance - Mini Project: Build & Apply

Choose your learning style9 modes available
AWS Config for compliance
📖 Scenario: You are working as a cloud engineer for a company that needs to ensure its AWS resources comply with internal security policies. You will create an AWS Config setup to track compliance of EC2 instances and S3 buckets.
🎯 Goal: Build an AWS Config setup that records configuration changes for EC2 instances and S3 buckets, and creates a compliance rule to check if S3 buckets have versioning enabled.
📋 What You'll Learn
Create an AWS Config recorder that records EC2 instances and S3 buckets
Create an S3 bucket to store AWS Config logs
Create an AWS Config delivery channel to deliver configuration snapshots and notifications
Create an AWS Config managed rule to check S3 bucket versioning compliance
💡 Why This Matters
🌍 Real World
AWS Config helps organizations continuously monitor and record their AWS resource configurations to ensure compliance with security and operational policies.
💼 Career
Cloud engineers and security professionals use AWS Config to automate compliance auditing and improve cloud governance.
Progress0 / 4 steps
1
Create the AWS Config recorder
Create an AWS Config recorder named configRecorder that records the resource types AWS::EC2::Instance and AWS::S3::Bucket.
AWS
Need a hint?

Remember to create an IAM role with a trust policy for AWS Config service and attach the AWS managed policy AWSConfigRole.

2
Create the S3 bucket for AWS Config logs
Create an S3 bucket named config-logs-bucket to store AWS Config logs. Enable versioning on this bucket.
AWS
Need a hint?

Enable versioning on the S3 bucket to keep track of changes to the logs.

3
Create the AWS Config delivery channel
Create an AWS Config delivery channel named configDeliveryChannel that delivers configuration snapshots and notifications to the S3 bucket config-logs-bucket.
AWS
Need a hint?

The delivery channel sends configuration snapshots to the S3 bucket you created.

4
Create AWS Config rule for S3 bucket versioning compliance
Create an AWS Config managed rule named s3-bucket-versioning-enabled that checks if S3 buckets have versioning enabled.
AWS
Need a hint?

Use the AWS managed rule identifier S3_BUCKET_VERSIONING_ENABLED to check bucket versioning compliance.