Skip to main content
In this lesson you’ll learn how AWS AppConfig (a capability of AWS Systems Manager) lets you deploy configuration changes safely and progressively—without redeploying your application. Follow these steps to create an application, add an environment, create a configuration profile with a sample feature flag, define a deployment strategy, and run a controlled rollout. Key concepts covered: AWS AppConfig, Systems Manager, feature flags, hosted configuration, deployment strategy, progressive rollouts, bake windows, and safe rollbacks. Quick summary of artifacts you’ll create: Useful reference: AWS AppConfig documentation

1) Open AppConfig (Systems Manager)

  • In the AWS Management Console, open AWS Systems Manager and select AppConfig from the left-hand navigation.
  • If prompted, click Start using AppConfig, then choose Applications.
  • Click Create application.
  • Enter a name (for example, demo-application) and create the application.
Your application represents the workload whose configuration you’ll manage.
Screenshot of the AWS Management Console showing the AppConfig "DemoApplication" page. It displays application details (including an Application ID) and buttons to update/delete the application and create an environment.

2) Create an Environment

Environments scope configurations and let you have separate values per lifecycle stage (for example, development, staging, production).
  • Under your application, go to Environments → Create environment.
  • Give the environment a name (for example, Production) and create it.
After creation the environment status will typically show Ready for deployment. Use environments to separate testing and validation from production traffic.
A screenshot of the AWS Management Console showing an AppConfig "Production" environment page. The Environment details show the state "Ready for deployment" and buttons like Update, Delete, and Start deployment.

3) Create a Configuration Profile

A configuration profile contains the actual settings your application retrieves (feature flags, toggles, JSON/YAML blobs, etc.).
  • Open your application and scroll to Configuration profiles → Create configuration profile.
  • For profile type choose Freeform configuration (or select a specific source/hosted config option if needed).
  • Name the profile (for example, demo-config-freeform), choose a format such as JSON, and paste your configuration content.
Example configuration (JSON):
  • Save the configuration. You can choose Deploy immediately or Save and deploy later after creating a deployment strategy.
Validate your configuration format before deploying. AppConfig supports validators (JSON Schema or Lambda validators). Incorrect JSON or mismatched schemas will cause deployments to fail. Also ensure your application is configured to fetch or receive hosted configuration updates (SDK polling or push mechanism).

4) Create a Deployment Strategy

Deployment strategies define how changes are rolled out—percentage increments, time between increments, and bake windows for verification. Typical strategies include linear rollouts and all-at-once.
  • In the AppConfig console, choose Deployment strategies → Create deployment strategy.
  • Provide a name (for example, safe-deployment).
  • Select a deployment type (e.g., Linear), set the percentage increment and the interval (how often the percentage increases), and set a Bake time (verification window) if needed.
  • Create the strategy.
Once created, your new strategy will appear in the Deployment strategies list and can be selected when starting a deployment.
A screenshot of the AWS AppConfig console showing the "Deployment strategies" page with strategy cards (e.g., SafeDeployment, AppConfig.AllAtOnce, AppConfig.Linear50PercentEvery30Seconds) and buttons to update, delete, or create deployment strategies.

5) Start a Deployment to an Environment

With a configuration profile and deployment strategy in place, start a controlled rollout:
  • Open your application → Environments → select the environment (e.g., Production) → Start deployment.
  • Select the Configuration to deploy (e.g., demo-config-freeform).
  • Confirm the Hosted configuration version (the first upload is usually 1).
  • Choose the Deployment strategy (e.g., safe-deployment).
  • Optionally add a description, then Start deployment.
AppConfig will execute your strategy and progress through percentage increments and any defined bake windows. The console displays deployment progress, intermediate states (for example, “Baking”), and final completion. When the deployment reaches 100% and the bake window finishes successfully, the new configuration is available to your application.
A screenshot of the AWS AppConfig console showing "Deployment 1" with the deployment status at 100% and state marked as "Baking." The page also shows buttons to stop the deployment and additional deployment details below.
AppConfig separates configuration from application code, enabling controlled deployments, feature flags, scheduled rollouts, and safe rollbacks without redeploying your application. Use validators and deployment strategies to reduce risk and improve confidence in configuration changes.
Exam tip: AppConfig is part of AWS Systems Manager. It’s designed to deploy configuration changes safely and progressively—minimizing risk compared to an immediate, all-at-once update.

Watch Video