Creating a Direct Connection

Scenarios

Apply for a direct connection in the self-service mode to enable ECSs in your VPC to communicate with your data center or private network.

To request a direct connection, you need to create a connection, a virtual gateway, and a virtual interface.

In case the created single connection is faulty, you are recommended to create two connections to connect to different access locations. For details, see Redundant Connection Access.

Procedure

  1. Log in to the management console.

  2. Click image1 in the upper left corner and select a region and a project.

  3. Under Network, click Direct Connect.

  4. In the navigation pane on the left of Network Console, under Direct Connect, choose Direct Connect > Connections.

  5. In the upper right corner of the Connections page, click Create Connection.

  6. Follow the prompts to set the parameters.

    **Figure 1** Create Connection

    Figure 1 Create Connection

    Table 1 Connection 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.

    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.

    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.

    • The value ranges from 10 Mbit/s to 1000 Mbit/s.

      Possible values are as follows:

      10, 50, 100, 150, 200, 300, 400, 500, 600, and 1000

    100

    Description

    Provides supplementary information about the connection.

    It can contain 0 to 128 characters.

    This is a connection.

  7. Click Create Now.

  8. Check the connection details and click Submit.

    Note

    • Click Back to Connection List to view the created connections.

    • After clicking Submit, you will be automatically redirected to the connection list after a timeout.

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

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

  11. Follow the prompts to set the parameters.

    **Figure 2** Create Virtual Gateway

    Figure 2 Create Virtual Gateway

    Table 2 Virtual gateway parameters

    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 where the virtual gateway resides.

    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 (,).

    A direct connection can access multiple VPCs. For details, see Using a Direct Connection to Access Multiple VPCs.

    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.

  12. Click OK.

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

  14. In the upper right corner of the Virtual Interfaces page, click Create Virtual Interface.

  15. Follow the prompts to set the parameters.

    **Figure 3** Create Virtual Interface

    Figure 3 Create Virtual Interface

    Table 3 Virtual interface 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.

    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.

    A connection can be associated with only one virtual interface. Only connections that are not bound to other interfaces are available in the list.

    dc-123

    Virtual Gateway

    Select the virtual gateway to be associated.

    You can select a virtual gateway that has virtual interfaces bound. However, the connection associated with the virtual interfaces that have been bound to the virtual gateway needs to be at different locations.

    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.

  16. Click Create Now.