Create Configuration Profile

Remember, AWS AppConfig requires that you create resources and deploy a configuration in the following order:

  1. Create an application
  2. Create an environment
  3. Create a configuration profile
  4. Create a deployment strategy
  5. Deploy the configuration

In this section, we will continue with the Create a configuration profile step which establishes a reference to where your configuration data is stored.

AWS AppConfig currently supports storing configuration data in the following formats and locations:

  • YAML, JSON, or text documents in the AWS AppConfig hosted configuration store
  • Objects in an Amazon Simple Storage Service (Amazon S3) bucket
  • Documents in the Systems Manager document store
  • Parameters in Parameter Store
  • Any integration source action supported by AWS CodePipeline

During this lab, we wil use the AWS AppConfig hosted configuration store - an internal or hosted configuration store. Configurations must be 64 KB or smaller. The AWS AppConfig hosted configuration store provides the following benefits over other configuration store options.

  • You don’t need to set up and configure other services such as Amazon Simple Storage Service (Amazon S3) or Parameter Store.
  • You don’t need to configure AWS Identity and Access Management (IAM) permissions to use the configuration store.
  • You can store configurations in YAML, JSON, or as text documents.
  • There is no cost to use the store.
  • You can create a configuration and add it to the store when you create a configuration profile.

Use the following procedure to create a configuration profile for storing your configuration data in AWS AppConfig hosted configuration store.

  1. Select the Configuration profiles tab.
  2. Select Create configuration profile and enter AppConfigLabHostedConfigurationProfile in the Name field and AppConfig Lab hosted configuration profile in the Description field. AppConfig Config Profile Hosted Metadata
  3. Select Next.
  4. Select AWS AppConfig hosted configuration from the Configuration source options presented.
  5. Select JSON from the Content options presented.
  6. Copy and paste the JSON below into the area provided..
    {
       "boolEnableLimitResults": false,
       "intResultLimit": 0
    } 
    
  7. Select Next. AppConfig Configuration Source
  8. Select Remove in the Validator 1 section. We will not create a validator at this time. We will revisit JSON Schema and AWS Lambda validators in later sections of the lab.
  9. Select Create configuration profile. AppConfig Configuration Source Complete