Updated on 2024-11-22 GMT+08:00

Edge Gateway Overview

What Is an Edge Gateway?

An edge gateway can connect subnets in the same VPC but from both edge and central AZs or from different edge AZs.

Edge gateways are supported in the AF-Johannesburg region.

Edge gateways are free of charge, but if there is a change, you will be notified in advance.

Application Scenarios

Figure 1 Edge gateway networking architecture

Table 1 lists the required two VPCs and 12 subnets in 12 AZs and five regions.

Table 1 VPC and subnet planning

VPC

Subnet

AZ

Region

VPC-EG1

Subnet1

Edge AZ1

Edge region A

Subnet2

Edge AZ2

Subnet3

Edge AZ3

Edge region B

Subnet4

Edge AZ4

Centre-Subnet1

Central AZ1

Central region A

Centre-Subnet2

Central AZ2

VPC-EG2

Subnet5

Edge AZ5

Edge region A

Subnet6

Edge AZ6

Subnet7

Edge AZ7

Edge region C

Subnet8

Edge AZ8

Centre-Subnet3

Central AZ3

Central region B

Centre-Subnet4

Central AZ4

Table 2 lists the required edge gateway and five edge connections in 12 AZs and five regions.

Table 2 Edge gateway and edge connection planning

Edge Gateway

AZ

Region

Edge Connection

Global Connection Bandwidth-HomeZones (CN East)

Edge gateway

  • Edge AZ1
  • Edge AZ2
  • Edge AZ5
  • Edge AZ6

Edge region A

Edge connection A

Global connection bandwidth A

  • Edge AZ3
  • Edge AZ4

Edge region B

Edge connection B

Global connection bandwidth B

  • Edge AZ7
  • Edge AZ8

Edge region C

Edge connection C

Global connection bandwidth C

  • Central AZ1
  • Central AZ2

Central region A

Edge connection A-Central

Global connection bandwidth A-Central

  • Central AZ3
  • Central AZ4

Central region B

Edge connection B-Central

Global connection bandwidth B-Central

The edge gateway is attached to both VPC-EG1 and VPC-EG2 and is used in the following scenarios.
Table 3 Edge gateway application scenarios

Scenario

Required Resource

Description

Reference

In VPC-EG1, connect subnets in edge and central AZs.

  • VPC
  • Subnet in an edge AZ
  • Edge connection in an edge region
  • Global connection bandwidth in an edge region
  • Subnet in a central AZ
  • Edge connection in a central region
  • Global connection bandwidth in a central region

In VPC-EG1, Subnet1 in the edge AZ (AZ1) and Centre-Subnet1 in the central AZ (AZ1) need to communicate with each other.

  • For the subnet in the edge AZ (AZ1), an edge connection (edge connection A) needs to be created in edge region A and has a global connection bandwidth (global connection bandwidth A) bound.
  • For the subnet in the central AZ (AZ1), an edge connection (edge connection A-Central) needs to be created in central region A and has a global connection bandwidth (global connection bandwidth A-Central) bound.
  1. Edge gateways: An edge gateway can have one or more VPCs attached.
  2. Associating VPCs with an Edge Gateway: The number of VPCs that an edge gateway can have vary by gateway edition.
  3. Creating an Edge Connection: An edge connection can be shared in all AZs of the same region.
  4. Binding a Global Connection Bandwidth to an Edge Connection: An edge connection can only have one global connection bandwidth bound.

In VPC-EG1, connect subnets in different edge AZs.

  • VPC
  • Subnet in an edge AZ
  • Edge connection in an edge region
  • Global connection bandwidth in an edge region
  • Edge connection in a central region
  • Global connection bandwidth in a central region

In VPC-EG1, Subnet1 in the edge AZ (AZ1) and Subnet3 in the edge AZ (AZ3) need to communicate with each other.

  • For the subnet in the edge AZ (AZ1), an edge connection (edge connection A) needs to be created in edge region A and has a global connection bandwidth (global connection bandwidth A) bound.
  • For the subnet in the edge AZ (AZ3), an edge connection (edge connection B) needs to be created in edge region B and has a global connection bandwidth (global connection bandwidth B) bound.
  • For both subnets, an edge connection (edge connection A-Central) needs to be created in central region A and has a global connection bandwidth (global connection bandwidth A-Central) bound.
NOTE:

To enable communications between a central region and an edge region or between different edge regions, you need to create an edge connection in the central region.

  1. Edge gateways: An edge gateway can have one or more VPCs attached.
  2. Associating VPCs with an Edge Gateway: The number of VPCs that an edge gateway can have vary by gateway edition.
  3. Creating an Edge Connection: This edge connection is used for communications between the edge regions and a central region.
  4. Binding a Global Connection Bandwidth to an Edge Connection: An edge connection can only have one global connection bandwidth bound.

In VPC-EG2, connect subnets in edge and central AZs.

  • VPC
  • Subnet in an edge AZ
  • Edge connection in an edge region
  • Global connection bandwidth in an edge region
  • Subnet in a central AZ
  • Edge connection in a central region
  • Global connection bandwidth in a central region

In VPC-EG2, Subnet5 in the edge AZ (AZ5) and Centre-Subnet3 in the central AZ (AZ3) need to communicate with each other.

  • For the subnet in the edge AZ (AZ5), an edge connection has been created in edge region A and has a global connection bandwidth bound. You can use this edge connection directly.
  • For the subnet in the central AZ (AZ3), an edge connection (edge connection B-Central) needs to be created in central region B and has a global connection bandwidth (global connection bandwidth B-Central) bound.
NOTE:

Edge connections can be reused because VPC-EG1 and VPC-EG2 are attached to the same edge gateway.

  1. Edge gateways: An edge gateway can have one or more VPCs attached.
  2. Associating VPCs with an Edge Gateway: The number of VPCs that an edge gateway can have vary by gateway edition.
  3. Creating an Edge Connection: VPCs attached to the same edge gateway can use one edge connection. In this example, only one edge connection needs to be created in the central region.
  4. Binding a Global Connection Bandwidth to an Edge Connection: An edge connection can only have one global connection bandwidth bound.

In VPC-EG2, connect subnets in different edge regions.

  • VPC
  • Subnet in an edge AZ
  • Edge connection in an edge region
  • Global connection bandwidth in an edge region
  • Edge connection in a central region
  • Global connection bandwidth in a central region

In VPC-EG2, Subnet5 in the edge AZ (AZ5) and Centre-Subnet3 in the edge AZ (AZ7) need to communicate with each other.

  • For the subnet in the edge AZ (AZ5), an edge connection has been created in edge region A and has a global connection bandwidth bound. You can use this edge connection directly.
  • For the subnet in the edge AZ (AZ7), an edge connection (edge connection C) needs to be created in edge region C and has a global connection bandwidth (global connection bandwidth C) bound.
  • For both subnets, an edge connection (edge connection B-Central) needs to be created in central region B and has a global connection bandwidth (global connection bandwidth B-Central) bound.
  1. Edge gateways: An edge gateway can have one or more VPCs attached.
  2. Associating VPCs with an Edge Gateway: The number of VPCs that an edge gateway can have vary by gateway edition.
  3. Creating an Edge Connection: VPCs attached to the same edge gateway can use one edge connection. In this example, one edge connection is required for the edge AZ (AZ7), and one edge connection needs to be created in the central region.
  4. Binding a Global Connection Bandwidth to an Edge Connection: An edge connection can only have one global connection bandwidth bound.