Step 1: Create a Direct Connect Connection

Scenarios

You need to create a Direct Connect connection for connecting a VPC to your data center before enabling your servers in the data center to access the Internet or to provide services accessible from the Internet through public NAT gateways.

Process

You need to apply for a connection, book the port used to connect your data center to the access point, cooperate with the carrier to set up the connection, create a virtual gateway and associate it with a VPC, and finally create a virtual interface to connect to the VPC. Figure 1 shows how to apply for a Direct Connect connection by self-service. For details on how to enable Direct Connect, see Enabling Direct Connect.

Figure 1 Creating a Direct Connect connection

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select the desired region and project.
  3. Under Network, click Direct Connect.
  4. In the navigation pane on the left of Network Console, choose Direct Connect > Connections. You can purchase connections from partners or in self-service mode. For details, see Enabling Direct Connect.
  5. In the navigation pane on the left, choose Direct Connect > Virtual Gateways. Then, click Create Virtual Gateway. In the displayed dialog box, set the parameters as prompted. You are advised to set the VPC CIDR block to 0.0.0.0/0. For details, see Creating a Virtual Gateway.
    Figure 2 Create Virtual Gateway
  6. In the navigation pane on the left, choose Direct Connect > Virtual Interfaces. Then, click Create Virtual Interface. On the displayed page, set the required parameters. For details, see Creating a Virtual Interface.