A VPC-based direct connect gateway can be used to interconnect one Tencent Cloud VPC with one or more local IDCs. This document describes how to use a VPC-based direct connect gateway to build the Direct Connect network architecture that connects a VPC in Beijing to an IDC in Guangzhou.
The following figure shows you how to interconnect a Tencent Cloud VPC (
172.21.0.0/24) and a local IDC (
192.168.0.0/24) with a bandwidth of 2 Mbps.
Follow the steps below:
To create a connection, you need to first confirm the information and submit an application in the console, and then the carrier will start the engineering investigation and wiring. This process takes about 2-3 months. For more information, see Connection Overview. Perform the following steps to apply for a connection in the console.
|Connection Name||Enter a name for the connection, such as "Connection to Beijing IDC".|
|Access Point||We recommend you first search for access points and check their distances to your IDC, and then select the nearest access point. For more information, see Searching for Access Point Locations or Direct Connect Access Point.|
|Connection Provider||Select an eligible carrier, such as CTCC.|
|Cloud port||Ports in 1, 10, and 100 Gbps are available. To use a 100 Gbps port, please submit a ticket. Select 1 Gbps as an example.|
|Port Type||Choose fiber optic port or electrical port as needed. The available ports vary with the port type. For example, 1 Gbps ports include fiber optic port and electrical port, while 10 Gbps ports only include fiber optic port. Select Fiber optic port as an example.|
|Bandwidth Cap||Select 998 Mbps as an example.|
For more information on parameter configurations, see Applying for Connection
|Name||Enter a name for the direct connect gateway, such as "Beijing VPC - Guangzhou IDC".|
|Associate Network||Select VPC.|
|Network||Select an existing VPC instance.|
|Gateway Type||Select Standard as an example.|
|Name||Enter a name for the dedicated tunnel, such as "Beijing VPC - Guangzhou IDC".|
|Connection||Select the connection created in Step 1.|
|Access Network||Select VPC.|
|VPC||Select an existing VPC instance.|
|Direct Connect Gateway||Select the direct connect gateway created in Step 2.|
For more information on the parameter configurations, see Creating a Dedicated Tunnel
|VLAN ID||A VLAN corresponds to a tunnel. Enter a value within the range of 0-3000. Entering 0 means one dedicated tunnel can be created. Enter 0 as an example.|
|Bandwidth||Specify the bandwidth cap of the dedicated tunnel, which cannot exceed the maximum bandwidth of the associated connection. Set it to 2 Mbps as an example.|
|Tencent Cloud Primary IP||Enter the connection IP address on the Tencent Cloud side. Set it to 172.21.0.0/24 as an example.|
|Tencent Cloud Secondary IP||Enter the secondary IP address of the connection on the Tencent Cloud side. Set it to 172.21.0.2/24 as an example.|
|CPE Peer IP||Configure the connection IP address on the user (or carrier) side. Set it to 172.21.0.1/24 as an example.|
|Routing mode||Select Static.|
|CPE IP range||Select 192.168.0.0/24 as an example.|
|CPE IP range||Enter the customer IP range if Static is selected as the routing mode. This parameter cannot conflict with the VPC IP range in a non-NAT mode.|
To use a VPC-based direct connect gateway, configure a routing policy with direct connect gateway as the next hop and IDC IP range as the destination in the route table of the VPC subnet to enable communication.
After a connection and a dedicated tunnel are created, Cloud Monitor will automatically create a default alarm policy for each service. This default alarm policy does not configure recipient information, so you can only view alarms on the console. To configure a recipient, take the following steps.
|Metric||Statistical Period||Condition||Condition Value||Consecutive Periods||Policy|
|Bandwidth utilization||1 minute||>=||80%||5 periods||Alarm once a day|