---
title: "Edge Gateways"
sidebar_label: "Edge Gateways"
sidebar_position: 2
description: "How Edge Gateways work and what sizes are available, how to create an Edge Gateway, change its settings and size, how reservation works and how to enable it, and how to delete an Edge Gateway"
---

import Formbricks from '@theme/MDXComponents/Formbricks'
import {CustomTable} from '@selectel/docux/components'
import TrashIcon from '@selectel/docux/icons/trash'
import MoreVerticalIcon from '@selectel/docux/icons/more-vertical'

# Edge Gateways

An Edge Gateway (EG) is a software router that allows virtual machines to access the network. An Edge Gateway implements DHCP, NAT, Load Balancing, Firewall, Dynamic Routing, VPN, and other functions.

When [creating a virtual data center](/public-cloud/manage-public-cloud/create-virtual-data-center.mdx), a Compact size [Edge router](#edge-router-sizes) is automatically created; it is the smallest in terms of performance and cost. Basic Firewall and NAT rules are configured on it. You can manage the created Edge router, change its size, and modify its rules yourself.

The limit for Edge Gateways is shared across the entire organization and is set to 20 units. To increase this limit, [create a ticket](https://my.selectel.ru/tickets/create).

## Edge router sizes \{#edge-router-sizes}

For Edge routers in all [clusters](/public-cloud/about/about-public-cloud.mdx#clusters) except AMD HiFreq-1, the following sizes are available:

* Compact;
* Large;
* Quad Large;
* X-Large.

The Edge Gateway size affects its performance. You can select the Edge Gateway size when [creating](#create-edge-router) it or [change](#change-edge-router-settings) it for an existing one. To improve Edge Gateway stability, avoid packet loss, and prevent other issues, we recommend increasing the Edge Gateway size to meet the required workload.

In the AMD HiFreq-1 cluster, the Edge router size is fixed and cannot be changed.

### Comparison of Edge router sizes \{#edge-router-sizes-comparison}

<CustomTable>
  <table data-sticky>
    <thead>
      <tr>
        <th />

        <th>Compact</th><th>Large</th><th>Quad Large</th><th>X-Large</th>
      </tr>
    </thead>

    <tbody>
      <tr>
        <th>vCPU count</th><td>1</td><td>2</td><td>4</td><td>8</td>
      </tr>

      <tr>
        <th>RAM</th><td>512 MB</td><td>1 024 MB</td><td>1 024 MB</td><td>8 096 MB</td>
      </tr>

      <tr>
        <th>Memory</th><td>2 disks,<br />584 MB + 512 MB</td><td>2 disks,<br />584 MB + 512 MB</td><td>3 disks,<br />584 MB + 512 MB + 512 MB</td><td>3 disks,<br />584 MB + 2 048 MB + 512 MB</td>
      </tr>
    </tbody>
  </table>
</CustomTable>

### Comparison of Edge Compact and Edge Large \{#edge-compact-and-edge-large-comparison}

<CustomTable>
  <table data-sticky>
    <thead>
      <tr>
        <th />

        <th>Edge Compact</th><th>Edge Large</th>
      </tr>
    </thead>

    <tbody>
      <tr>
        <th>vCPU count</th><td>1</td><td>2</td>
      </tr>

      <tr>
        <th>Memory</th><td>512 MB</td><td>1 GB</td>
      </tr>

      <tr>
        <th>NAT</th><td>2 048</td><td>4 096</td>
      </tr>

      <tr>
        <th>ARP Entries Until Overwrite</th><td>1 024</td><td>2 048</td>
      </tr>

      <tr>
        <th>FW Performance</th><td>3 Gbps</td><td>9.7 Gbps</td>
      </tr>

      <tr>
        <th>IPSec Tunnels</th><td>512</td><td>1 600</td>
      </tr>

      <tr>
        <th>SSLVPN Tunnels</th><td>50</td><td>100</td>
      </tr>

      <tr>
        <th>Concurrent Sessions</th><td>64 000</td><td>1 000 000</td>
      </tr>

      <tr>
        <th>BGP Routes</th><td>20 000</td><td>50 000</td>
      </tr>

      <tr>
        <th>BGP Neighbors</th><td>10</td><td>20</td>
      </tr>

      <tr>
        <th>OSPF Adjacencies</th><td>10</td><td>20</td>
      </tr>
    </tbody>
  </table>
</CustomTable>

## Edge router IP addresses \{#edge-router-ips}

IP addresses are assigned to an Edge router and used to access the virtual data center from external networks, such as the internet.

An Edge router is always created with a base IP address.

The IP address limit is organization-wide and is set to 20 addresses. To increase the limit, [create a ticket](https://my.selectel.ru/tickets/create).

### Add IP address \{#add-ip-address}

1. In the [Control panel](https://my.selectel.ru/vmware/), on the top menu, click **Products** and select **VMware-based Cloud**.
2. Go to the **Virtual Data Centers** section.
3. Open the Virtual Data Center page → the **Edge Routers** tab.
4. In the Edge router card, expand the **IP Addresses** block.
5. Click **Add IP Address**.
6. Specify the number of IP addresses to add.
7. Click **Add**.

### Remove IP address \{#delete-ip-address}

You can only remove IP addresses that you added manually. The base IP address cannot be removed.

1. In the [Control panel](https://my.selectel.ru/vmware/), on the top menu, click **Products** and select **VMware-based Cloud**.
2. Go to the **Virtual Data Centers** section.
3. Open the Virtual Data Center page → the **Edge Routers** tab.
4. In the Edge router card, expand the **IP Addresses** block.
5. In the IP address line, click <TrashIcon />.
6. Enter the IP address to confirm the deletion.
7. Click **Delete**.

## Edge router redundancy \{#edge-router-redundancy}

:::info

Edge Gateway redundancy is unavailable in the [cluster](/public-cloud/about/about-public-cloud.mdx#clusters) AMD HiFreq-1.

:::

To improve Edge Gateway fault tolerance, you can enable Edge Gateway redundancy (High Availability). If issues occur with the primary Edge Gateway, a failover to the standby one will occur within 15 seconds. All primary Edge settings are automatically replicated to the standby one.

All network equipment is fully redundant. The failure of any network device will not affect the availability of virtual machines in public and local networks.

## Create an Edge router \{#create-edge-router}

1. In the [Control panel](https://my.selectel.ru/vmware/), on the top menu, click **Products** and select **VMware-based Cloud**.
2. Go to the **Virtual Data Centres** section.
3. Open the virtual data centre page → the **Edge Gateways** tab.
4. Click **Create Edge Gateway**.
5. Select the Edge router size.
6. Click **Create**.

## Change Edge router settings \{#change-edge-router-settings}

You can change the [Edge Gateway size](#edge-router-sizes) and [enable redundancy](#edge-router-redundancy) (High Availability).

1. In the [Control panel](https://my.selectel.ru/vmware/), on the top menu, click **Products** and select **VMware-based Cloud**.
2. Go to the **Virtual Data Centres** section.
3. Open the virtual data centre page → the **Edge Gateways** tab.
4. In the <MoreVerticalIcon /> menu of the gateway, click **Edit settings**.
5. Apply your changes.
6. Click **Save**. After the size is changed, the Edge Gateway and the IP addresses on it may be unavailable for 30 seconds.

## Enable SSH access to the Edge router \{#enable-ssh-access-to-edge-router}

1. From the [control panel](https://my.selectel.ru/vmware/), open the Cloud Director panel: in the top menu click **Products** → **VMware-based Cloud** → **Cloud Director** section.
2. Open the virtual data center page.
3. Go to the **Networking** → **Edges** section.
4. Open the page of the required Edge.
5. Click **SERVICES**.
6. Open the **Edge Settings** tab.
7. In the **SSH Status** block, turn on the **Enabled** toggle.
8. [Configure the Firewall](/public-cloud/manage-networks/configure-firewall/).

## Delete an Edge router \{#delete-edge-router}

Before deleting an Edge router, remove the routed IP addresses and networks from it.

1. In the [Control panel](https://my.selectel.ru/vmware/), on the top menu, click **Products** and select **VMware-based Cloud**.
2. Go to the **Virtual Data Centres** section.
3. Open the virtual data centre page → the **Edge Gateways** tab.
4. In the <MoreVerticalIcon /> menu of the gateway, click **Delete Edge Gateway**.

<Formbricks />
