Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Google Cloud Platform icon
Labs

Auditing Resource Compliance with AWS Config

In this hands-on lab, we'll implement AWS Config rules and use AWS Config for compliance auditing and remediation. We will configure compliance rules for evaluating the EC2 instance type, whether S3 versioning is enabled, EC2 instances in a VPC, and whether CloudTrail is enabled. These rules will give us firsthand knowledge of how the AWS Config service works. We will then explore the configuration management aspect of AWS Config.

Google Cloud Platform icon
Labs

Path Info

Level
Clock icon Intermediate
Duration
Clock icon 1h 45m
Published
Clock icon May 10, 2019

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Enable AWS Config

    Set up AWS Config so that it uses an existing AWS Config service-linked role. Ensure the delivery method creates an S3 bucket.

  2. Challenge

    Configure Rules for Resources

    1. Add an AWS managed rule for cloudtrail-enabled.
    2. Add an AWS managed rule for desired-instance-type that checks whether your EC2 instances are t2.micro.
    3. Add an AWS managed rule for ec2-instances-in-vpc that checks whether your EC2 instances belong to the VPC provided with the lab.
    4. Add an AWS managed rule for s3-bucket-versioning-enabled.
  3. Challenge

    Configure the Non-Compliant Resources to Comply

    1. Open CloudTrail and create a new trail named ConfigTrail. Store it in a new S3 bucket.
    2. Open S3 and edit the settings on your buckets to make the s3-bucket-versioning-enabled rule compliant.
  4. Challenge

    Reevaluate the Non-Compliant Rules in AWS Config

    1. Reevaluate the S3 bucket rule.
    2. Wait for the S3 rule to become compliant.
    3. Reevaluate the CloudTrail rule.
    4. Wait for the CloudTrail rule to become compliant.

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

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.

Start learning by doing today

View Plans