Configuring Redundant or Active/Standby Connections¶
Scenarios¶
You plan to use Direct Connect to connect your on-premises data center to your VPCs. To prevent service interruption resulted from connection failures, you need to request two connections terminated at different locations. The two connections are mutually backed up to ensure high reliability. If a connection fails, the other connection will be used for communications.
Operation Flowchart¶
You need to select two locations and request two connections. For example, in the eu-de region, select Biere for one connection, and Magdeburg for the other connection. 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 request two connections to allow your on-premises data center to access the same VPC.
Procedure¶
Request two connections.
Collect the information required for requesting two connections based on Table 1.
¶ Parameter
Description
Example Value
Domain Name
Specifies the account name.
For details about how to obtain the domain name, see Obtaining the Domain Name.
abc123
Project ID
Specifies the project ID. Perform the following operations to obtain the project name.
Hover the cursor over the username in the upper right corner and select My Credentials from the drop-down list.
In the lower part of the My Credentials page, locate the project.
View the project ID.
f9578ed9f9b1496da3ddf4ad29ccd891
Provider
Specifies the carrier that provides the connection.
others
Region
Specifies the region where the connection resides.
For details about how to obtain the region, see Obtaining the Region.
eu-de
Location
Specifies the location where the connection will be terminated.
In the eu-de region, you can select Biere or Magdeburg. In the eu-nl region, you can select Amsterdam-Aalsmeer or Amsterdam-Almere.
Biere/Magdeburg
Port Type
Specifies the port type. The value can be 1GE, 10GE, 40GE, or 100GE.
40GE
Bandwidth
Specifies the bandwidth of the connection, in Mbit/s.
100 Mbit/s
Name
Specifies the connection name. The name can contain a maximum of 64 characters. Only letters, digits, underscores (_), and hyphens (-) are allowed.
directconnect-001
Request the two connections using any of the following methods:
Wait for the notification from your account manager or customer service.
Log in to the management console.
In the service list in the upper left corner of the page, choose Network > Direct Connect.
In the navigation pane on the left, choose Direct Connect > Connections.
View the connections in the connection list.
Create a virtual gateway.
In the navigation pane on the left, choose Direct Connect > Virtual Gateways.
In the upper right corner of the Virtual Gateways page, click Create Virtual Gateway.
Configure the parameters.
¶ Parameter
Description
Example Value
Name
Specifies the virtual gateway name.
The name 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 block of the VPC to be accessed using the 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.
You can enter 0 to 128 characters.
This is a virtual gateway.
Click OK.
Create two virtual interfaces.
In the navigation pane on the left, choose Direct Connect > Virtual Interfaces.
On the displayed Virtual Interfaces page, click Create Virtual Interface in the upper right corner to create the first virtual interface.
Configure the parameters.
¶ 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.
Select eu-de for the Germany region and eu-nl for the Netherlands region.
Name
Specifies the virtual interface name.
The name 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 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 allocates a VLAN ID. You do not need to set this parameter.
30
Bandwidth
Specifies the virtual interface bandwidth, in 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 using CIDR notation. 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.
You can enter 0 to 128 characters.
This is a virtual interface.
Click Create Now.
Repeat step 3.a to 3.d to create the other virtual interface.