View a markdown version of this page

Step 1: Configuring prerequisites - Amazon AppConfig
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

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 Amazon AppConfig Agent: Amazon AppConfig experimentation requires Amazon AppConfig Agent to deliver treatments to users. Experimentation requires Amazon 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 Amazon 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/.