# Edge Groups

The Edge Groups feature lets you group together Edge environments either by manually selecting them or based on their [tags](https://docs.portainer.io/2.33-lts/admin/environments/tags). This is useful if you manage multiple Edge environments in multiple zones.

{% hint style="info" %}
This functionality requires you to [enable Edge Compute](https://docs.portainer.io/2.33-lts/admin/settings/edge) features.
{% endhint %}

From the menu select **Edge Groups** then click **Add Edge group**.&#x20;

<figure><img src="https://3850702872-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXI7douejaBgpZ6CP2zJf%2Fuploads%2Fgit-blob-0a911d50c09a587e57f21a07a1f6184b7cdc9967%2F2.15-edge-groups.gif?alt=media" alt=""><figcaption></figcaption></figure>

Give the group a descriptive name then select either **Static** or **Dynamic**:

<figure><img src="https://3850702872-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXI7douejaBgpZ6CP2zJf%2Fuploads%2Fgit-blob-474596e58316af03f8c8495ec94a8f5bbf14f4a7%2F2.15-edge-groups-name.png?alt=media" alt=""><figcaption></figcaption></figure>

### **Option 1: Static**

This option lets you manually add environments to the group from a list. Select the required environments then click **Add edge group**.

<figure><img src="https://3850702872-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXI7douejaBgpZ6CP2zJf%2Fuploads%2Fgit-blob-4d93c5b0e558432772d7cdf015b5ef6b132534d9%2F2.15-edge-groups-static.png?alt=media" alt=""><figcaption></figcaption></figure>

### Option 2: Dynamic

This option lets you automatically associate environments via their tags. If you choose this option you will need to refine how Edge environments are dynamically associated.

| Option        | Overview                                                                                                              |
| ------------- | --------------------------------------------------------------------------------------------------------------------- |
| Partial Match | Will associate any environments matching at least one of the selected tags (environments can have more than one tag). |
| Full Match    | Will associate any environments matching all of the selected tags.                                                    |

When you select a tag from the dropdown, environments with that tag will appear in the results.

<figure><img src="https://3850702872-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FXI7douejaBgpZ6CP2zJf%2Fuploads%2Fgit-blob-5b635d9fb7856d2ecf95675e3f36e3644f074f34%2F2.15-edge-groups-dynamic.png?alt=media" alt=""><figcaption></figcaption></figure>

Click **Add edge group** to associate the environments to the group.
