AWS Config
Cloud service · AWS · Updated

AWS Config

In short

AWS Config is a service that enables you to assess, audit, and evaluate the configurations of your AWS resources, providing a detailed view of their compliance with the configurations specified by your internal guidelines and regulatory standards.

Cloud Services Hub →

9 key features of AWS Config

AWS Config offers automated configuration recording, continuous monitoring, compliance auditing, change management, security analysis, and integrates with other AWS services for comprehensive infrastructure management and monitoring.

01
Configuration Recording

AWS Config automatically records software and hardware configurations of your AWS resources, enabling you to assess, audit, and evaluate the configurations of your AWS resources.

02
Continuous Monitoring

It continuously monitors and records your AWS resource configurations, allowing for detection of deviations from desired configurations and enabling quick remediation.

03
Compliance Auditing

AWS Config supports compliance auditing by recording and assessing the configurations of your AWS resources against desired configurations, facilitating governance, and compliance.

04
Change Management

It provides a detailed view of the changes in your AWS environments, helping in change management by recording when and how configurations are altered.

05
Security Analysis

AWS Config improves security by enabling the analysis of configurations and relationships between AWS resources, identifying potential security weaknesses.

06
Integration with AWS Services

It seamlessly integrates with other AWS services, like CloudTrail for audit trails, enabling comprehensive infrastructure monitoring and management.

07
Conformance Packs

Conformance packs group AWS Config rules into a collection that can be deployed and monitored as a single entity in your AWS account.

08
Multi-Account, Multi-Region Aggregation

An aggregator collects AWS Config configuration and compliance data from multiple AWS accounts and Regions into a single account and Region, providing a centralized view of resource inventory and compliance.

09
Advanced Queries

AWS Config supports sample queries and custom queries written using the configuration schema of an AWS resource.

Where AWS Config is used

AWS Config is utilized for compliance monitoring, change management, security analysis, inventory and resource management, and disaster recovery planning, enabling organizations to maintain secure, optimized, and compliant cloud environments.

  1. 01
    Compliance Monitoring

    AWS Config allows organizations to continuously monitor and record their AWS resource configurations to ensure compliance with internal policies and external regulations. It can automatically evaluate the recorded configurations against desired guidelines, making it easier for companies to adhere to compliance standards such as HIPAA, PCI-DSS, and GDPR.

  2. 02
    Change Management

    With AWS Config, businesses can enhance change management processes by providing a detailed view of the historical changes across their AWS environment. This visibility helps in understanding the impact of changes, auditing changes against organization policies, and troubleshooting operational issues by pinpointing when and how configurations were altered.

  3. 03
    Security Analysis

    AWS Config aids in security analysis by detecting and evaluating changes in configurations that might lead to security weaknesses or vulnerabilities. By setting up rules to check for undesired configurations, such as overly permissive security groups or improperly configured S3 buckets, teams can proactively identify and remediate security risks.

  4. 04
    Inventory and Resource Management

    Leveraging AWS Config, organizations can maintain a complete inventory of their AWS resources and their current and historical configurations. This detailed inventory supports efficient resource management, optimization of costs, and ensuring resources are correctly deployed and utilized according to organizational needs and policies.

  5. 05
    Disaster Recovery Planning

    AWS Config plays a crucial role in disaster recovery planning by maintaining a configuration history of AWS resources, which can be critical in reconstructing the IT infrastructure after a disaster. This configuration history helps in quickly identifying the most recent and stable configurations to restore services to their last known good state.

How AWS Config is priced

AWS Config pricing is primarily based on the number of rule evaluations, configuration items recorded, and the specific AWS Config Rules applied to the user’s environment.

Rule Evaluations

AWS Config charges based on the number of evaluations performed. Prices are calculated per evaluation, with costs varying by region.

Configuration Items

Charges are incurred for each configuration item recorded in your AWS environment. This includes changes in configurations and relationships between resources, priced per number of configuration items recorded.

AWS Config Rules

Charges for custom and AWS managed rules are based on the number of rule evaluations performed. The cost varies depending on how frequently the rules are triggered and evaluated.

Conformance Pack Evaluations

AWS Config charges per conformance pack evaluation in each AWS account and Region using tiered pricing. An evaluation is the evaluation of a resource by an AWS Config rule within the conformance pack.

