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.

**Figure 1** Redundant or active/standby connections

Figure 1 Redundant or active/standby connections

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.

**Figure 2** Flowchart for requesting redundant connections

Figure 2 Flowchart for requesting redundant connections

Procedure

  1. Request two connections.

    1. Collect the information required for requesting two connections based on Table 1.

      Table 1 Information required for requesting a connection

      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.

      1. Hover the cursor over the username in the upper right corner and select My Credentials from the drop-down list.

      2. In the lower part of the My Credentials page, locate the project.

      3. 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 the unit of 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

    2. Request the two connections using any of the following methods:

      • Email us with the title "Applying for Enabling Direct Connect".

      • Call us and provide the collected information to our customer service.

      • Contact our sales representative and provide the collected information.

    3. Wait for the notification from your account manager or customer service.

    4. Log in to the management console.

    5. In the service list in the upper left corner of the page, choose Network > Direct Connect.

    6. In the navigation pane on the left, choose Direct Connect > Connections.

      View the connections in the connection list.

  1. Create a virtual gateway.

    1. In the navigation pane on the left, choose Direct Connect > Virtual Gateways.

    2. In the upper right corner of the Virtual Gateways page, click Create Virtual Gateway.

    3. Configure the parameters.

      Table 2 Parameters for creating a virtual gateway

      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.

    4. Click OK.

  2. Create two virtual interfaces.

    1. In the navigation pane on the left, choose Direct Connect > Virtual Interfaces.

    2. On the displayed Virtual Interfaces page, click Create Virtual Interface in the upper right corner to create the first virtual interface.

    3. Configure the parameters.

      Table 3 Parameters for creating a virtual interface

      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 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 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.

    4. Click Create Now.

    5. Repeat step 3.a to 3.d to create the other virtual interface.