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.
Procedure
- Log in to the management console.
- Click
in the upper left corner and select the desired region and project. - Under Network, click Direct Connect.
- 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.
- 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
- 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.
Last Article: Preparations
Next Article: Step 2: Buy an EIP

Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.