Proving Data Governance Continuously with AWS Config
This lesson explains how AWS Config records resource configurations over time and evaluates them against rules, providing continuous evidence that data resources are configured as required.
Learning outcomes
After completing this lesson, you will be able to:
- Describe what AWS Config records and evaluates.
- Identify the managed rules relevant to data platforms.
- Remediate non-compliant resources automatically.
What Config provides
Governance policies, such as "all buckets are encrypted" or "no warehouse is publicly accessible", need evidence that they are actually followed. AWS Config provides that evidence. It records the configuration of supported resources every time they change, building a timeline for each resource, so a team can see how a bucket or a Glue connection was configured at any point in the past and, combined with AWS CloudTrail, who changed it.
Config rules evaluate those configurations against requirements and mark each resource compliant or non-compliant, continuously rather than only at audit time. Conformance packs group many rules into a single deployable package, for example for a compliance framework, and can be deployed across all accounts in an organisation. Aggregators collect configuration and compliance data from many accounts and Regions into one view.
AWS Config features
Rules relevant to data platforms
AWS provides many managed Config rules, and several apply directly to data platforms. They check the controls that matter most for data: that storage is encrypted, that buckets and warehouses are not publicly accessible, and that activity is being logged. Rules evaluate resources whenever their configuration changes, so a bucket that someone makes public is reported within minutes rather than at the next audit. The following table gives examples.
| Rule | Checks |
|---|---|
s3-bucket-server-side-encryption-enabled | Buckets are encrypted |
s3-bucket-public-read-prohibited | Buckets are not publicly readable |
redshift-cluster-public-access-check | Redshift clusters are not public |
rds-storage-encrypted | RDS storage is encrypted |
cloudtrail-enabled | Activity is being logged |
The following diagram shows the AWS Config rules that check data lake buckets, their remediation and the evidence they produce.

Remediation
Detecting a non-compliant resource is only the first step. AWS Config remediation actions fix non-compliant resources by running AWS Systems Manager Automation documents, for example to turn on default encryption for a bucket or to block its public access. Remediation can run automatically as soon as a resource becomes non-compliant, or manually when someone chooses to apply it.
Automatic remediation suits changes that cannot break a workload, such as enabling encryption on a bucket. Changes that might disrupt an application, such as making a database private when an application connects to it publicly, are better handled by creating a ticket or notifying the owner, who can plan the change.
Automatic or manual remediation?
Proving that buckets stay encrypted and private
Auditors ask for evidence that every data lake bucket has been encrypted and private throughout the year. The team deploys a conformance pack across all accounts with the rules shown in the following table.
| Rule | Remediation |
|---|---|
s3-bucket-server-side-encryption-enabled | Automatic: enable default encryption |
s3-bucket-public-read-prohibited | Automatic: enable Block Public Access |
s3-bucket-versioning-enabled | Ticket to the owner |
An aggregator in the security account shows compliance for every account, and the configuration timeline shows, for any bucket, when it was non-compliant and for how long, which is the evidence auditors need.
How can rules be deployed across many accounts at once?
Show answer
With AWS Config conformance packs.
Exam Tips
Remember for the exam
- To see how a resource was configured last month, use the AWS Config timeline.
- To check continuously that all buckets are encrypted, use an AWS Config rule.
- Conformance packs deploy sets of rules across accounts.
- An aggregator gives an organisation-wide compliance view.
- Config remediation runs Systems Manager Automation documents.