Creating an environment
Environments in App Configuration represent your application environments. Typical environments might be dev, staging, or production. Environments manage your feature flags and properties into deployments from development to production. Create your environments based on your development requirements.
When you create an App Configuration instance, an environment is created in the name dev
by default.
Each feature flag or properties that are created has its own values, tags, and segment rules for each environment. You can also toggle the feature flag per environment so that you can have different rules for flags per environment for the same feature flag or properties.
By default, the environment page displays the list of environments that are created in the current App Configuration service instance along with Name, Environment ID and Last Updated.
Create an environment
To create an environment, complete these steps:
-
In the App Configuration console, click Environments.
-
Click Create. The side panel opens with fields for creating a new environment.
Creating a new environment -
Provide the following environment details:
- Name - name of the environment.
- Environment ID - the environment ID value is auto suggested based on the entered environment name. You can modify the same, if needed. Use the Environment ID value as the identifier in your SDK or API code.
- Description - add a description of the environment, which is optional.
- Optionally, define Tags to identify the environment.
- Click the color image to change the Color code for this environment, which is optional.
-
Click Create.