AWS AppConfig

1 min read aws, appconfig, configuration, deployment, lambda

Written in 2020. Tools, APIs and prices may have changed since.

Lab note What I wrote down while learning this by building with it. Short by design; the code is in pfeilbr/aws-appconfig-playground.

learn AWS AppConfig

create, manage, and quickly deploy application configurations. AWS AppConfig supports controlled deployments to applications of any size and includes built-in validation checks and monitoring. You can use AWS AppConfig with applications hosted on EC2 instances, AWS Lambda, containers, mobile applications, or IoT devices.

Concepts

Domain

  • Application (myapp)
  • Environment (dev, test, demo, prod)
  • Configuration Profile - versioned configuration data. text, json, yaml, S3 object, SSM Document, SSM Parameter, CodePipeline
  • Deployment - types: AllAtOnce, Linear50PercentEvery30Seconds, Canary10Percent20Minutes

Functional

  • deploy configuration changes from a central location
  • rules to validate your configuration. configurations that aren’t valid can’t be deployed.

Example(s)

get configuration via cli

aws appconfig get-configuration \
    --application 'app01' \
    --environment 'dev' \
    --configuration 'config-profile-01' \
    --client-id 'test' \
    appconfig.json

# view results in specified output file `appconfig.json`
cat appconfig.json

output


AWS Console Screenshots

Configuration profile source types

Example JSON configuration profile

Deployment Strategy Types

Start Deployment

Deployment

Resources

Keep learning

Get new guides and courses by email

An occasional email when I publish a new guide, course or post. No spam, and you can unsubscribe any time.

Sent with Buttondown. I never share your address. Prefer a feed? Use the RSS feed.