Updated on 2024-12-13 GMT+08:00

Procedure

  1. Create a Direct Connect connection.

    1. Create a connection.
      1. Log in to the management console.
      2. On the console homepage, click in the upper left corner and select the desired region and project.
      3. Click to display Service List and choose Networking > Direct Connect.
      4. In the navigation pane on the left, choose Direct Connect > Connections.
      5. Click Create Connection.
      6. On the Create Connection page, enter the equipment room details and select the Direct Connect location and port based on Table 1.
        Figure 1 Creating a self-service connection
        Table 1 Parameters for creating a connection

        Parameter

        Example Value

        Description

        Billing Mode

        -

        Specifies how you will be billed for the connection. Currently, only Yearly/Monthly is supported.

        Region

        -

        Specifies the region where the connection resides. You can also change the region in the upper left corner of the console.

        Connection Name

        dc-123

        Specifies the name of your connection.

        Location

        Suzhou-Kunshan-GDS

        Specifies the Direct Connect location where your leased line can be connected to.

        Carrier

        China Telecom

        Specifies the carrier that provides the leased line.

        Port Type

        1GE

        Specifies the type of the port that the leased line is connected to: 1GE, 10GE, 40GE, and 100GE.

        Leased Line Bandwidth

        100 Mbit/s

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

        Your Equipment Room Address

        Example: XX Equipment Room, XX Building, No. XX, Huajing Road, Pudong District, Shanghai

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

        Tag

        example_key1

        example_value1

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

        Description

        -

        Provides supplementary information about the connection.

        Contact Person/Phone Number/Email

        Tom

        +086 13912345678 (Chinese mainland)

        Tom@mail.com

        Specifies who is responsible for your connection.

        CAUTION:

        If you do not provide any contact information, we will contact the person in your account information.

        Required Duration

        5 months

        Specifies how long the connection will be used for.

        Auto-renew

        5 months

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

        For example, if you select this option and the required duration is three months, the system automatically renews the subscription for another three months.

        Enterprise Project

        default

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

      7. Click Confirm Configuration.
      8. Confirm the connection and click Pay Now.
      9. Confirm the order, select a payment method, and click Confirm.
    2. Create a virtual gateway.
      1. In the navigation pane on the left, choose Direct Connect > Virtual Gateways.
      2. Click Create Virtual Gateway.
      3. Configure the virtual gateway parameters.
      4. Click OK.
    3. 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 virtual interface parameters.
      4. Click Create Now.

  2. Create a VPC endpoint service.

    1. Hover on to display Service List and choose Networking > VPC Endpoint.
    2. On the displayed page, click Create VPC Endpoint Service.
    3. Configure the parameters.
    4. Click Create Now.

      In this practice, Connection Approval is enabled when you create a VPC endpoint service. You need to accept the connection from your purchased VPC endpoint.

  3. Buy a VPC endpoint.

    1. On the displayed page, click Buy VPC Endpoint.
    2. Configure the parameters.
    3. Click Next.
    4. Confirm the order details and click Submit.
    5. Approve the connection.
      Connection Approval is enabled in 2. If the VPC endpoint status is Pending acceptance, perform the following operations to approve the connection to the VPC endpoint service:
      1. Locate the VPC endpoint service and click its name.
      2. On the displayed page, select the Connection Management tab.
      3. In the Operation column, click Accept.

  4. (Optional) Verify the connectivity.

    • ECS1 in VPC1 can access the on-premises data center (10.1.123.1).

    • The VPC endpoint can access ECS2 in VPC2.