AppConfig - production console guide
AWS AppConfig delivers application configuration and feature flags with controlled deployment strategies (linear, canary, all-at-once) - reducing risk vs editing SSM parameters by hand.
Freeform patterns: AppConfig freeform · Checklist S3/AppConfig
Checklist: DevOps checklist
Use cases
| Case | AppConfig feature |
|---|---|
| Feature toggle | Boolean flag per environment |
| Config without redeploy | JSON/YAML hosted configuration |
| Emergency kill switch | Rapid deployment to 100% with validation |
| Lambda/ECS dynamic config | Poll AppConfig agent or API |
Console - application & environment
- AWS Systems Manager → AppConfig (or AppConfig console).
- Create application → name
shopflow-api. - Create environment →
production,staging. - Configuration profile → hosted (freeform) or feature flags.
Console - deployment strategy
- Deployment strategies → Create.
- Choose Linear (e.g. 20% every 10 minutes) or Canary for prod.
- Attach strategy to environment deployment.
Console - deploy configuration version
- Create hosted configuration version (upload JSON).
- Start deployment → select environment + strategy.
- Monitor Deployment status until complete; rollback if validators fail.
Example JSON (feature flags)
{
"checkoutEnabled": true,
"maxCartItems": 50,
"paymentProvider": "stripe"
}
IAM
Application callers need:
{
"Effect": "Allow",
"Action": [
"appconfig:GetLatestConfiguration",
"appconfig:StartConfigurationSession"
],
"Resource": "*"
}
Scope by application ARN in production. CI role needs appconfig:CreateHostedConfigurationVersion, StartDeployment.
Security
- Use validators (JSON Schema, Lambda) before rollout.
- Encrypt sensitive values - prefer Secrets Manager for secrets, AppConfig for non-secret toggles.
- CloudWatch alarms on deployment failure.
Commonly missed
| Miss | Impact |
|---|---|
| No deployment strategy in prod | Instant blast radius |
| Clients cache forever | Stale config - implement version polling |
| Same profile for all envs | Accidental prod toggle |
| Missing IAM on sidecar/agent | Silent default config |
Troubleshooting
- Deployment stuck: validator Lambda errors in CloudWatch.
- App not picking up: session token expiry; confirm
application,environment,configuration profileIDs.
Docs: AppConfig