Step 1: Configuring prerequisites - AWS AppConfig
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

Step 1: Configuring prerequisites

Before you begin, complete the following tasks:

  1. Deploy the feature flag you want to experiment on: Before you can run an experiment on a feature flag, the flag must be deployed to the environment where you want to run the experiment.

  2. Install and configure AWS AppConfig Agent: AWS AppConfig experimentation requires AWS AppConfig Agent to deliver treatments to users. Experimentation requires AWS AppConfig Agent Lambda extension version 2.0.20159 or later, or Amazon ECS/Amazon EC2 agent version 2.0.175233 or later. The following topics describe how to install and configure AWS AppConfig Agent for each supported compute environment:

    Note that each section includes information about configuring IAM permissions so the agent can retrieve feature flags and other configuration data.

  3. Configure experiment assignment logging: To capture treatment assignment data during an experiment run, set the EXPERIMENT_ASSIGNMENT_LOG_DESTINATION agent option (Lambda: AWS_APPCONFIG_EXTENSION_EXPERIMENT_ASSIGNMENT_LOG_DESTINATION) to stderr or to a disk path such as file:/var/log/appconfig/experiments/.