DEV Community

Apurv
Apurv

Posted on • Originally published at apurvsheth.Medium on

AWS AppConfig — Create, Configure & Deploy

AWS AppConfig — Create, Configure & Deploy

Introduction

Hello AWeSome techies ! Most of us would be familiarized with application configuration by one or the other way & that too with different set of profile depending on the environment or the technical boundaries. A configuration is a collection of settings that influence the behavior of our applications.

Today, we will learn how to configure AWS AppConfig from AWS management console.

  1. Login to the AWS Management console & navigate to AppConfig Service.


AWS System Manager — AppConfig service

  1. Click on “Create application” button. Enter the application details & click again on “Create application” button.


AppConfig — Create Application

  1. Navigate to the “Configuration Profile and Feature Flags” tab under application created in previous step & click on create.

  1. Choose appropriate configuration profile type. Here, we will choose “Freeform Configuraion” & click on “Select”.

  1. Enter “ Build Freeform configuration profile” details & choose “AWS AppConfig hosted configuration”.

  1. Next, choose “JSON” & enter configs in the given text area in json format.

  1. Navigate to the “Environments” tab & click on “Create environment”

  1. Enter appropriate name of the environment. For Ex: Dev, SIT, UAT/Test, Prod & likewise.

  1. Once environment is created, then we are all set to start the deployment to make our configuration available.

  1. For Configuration , choose a configuration from the list.
  2. Depending on the source of your configuration, use the Document version or Parameter version list to choose the version you want to deploy.
  3. For Deployment strategy , choose a strategy from the list.
  4. Choose Start deployment.

Please don’t forget to delete all this AWS resources without fail once you have completed this exercise.

Next Steps

You must be surprising, thinking that all this is fine but then how to access this config as a part of your application !

Don’t worry, you can refer to this article on how to access AWS AppConfig from Spring Boot microservices.

References

https://docs.aws.amazon.com/appconfig/latest/userguide/what-is-appconfig.html

AWS GenAI LIVE image

How is generative AI increasing efficiency?

Join AWS GenAI LIVE! to find out how gen AI is reshaping productivity, streamlining processes, and driving innovation.

Learn more

Top comments (0)

AWS GenAI LIVE image

Real challenges. Real solutions. Real talk.

From technical discussions to philosophical debates, AWS and AWS Partners examine the impact and evolution of gen AI.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay