A local data center is connected to a VPC through a connection. To prevent a single connection failure from affecting services, you are advised to create two connections with different access locations. If a connection fails, services are switched to the other connection quickly. Therefore, the communication between the local data center and the VPC is of high quality and high reliability.

You need to create two connections, with one connecting to Biere and the other to Magdeburg. Create a virtual gateway and access the VPC to which the services belong. Create two virtual interfaces and connect them to the same virtual gateway associated with the target VPC. Figure 2 shows how to create a redundant connection.
Creating a Connection
in the upper left corner and select a region and a project.Parameter |
Description |
Example Value |
|---|---|---|
Region |
Specifies the region in which the services will be handled. If you already selected a region and a project on the management console, you do not need to select the region here. |
eu-de |
Name |
Specifies the connection name. It can contain 1 to 64 characters. Only digits, letters, underscores (_), and hyphens (-) are allowed. |
dc-123 |
Location |
Specifies the connection access location. You can select Biere or Magdeburg. The access location of the first connection must be different from that of the second connection. |
Biere |
Peering Position |
Specifies the physical location of the connection. The address is an identifier. Only letters, digits, underscores (_), and hyphens (-) are allowed. It can contain 0 to 64 characters. |
"Marderbug-DC01" |
Bandwidth |
Specifies the bandwidth size in the unit of Mbit/s. You can select one of the bandwidths provided on the scroll bar by dragging it. Also, typing a value in the input field is allowed. It is automatically changed to the next allowed value shown on the slider bar. |
100 |
Description |
Provides supplementary information about the connection. It can contain 0 to 128 characters. |
This is a connection. |
Creating a Virtual Gateway
Parameter |
Description |
Example Value |
|---|---|---|
Name |
Specifies the virtual gateway name. It can contain 1 to 64 characters. Only digits, letters, underscores (_), and hyphens (-) are allowed. |
vgw-123 |
VPC |
Specifies the VPC that you need to access. |
VPC-001 |
CIDR Block |
Specifies the CIDR network segment of the VPC to be accessed by the direct connection. You can add a maximum of 50 CIDR blocks. Each pair must be unique. Separate every two CIDR blocks with commas (,). |
192.168.0.0/16 |
Description |
Provides supplementary information about the virtual gateway. It can contain 0 to 128 characters. |
This is a virtual gateway. |
Parameter |
Description |
Example Value |
|---|---|---|
Region |
Specifies the region in which the services will be handled. If you already selected a region and a project on the management console, you do not need to select the region here. |
eu-de |
Name |
Specifies the virtual interface name. It can contain 1 to 64 characters. Only digits, letters, underscores (_), and hyphens (-) are allowed. |
vif-123 |
Connection |
Specifies the connection to be associated. Select the connection that is connected to Biere or Magdeburg. The access locations of the two connections must be different. |
dc-123 |
Virtual Gateway |
Select the virtual gateway to be associated. |
vgw-123 |
VLAN |
Specifies the virtual interface VLAN ID. The system automatically allocates a VLAN ID. You do not need to set this parameter. |
30 |
Bandwidth |
Specifies the virtual interface bandwidth in the unit of Mbit/s. If the selected connection is a hosting connection, the virtual interface exclusively uses the connection bandwidth. That is, the connection bandwidth is the bandwidth of the virtual interface. |
100 |
Remote Subnet |
Specifies the remote subnet and mask. You can enter a maximum of 50 remote subnets. Each pair must be unique. Separate every two remote subnets with commas (,). The remote subnet of the virtual interface cannot be the same as the VPC CIDR block of the virtual gateway. |
192.168.51.0/24 |
Description |
Provides supplementary information about the virtual interface. It can contain 0 to 128 characters. |
This is a virtual interface. |