Services AWS Config works with

Amazon API GatewayAmazon API Gateway

AWS Config records supported API Gateway APIs and stages and evaluates settings such as access logging, encryption, authorization, and endpoint exposure.

Amazon AppFlowAmazon AppFlow

AWS Config records AppFlow flow configurations so you can track changes and evaluate whether flows meet your configuration requirements.

Amazon AthenaAmazon Athena

AWS Config records Athena workgroups and data catalogs and can check workgroup settings such as encryption. Athena can also query AWS Config configuration history delivered to Amazon S3.

Amazon AuroraAmazon Aurora

AWS Config tracks Aurora DB cluster and instance configurations and evaluates requirements such as encryption, backup retention, deletion protection, and restricted public access.

Amazon Aurora ServerlessAmazon Aurora Serverless

AWS Config records the underlying Aurora DB cluster configuration for Aurora Serverless databases, allowing you to audit changes and evaluate applicable database compliance rules.

Amazon Bedrock

AWS Config records supported Bedrock resources, including agents, knowledge bases, and guardrails, so their configurations can be audited and evaluated for compliance.

Amazon CloudFrontAmazon CloudFront

AWS Config tracks CloudFront distributions and supported configuration resources. Managed rules can evaluate requirements such as HTTPS enforcement, access logging, and association with AWS WAF.

Amazon CloudWatchAmazon CloudWatch

AWS Config publishes operational metrics to CloudWatch and records supported CloudWatch resources such as alarms. CloudWatch Observability Admin also uses service-linked AWS Config recorders to discover and audit telemetry configurations.

Amazon CodeGuruAmazon CodeGuru

AWS Config records supported CodeGuru resources, including Reviewer repository associations and Profiler profiling groups, providing configuration history for auditing.

Amazon CognitoAmazon Cognito

AWS Config tracks supported Cognito user pool and identity pool resources. Config rules can evaluate requirements such as user pool password policies and multi-factor authentication.

Alternatives to AWS Config in other clouds

Azure

Azure Policy

AWS Config and Azure Policy assess resource configurations against built-in or custom rules and report compliance. AWS Config can check supported configurations before provisioning and charges for recorded items and evaluations, while Azure Policy can block noncompliant creates or updates and provides resource-level governance for Azure resources at no additional charge.

Compare fact by fact
AWS ConfigAzure Policy
Deployment guardrailsChecks before provisioningDenies noncompliant creates or updates
Resource-level billingPer recorded item and evaluationNo extra charge for Azure resources
Compared Nov 2026

What is AWS Config

3 min read

AWS Config is a fully managed service provided by Amazon Web Services (AWS) that enables you to assess, audit, and evaluate the configurations of your AWS resources. It is designed to help you manage your cloud resources more effectively by providing a detailed view of their configurations and how they change over time. AWS Config does this by continuously monitoring and recording your AWS resource configurations and allowing you to automate the evaluation of recorded configurations against desired configurations. 

Periodic recording is also available: it delivers configuration data once every 24 hours, only if a change has occurred, and can be useful for operational planning or audit.

You can specify which resource types AWS Config records.

With AWS Config, you can understand the detailed configuration history of your AWS resources, which can be instrumental in security analysis, change management, and compliance auditing. It tracks changes in the environment, such as creation, modification, and deletion of AWS resources, and captures these changes as configuration items. Each configuration item represents a point-in-time snapshot of the various attributes of a resource, which can include relationships with other AWS resources, current configuration settings, and other relevant metadata. 

AWS Config operates across your AWS environment, making it possible to get a unified view of your resources and their states across the AWS ecosystem. This broad visibility aids in identifying resources that are not compliant with your organization's policies or that deviate from best practices. For example, if a security group is configured in a way that exposes your resources to the internet, AWS Config can help identify this configuration for remediation. 

One of the powerful features of AWS Config is its ability to define rules that represent your ideal configuration states. These rules can be custom defined or selected from a set of AWS-managed rules that represent common compliance scenarios and best practices. AWS Config evaluates your resources against these rules and reports on compliance, making it easier to maintain security, governance, and regulatory compliance standards. 

AWS Config supports a maximum of 1,000 rules per account per Region; this quota cannot be increased.

