> For the complete documentation index, see [llms.txt](https://developer.harness.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.harness.io/continuous-delivery/3.0/deployment-entities/environment/environment-groups.md).

# Environment groups

Deploy a service to multiple environments at once by grouping them into an environment group.

An environment group is a set of environments that a pipeline stage targets together. Instead of selecting environments one by one, you select the group, and Harness deploys the service to every environment in it.

***

## Create an environment group <a href="#create-an-environment-group" id="create-an-environment-group"></a>

In the Harness application, expand **Deployments** in the left navigation, select **Environments**, then select the **Environment Groups** tab. To create a group, select **+ Create environment group** and complete the following steps.

1. Enter a **Name** for the environment group, or select the name Harness suggests.
2. Optionally, add **Metadata**, such as a description and tags.
3. Under **Environments**, add the environments you want in the group. You can select existing environments scoped at the project, organization, or account level, or create a new environment inline.
4. Optionally, turn on **Deploy environments in parallel** to deploy to every environment in the group at the same time instead of one after another.
5. Select **Create**.

***

## Use an environment group in a pipeline <a href="#use-an-environment-group-in-a-pipeline" id="use-an-environment-group-in-a-pipeline"></a>

When you configure the environments for a pipeline stage, Harness asks you to choose between **Environment** and **Environment group**. **Environment** deploys to one or more environments you select individually. **Environment group** deploys to every environment in a group you select.

For example, if an environment group contains ten environments, selecting that group deploys the service to all ten.

***

## Next steps

* Go to [Environment](https://developer.harness.io/continuous-delivery/3.0/deployment-entities/environment.md) to review the environment entity and how to create individual environments.
* Go to [Infrastructure definitions](https://developer.harness.io/continuous-delivery/3.0/deployment-entities/environment/infrastructure-definitions.md) to create and manage the infrastructure definitions within an environment.

{% @harness-feedback/feedback %}
