Managing Application Configurations with AWS AppConfig

Managing Application Configurations with AWS AppConfig
Managing Application Configurations with AWS AppConfig

CLOUD LABS



Managing Application Configurations with AWS AppConfig

In this Cloud Lab, you’ll explore AWS AppConfig and use it to manage configuration and features for your serverless applications.

13 Tasks

intermediate

2hr 30m

Certificate of Completion

Desktop OnlyDevice is not compatible.
No Setup Required
Amazon Web Services

Learning Objectives

The ability to manage application production environments without full code deployments using AppConfig
Hands-on experience creating free form configurations in AppConfig
The ability to automatically manage configurations using the AppConfig Agent Lambda extension
Hands-on experience configuring AppConfig to revert to previous configuration version in response to CloudWatch alarm

Technologies
Lambda logoLambda
CloudWatch logoCloudWatch
AppConfig logoAppConfig
API Gateway logoAPI Gateway
DynamoDB logoDynamoDB
Cloud Lab Overview

AWS AppConfig manages configurations for applications. It allows developers to store and modify configurations for web applications, mobile applications, and more. With AppConfig, we can release new features and configurations without redeploying the entire code and while monitoring and testing.

In this Cloud Lab, you’ll manage configurations for a simple serverless application. You’ll start by building the serverless application to include a DynamoDB table, a Lambda function, and an API Gateway. Heading forward, you’ll create an AppConfig application to organize the configurations. Also, you’ll create an AppConfig environment to manage the deployment environment of your application. In addition to this, you’ll create a Lamba function to validate configurations. You’ll create a free form configuration profile to manage the features of the applications and a deployment strategy to deploy the features. Finally, you’ll create a CloudWatch alarm to monitor the API Gateway and configure the AppConfig environment to revert the deployment when the alarm is invoked using the AppConfig Agent Lambda extension.

By the end of this Cloud Lab, you’ll be able to use AppConfig to efficiently manage configurations and features for your applications.

The illustration below shows the infrastructure you’ll build in this Cloud Lab.

Architecture diagram
Architecture diagram

Cloud Lab Tasks
1.Introduction
Getting Started
2.Build a Serverless Application
Create a DynamoDB Table
Create a Lambda Function
Create a REST API
3.AppConfig Infrastructure
Create an Application and Environment
Lambda Validation Function
Create a Configuration Profile
Create a Deployment Strategy
4.Test AppConfig
Integrate Lambda function with AppConfig
Modify the Configuration Profile
Monitor Deployment Using CloudWatch Alarm
5.Conclusion
Clean Up
Wrap Up
Labs Rules Apply
Stay within resource usage requirements.
Do not engage in cryptocurrency mining.
Do not engage in or encourage activity that is illegal.

Before you start...

Try these optional labs before starting this lab.

Relevant Courses

Use the following content to review prerequisites or explore specific concepts in detail.

Hear what others have to say
Join 1.4 million developers working at companies like