Supported AWS Config rules can evaluate resource configurations before provisioning using proactive mode. Rules can be configured for proactive-only evaluation, detective-only evaluation, or both modes.

In addition to compliance monitoring, AWS Config facilitates change management by providing a detailed audit trail of configuration changes. This feature is particularly valuable in troubleshooting operational issues or understanding the impact of changes over time. By enabling a detailed view of how resources were configured at specific points in time, AWS Config aids in root cause analysis and helps improve operational efficiency. 

For organizations operating in environments that are subject to regulatory requirements, AWS Config simplifies compliance auditing. By providing a detailed record of the configuration of AWS resources and changes over time, it supports audits by demonstrating how resources were configured and how they complied with policies at different points in time. 

In conclusion, AWS Config is a powerful tool for organizations looking to improve their cloud management practices. By providing comprehensive visibility into resource configurations and changes, facilitating compliance and governance, and aiding in operational troubleshooting, AWS Config helps organizations manage their AWS environments more effectively, securely, and in compliance with their policies and regulatory standards.

Concepts related to AWS Config

AWS Config exam questions

Real practice exam questions on AWS Config, with the correct answer and its explanation. Answer them with every option in the exam simulator.

AIF-C01

A company uses IAM user access keys for a legacy application that prepares AI training data. Its governance policy requires active access keys to be rotated within 90 days. The compliance team needs an automated check that flags keys exceeding this limit, even when no resource configuration changes occur. The team does not want to write custom evaluation code. Which solution best meets these requirements?

Show answerCORRECT ANSWER

Deploy the AWS Config managed rule access-keys-rotated with maxAccessKeyAge set to 90 and use its periodic compliance evaluations.

This managed rule checks whether active IAM user access keys have been rotated within the specified number of days. Its periodic evaluations can identify keys that become noncompliant as they age, without requiring configuration changes or custom code.

MLA-C02

A company operates Amazon SageMaker notebook instances in several AWS accounts and Regions. Its security policy requires direct internet access to be disabled on every notebook instance. The security team needs to assess existing instances, reevaluate compliance when configurations change, and retain configuration history for audits. A central security account must display compliance results across all accounts and Regions. The solution must use managed capabilities with the least custom code. Which solution best meets these requirements?

Show answerCORRECT ANSWER

Enable continuous AWS Config recording for SageMaker notebook instances in each workload account and Region. Deploy the managed sagemaker-notebook-no-direct-internet-access rule in each location, and configure an organization aggregator in the central security account.

AWS Config records notebook configuration history, and the managed rule evaluates whether direct internet access is disabled. Recording and rule evaluation must operate in the source accounts and Regions. An organization aggregator provides a centralized view of their configuration and compliance data without requiring custom evaluation code.

SAP-C03

A company manages Amazon EBS volumes across several AWS accounts. Its storage policy permits only specific combinations of volume type, provisioned IOPS, and throughput. The approved combinations change periodically and must be maintained as declarative policy in version control. No AWS Config managed rule implements the complete policy.

AWS Config continuously records EBS volumes and several other resource types in every affected account and Region. Operations engineers must retain permission to modify volumes directly through the EC2 API. The company needs compliance results to be refreshed when AWS Config detects volume configuration changes, including changes made outside infrastructure deployment pipelines. Changes to unrelated resource types must not initiate evaluations of this policy. The platform team does not want to maintain a custom evaluation function or a polling process.

Which solution meets these requirements?

Show answerCORRECT ANSWER

Deploy an AWS Config Custom Policy rule with detective evaluation enabled. Express the approved combinations in CloudFormation Guard, use configuration changes as the trigger, and scope the rule to AWS::EC2::Volume.

AWS Config Custom Policy rules use the CloudFormation Guard DSL to evaluate resource configurations without a custom evaluation function. Detective evaluations are initiated by configuration changes. Scoping the rule to AWS::EC2::Volume ensures that only changes to matching volumes initiate evaluations, including changes made directly through the EC2 API.

Practice AWS Config in a full exam

Questions on AWS Config in each practice exam, with every answer option and an explanation for each:

Start a free practice exam

Learn AWS Config in lessons

30 short lessons on AWS Config in 9 certification courses.

and 24 more lessons

Open the lessons

AWS architecture icons are the property of Amazon Web Services. BlowStack is not affiliated with or endorsed by AWS.