Choosing Configuration Management Services
Several AWS services manage configuration, and the exam asks you to determine the optimal one for a requirement. The services overlap in name but differ in what they configure and how. This lesson compares Systems Manager State Manager and Parameter Store, AWS Config, AWS AppConfig, AWS Secrets Manager, CloudFormation and the retired AWS OpsWorks, and gives a method for selecting between them.
Learning outcomes
After completing this lesson, you will be able to:
- Distinguish between infrastructure configuration, server configuration, application configuration and configuration auditing.
- Compare Systems Manager, AWS Config, AWS AppConfig, Secrets Manager, CloudFormation and OpsWorks by purpose.
- Explain how Parameter Store hierarchies, versions, labels and policies support configuration data.
- Choose the appropriate service or combination for a configuration management scenario.
Four Kinds of Configuration
"Configuration management" is one of the most overloaded phrases in operations. An exam scenario that asks for "the best configuration management service" may be about the size of a database, the agents installed on a fleet, a timeout value inside an application or proof that encryption was enabled last March. Each of these is configuration, but they live in different places, change at different speeds and fail in different ways, so AWS provides a different service for each. Separating the concerns is therefore the first step, and the service choice usually follows directly.
Infrastructure configuration describes which AWS resources exist and how they are set up: a VPC's subnets, an Auto Scaling group's instance type, a bucket's encryption. It changes through deliberate releases and is best expressed as code, so that every environment is built from the same reviewed definition. Server configuration is everything inside an instance: the operating system patches, packages, agents, files and running services. It drifts constantly, because people log in and change things, so it needs a mechanism that reapplies the intended state rather than a one-time script.
Application configuration is the set of values an application reads while it runs, such as limits, endpoints and feature flags. It changes most often and with the least ceremony, which makes it a frequent cause of outages, so it needs validation and gradual rollout. Configuration auditing and compliance is different from the other three: it does not set anything, but records what the configuration was and judges whether it was acceptable, which is what auditors and security teams need. The following list maps each concern to the services that manage it.
- Infrastructure configuration: which AWS resources exist and how they are set up. Managed with IaC: CloudFormation, the CDK and SAM.
- Server configuration: the operating system, packages, agents, files and services on instances. Managed with Systems Manager State Manager, Run Command, Patch Manager and Distributor, or golden AMIs.
- Application configuration: values that applications read at run time, such as limits, endpoints and feature flags. Stored in Parameter Store or Secrets Manager and deployed safely with AWS AppConfig.
- Configuration auditing and compliance: recording what the configuration was and whether it complies. Provided by AWS Config, which observes and evaluates but does not itself configure resources, apart from remediation actions.
Parameter Store for Configuration Data
Parameter Store appears in many designs as a simple, central store for configuration values. Its features for configuration management are described below.
- Hierarchies: names such as
/orders/prod/db/endpointorganise parameters by application and environment.GetParametersByPathretrieves a whole subtree, and IAM policies can grant access by path. - Versions and labels: every change creates a version; labels such as
approvedcan be attached to a version and referenced asname:label, so consumers can pin a reviewed version. - Parameter policies (advanced tier): expiration, expiration notification and no-change notification policies, which emit EventBridge events, for example when a value has not been rotated.
- Change events: parameter changes emit EventBridge events, so a change can trigger a deployment or a cache refresh.
- Public parameters: AWS publishes values such as the latest AMI IDs and Region information.
- Integration: CloudFormation parameter types and dynamic references, CodeBuild environment variables, ECS and EKS secrets, Lambda extensions and AppConfig sources all read Parameter Store.
Comparing the Services
The services also differ in how a change takes effect, and this is often what an exam question turns on. CloudFormation, the CDK and SAM apply a change when a stack is created or updated, so the change happens once, at a moment the team chooses. State Manager reapplies an association on a schedule, so a server that drifts is corrected automatically at the next run. Parameter Store and Secrets Manager do not push anything: they hold values that consumers read when they need them, and Secrets Manager adds automatic rotation. AppConfig pushes a new configuration version gradually, validates it first and rolls it back if an alarm fires.
AWS Config is the exception, because it observes rather than configures. It records each resource's configuration over time and evaluates it against rules, and it changes a resource only when a remediation action runs a Systems Manager runbook. AWS OpsWorks, which provided managed Chef and Puppet servers, reached end of life in May 2024; it still appears in the exam guide, so it should be recognised in older scenarios, but State Manager is the current answer for desired-state server configuration. The table below compares the services by what they manage, how changes are applied and their typical exam use.
| Service | Manages | How changes are applied | Typical exam use |
|---|---|---|---|
| AWS CloudFormation, CDK, SAM | AWS resources | Stack create and update from templates | Provisioning and changing infrastructure consistently |
| Systems Manager State Manager | Server state | Associations reapplied on a schedule | Keeping agents, software and settings in a desired state |
| Systems Manager Patch Manager | Operating system patches | Scan and install with baselines | Automated patching and compliance |
| Systems Manager Parameter Store | Configuration values and simple secrets | Read by consumers on demand | Central values for builds, templates and applications |
| AWS AppConfig | Application configuration and feature flags | Validated, gradual deployments with rollback | Changing runtime behaviour safely without redeploying |
| AWS Secrets Manager | Secrets | Rotation and retrieval | Credentials that must rotate |
| AWS Config | Records and evaluates resource configuration | Observes; remediation runs runbooks | Compliance, audit history and drift of AWS resources |
| AWS OpsWorks (end of life) | Chef and Puppet managed configuration | Not available | Recognise in older scenarios; replace with State Manager |
A selection method
Ask what is being configured. If it is an AWS resource, use IaC. If it is software on a server, use State Manager. If it is a value an application reads at run time and changes must be safe, use AppConfig. If the question is whether something is compliant or what it looked like in the past, use AWS Config.
Choose the configuration service
Common Combinations
Real designs combine services, because each one covers only part of the problem. A detection service such as AWS Config needs a remediation mechanism to act on what it finds; a template needs a place to read environment-specific values from; a configuration value needs a safe way to be deployed. Exam answers therefore often name a combination, and recognising the common pairings helps to eliminate options that solve only half of a requirement. Typical combinations are listed below.
- AWS Config with Systems Manager Automation: detect drift or non-compliance and remediate automatically.
- CloudFormation with Parameter Store: templates read environment values and AMI IDs from parameters, so one template serves all environments.
- AppConfig with Parameter Store or Secrets Manager: AppConfig deploys values stored in those services with validation and gradual rollout.
- State Manager with Distributor and Parameter Store: install the CloudWatch agent and configure it from a parameter on every instance.
- AWS Config with CloudFormation drift detection: the managed rule detects stacks whose resources have drifted from their templates.
Matching Requirements to Services
An operations team lists five requirements. The table shows the service chosen for each and why.
| Requirement | Service | Reason |
|---|---|---|
| Keep the antivirus agent installed and running on all instances | State Manager association with a Distributor package | Desired state reapplied on a schedule |
| Enable a new checkout feature for 5% of users, with rollback on errors | AppConfig feature flag with an alarm-monitored strategy | Safe, gradual change to runtime behaviour |
| Prove to auditors which S3 buckets were public during the last year | AWS Config history and rules | Records configuration over time |
| Use the same template in four environments with different instance sizes | CloudFormation with Parameter Store values | IaC with externalised values |
| Rotate the database password every 30 days | Secrets Manager | Built-in rotation |
A team wants application timeouts to change without redeploying, with invalid values rejected and changes rolled back if latency alarms fire. Is Parameter Store alone sufficient?
Show answer
No. Parameter Store stores the value, but it has no validation, gradual deployment or alarm-based rollback. AWS AppConfig provides these, and it can use the Parameter Store parameter as its source.
Exam Tips
Remember for the exam
- Infrastructure: CloudFormation, CDK, SAM. Server state: State Manager, Patch Manager. Runtime application configuration: AppConfig with Parameter Store or Secrets Manager. Compliance and history: AWS Config.
- Parameter Store supports hierarchies, versions, labels, advanced-tier policies and EventBridge change events.
- AWS Config observes and evaluates; it configures resources only through remediation actions.
- AWS OpsWorks is end of life; choose State Manager for desired-state configuration.