Updated on 2025-01-07 GMT+08:00

Creating a Direct Connect

Third-party servers and on-premises IDCs can use Direct Connect to access servers in VPCs on the cloud without using the public network.

For details about Direct Connect, see Direct Connect Introduction.

Creating a Direct Connect

For details, see Using Direct Connect to Connect an On-Premises Data Center to the Cloud.

  1. Create a connection.

    1. Log in to the management console.
    2. Click in the upper left corner and select the region and project.
    3. Click in the upper left corner of the page and choose Networking > Direct Connect to switch to the Connections page.
    4. Click Create Connection.
    5. On the Create Connection page, enter the equipment room details and select the Direct Connect location and port based on Table 1.
      Table 1 Parameters required for creating a cloud connection

      Parameter

      Description

      Billing Mode

      Specifies how you are charged. Currently, only Yearly/Monthly is supported.

      Region

      Specifies the region where the connection is deployed. You can change the region in the upper left corner of the console.

      Connection Name

      Specifies the name of your connection.

      Location

      Specifies the location where your leased line can connect to.

      Carrier

      Specifies the carrier that provides the leased line.

      Port Type

      Specifies the type of the port used by the connection. There are four types of ports: 1GE, 10GE, 40GE, and 100GE.

      Leased Line Bandwidth

      Specifies the bandwidth of the leased line in the unit of Mbit/s. This is the bandwidth of the leased line you bought from the carrier.

      Your Equipment Room Address

      Specifies the address of your equipment room. The address must be specific to the floor your equipment room is on,

      Tag

      Identifies the connection. A tag consists of a key and a value. You can add 10 tags to a connection.

      NOTE:

      If a predefined tag has been created in TMS, you can select the corresponding tag key and value.

      For details about predefined tags, see Predefined Tag Overview.

      Description

      Provides supplementary information about the connection.

      Contact Person/Phone Number/Email

      Specifies information about the person who is responsible for your connection.

      If no contact information is provided, we will contact the person in your account information. This will prolong the review period.

      Required Duration

      Specifies how long the connection will be used for.

      Auto-renewing DBSS

      Specifies whether to automatically renew the connection to ensure service continuity.

      It is recommended that you set the auto-renewal period to be the same as the required duration. If the required duration is three months, the system automatically renews the subscription for every three months.

      Enterprise Project

      Specifies an enterprise project by which cloud resources and members are centrally managed.

    6. Click Confirm Configuration.
    7. Confirm the configuration and click Request Connection.

      Confirm the requirements with the Direct Connect manager.

    8. After the system approves the requirement, the user needs to contact the carrier for construction.

      After the construction is complete, locate the connection in the connection list and click Confirm Cabling in the Operation column.

    9. In the displayed dialog box, click OK.
    10. In the connection list, locate the connection and click Confirm Configuration in the Operation column.
    11. Confirm the configuration and click Pay Now.
    12. Confirm the order, select a payment method, and click Confirm.
    13. After the payment is complete, wait for Huawei Cloud to complete the construction.

      Huawei onsite engineers will connect the Direct Connect connection to the Huawei Cloud gateway port based on the customer information within two working days.

    14. Verify that the connection is in the Normal state, which means that the connection is ready, and the billing starts.

  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 virtual gateway parameters.
      Table 2 Virtual gateway parameters

      Parameter

      Description

      Name

      Specifies the virtual gateway name.

      You can enter 1 to 64 characters.

      Enterprise Project

      Specifies the enterprise project by which virtual gateways are centrally managed. Select an existing enterprise project.

      VPC

      Specifies the VPC to be associated with the virtual gateway.

      Subnet CIDR Block

      Specifies CIDR blocks of the VPC subnets.

      You can enter one or more CIDR blocks and separate every entry with a comma (,).

      BGP ASN

      Specifies the BGP ASN of the virtual gateway.

      Tag

      Adds tags to help you identify your virtual gateway. You can change them after the virtual gateway is created.

      Description

      Provides supplementary information about the virtual gateway.

    4. Click OK.

  2. Create a virtual interface.

    1. In the navigation pane on the left, choose Direct Connect > Virtual Interfaces.
    2. Click Create Virtual Interface.
    3. Configure the parameters as prompted.
      Table 3 Parameters for creating a virtual interface

      Parameter

      Description

      Region

      Specifies the region where the connection is deployed. You can change the region in the upper left corner of the console.

      Name

      Specifies the virtual interface name.

      The name can contain 1 to 64 characters.

      Virtual Interface Priority

      Specifies whether the virtual interface will be used prior to other virtual interfaces. There are two options: Preferred and Standard.

      If multiple virtual interfaces are associated with one Direct Connect device, the load is balanced among virtual interfaces with the same priority, while virtual interfaces with different priorities are working in active/standby pairs.

      Connection

      Specifies the connection you use to connect your data center to the cloud.

      Gateway

      Specifies the gateway that the virtual interface connects to.

      You can select a virtual gateway or global DC gateway.

      Virtual Gateway

      This parameter is mandatory when Gateway is set to Virtual gateway.

      Specifies the virtual gateway that the virtual interface connects to.

      Global DC Gateway

      This parameter is mandatory when Gateway is set to Global DC gateway.

      Specifies the global DC gateway that the virtual interface connects to.

      VLAN

      Specifies the ID of the VLAN for the virtual interface.

      You need to configure the VLAN if you create a standard connection.

      The VLAN for a hosted connection will be allocated by the carrier or partner. You do not need to configure the VLAN.

      Bandwidth

      Specifies the bandwidth that can be used by the virtual interface in the unit of Mbit/s. The bandwidth cannot exceed that of the connection.

      Enterprise Project

      Specifies the enterprise project by which virtual interfaces are centrally managed. Select an existing enterprise project.

      Tag

      Adds tags to help you identify your virtual interface. You can change them after the virtual interface is created.

      Local Gateway

      Specifies the IP address used by the cloud to connect to your on-premises network. After you configure Local Gateway on the console, the configuration will be automatically delivered to the gateway used by the cloud.

      Remote Gateway

      Specifies the IP address used by the on-premises data center to connect to the cloud. After you configure Remote Gateway on the console, you need to configure the IP address on the interface of the on-premises device.

      Remote Subnet

      Specifies the subnets of your on-premises network. Separate every entry with a comma (.).

      Routing Mode

      Specifies the routing mode. Two options are available, Static and BGP.

      If there are two or more connections, select BGP routing.

      BGP ASN

      Specifies the ASN of the BGP peer.

      This parameter is mandatory when you select BGP routing.

      BGP MD5 Authentication Key

      Specifies the password used to authenticate the BGP peer using MD5.

      This parameter can be set when BGP routing is selected, and the parameter values on both gateways must be the same.

      The key contains 8 to 255 characters and must contain at least two types of the following characters:

      • Uppercase letter
      • Lowercase letter
      • Digits
      • Special characters ~!, .:;-_"(){}[]/@#$ %^&*+\|=

      Description

      Provides supplementary information about the virtual interface.

    4. Click Create Now.

      When the status changes to Normal, the virtual interface has been created.

  3. Configure local routes on the on-premises data centers.

    After your on-premises network is connected to Huawei Cloud, you need to configure routes in your data center.