AWS · Management and Governance

AWS Config

Records how your AWS resources are configured over time and evaluates them against rules, for compliance and change tracking.

On the SAA-C03 exam listAuditing and complianceAutomation

What it is and what problem it solves

AWS Config records configuration items for your resources (security groups, buckets, instances, IAM roles and many more) whenever they change, building a history and a map of relationships. Config rules (AWS managed or your own Lambda or Guard rules) evaluate resources continuously, flag non-compliant ones, and can trigger remediation through Systems Manager Automation. Conformance packs bundle rules, and aggregators combine data across accounts and Regions.

Someone changesa security groupCloudTrailWHO did WHAT, WHEN (API call)AWS ConfigWHAT it looked like before/afterS3 + log validationCloudTrail Lake for SQLConfig rule: NON_COMPLIANT→ auto-remediate
CloudTrail records the API call; Config records the resource's configuration and judges compliance

When to use it

  • You must prove resources stay compliant (for example, all buckets encrypted, no public SSH).
  • Tracking what a resource looked like at a point in time and what changed.
  • Automatic correction of common misconfigurations.

When to avoid it

  • Who made a change: CloudTrail (Config links to the relevant CloudTrail events).
  • Preventing changes before they happen: service control policies and IAM; Config detects after the fact (proactive rules exist for some checks in infrastructure as code).

Limits and quotas

ItemValueContextSource
Config rules per Region per account 1,000
Fixed limit
Source
checked
Conformance packs per account 50
Fixed limit
Source
checked

Quotas and limits change. Check the linked source before designing around a number.

Cost model

What you pay for

Per configuration item recorded, per rule evaluation, and per conformance pack evaluation.

Where it is cost-efficient

Recording the resource types you need with periodic recording for noisy types.

Where costs grow

Recording every resource type continuously in busy accounts (frequent changes create many items) and many rules over large fleets.

Cost controls and common surprises

Exclude noisy resource types, use periodic recording where acceptable, and consolidate rules into conformance packs.

Prices differ by Region and change over time; see the pricing page linked under Sources.

Security

Controls the service provides

Continuous evaluation, remediation actions, and organisation-wide deployment.

What you configure

Choose rules that reflect your policies, protect the delivery bucket, and review non-compliant resources.

Logging and monitoring

Configuration history and snapshots delivered to S3; notifications through SNS or EventBridge.

Related security services

Security Hub (uses Config), Systems Manager Automation, CloudTrail, Organizations.

Shared responsibility

AWS records and evaluates. You decide the rules and fix findings.

Common service combinations

Security Hub standards, Systems Manager remediation, Organizations aggregators, Control Tower detective controls.

Business application examples

  • Any S3 bucket that becomes public is flagged and automatically blocked again.

Exam cues and common confusions

  • Configuration history and compliance of resources: Config. Who called the API: CloudTrail.
  • Automatically fix non-compliant resources: Config rules with Systems Manager Automation remediation.

Related

Courses and lessons

Services, comparisons and patterns

Sources

Independent study material, not affiliated with or endorsed by Amazon Web Services. AWS and service names are trademarks of Amazon.com, Inc. or its affiliates.

Last reviewed · By the ByteCamel team · How we write content

Was this page helpful?

Report a mistake