AppConfig - production console guide

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

CaseAppConfig feature
Feature toggleBoolean flag per environment
Config without redeployJSON/YAML hosted configuration
Emergency kill switchRapid deployment to 100% with validation
Lambda/ECS dynamic configPoll AppConfig agent or API

Console - application & environment

  1. AWS Systems Manager → AppConfig (or AppConfig console).
  2. Create application → name shopflow-api.
  3. Create environment → production, staging.
  4. Configuration profile → hosted (freeform) or feature flags.

Console - deployment strategy

  1. Deployment strategies → Create.
  2. Choose Linear (e.g. 20% every 10 minutes) or Canary for prod.
  3. Attach strategy to environment deployment.

Console - deploy configuration version

  1. Create hosted configuration version (upload JSON).
  2. Start deployment → select environment + strategy.
  3. 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

MissImpact
No deployment strategy in prodInstant blast radius
Clients cache foreverStale config - implement version polling
Same profile for all envsAccidental prod toggle
Missing IAM on sidecar/agentSilent default config

Troubleshooting

  • Deployment stuck: validator Lambda errors in CloudWatch.
  • App not picking up: session token expiry; confirm application, environment, configuration profile IDs.

Docs: AppConfig

← Freeform guide · Checklist