tencent cloud


Connecting Network Instances Under the Same Account

Last updated: 2022-06-28 22:35:30

    Communications between two VPCs or between a VPC and an IDC can be implemented through CCN. This document describes how to use a CCN instance to interconnect VPCs in the Guangzhou and Shanghai regions under the same account.


    You can create a pay-as-you-go CCN instance billed by monthly 95 percentile.

    This document guides you through how to interconnect a VPC in Guangzhou with a VPC in Shanghai under the same account.


    You have created VPCs, subnets and CVMs in the Shanghai and Guangzhou regions. The two subnets have no duplicate IP ranges, and CVMs reside in the subnets. For the step-by-step instructions, see Building Up an IPv4 VPC.

    Step 1. Create a CCN Instance

    1. Log in to the CCN console.
    2. Click Create at the top of the CCN management page.
    3. In the Create CCN instance dialog box, complete the following configurations, and click OK.
      Field Subfield Description
      Name - Name of the CCN instance.
      Billing mode Pay-as-you-go by monthly 95 percentile Bill the actual bandwidth usage of the current month on 95th percentile basis. It's applicable to business with fluctuating bandwidth demands.
      Service level Platinum It’s ideal for key businesses that require extremely high communication quality. Gold service is suitable for businesses that require high communication quality, such as payment and game acceleration.
      Gold It’s suitable for businesses that require transmission of key business data, such as enterprise business data and ERP.
      Silver It’s suitable for cost-sensitive and jitter-insensitive businesses that require high security.
      Limit method Inter-region bandwidth cap The inbound and outbound bandwidth cap between two regions.
      Associated instances - The options include VPC, direct connect gateway, BM virtual private cloud, and VPN gateway. In this example, we choose to associate with a VPC in the Shanghai region.

    Step 2. Associate Instances

    To associate a VPC in the Guangzhou region with CCN, perform the following steps.

    1. Log in to the CCN console, and click the ID/Name of the target CCN instance to open its details page.
    2. Select the Associated instances tab, and click Add an instance.
    3. In the Associated instances dialog box, choose to associate the VPC instance in the Guangzhou region.

      If you need to associate another network instance, click Add.

    4. Click OK to add the selected network instance to CCN.

    Step 3. Check the Route Table

    Check and confirm that routing policies of all subnets in the VPC associated with the CCN instance are valid. Any IP range conflicts between associated network instances will invalidate routes.

    1. Log in to the CCN console, and click the ID/Name of the target CCN instance.
    2. Select the Route table tab on the details page of the CCN instance to view its route tables.
    3. Check if there is any invalid routing policy. If so, modify the route table according to route limits, and then enable it.

    Step 4. Configure Bandwidth

    • Setting the cross-region bandwidth cap (only for pay-as-you-go CCN instances billed by monthly 95th percentile)
      For pay-as-you-go CCN instances billed by monthly 95 percentile, you can configure a cross-region bandwidth cap as needed, including inter-region bandwidth limit and region outbound bandwidth limit.

      • The pay-as-you-go by monthly 95 percentile mode is currently in beta. To try it out, submit a ticket.
      • The default bandwidth cap is 1 Gbps. To increase the bandwidth, submit a ticket.
    1. Log in to the CCN console, and click the ID/Name of the target CCN instance.
    2. Select the Bandwidth management tab on the details page of the CCN instance.
    3. (Optional) Click Change, and select the bandwidth limit mode as needed.

      Changing the bandwidth limit mode will delete existing configurations. The bandwidth cap will be set to 1 Gbps by default. To increase the bandwidth, submit a ticket.

    4. Configure the bandwidth cap according to the bandwidth limit mode of the CCN instance:
    • Setting inter-region bandwidth limit
      Click Change bandwidth. In the pop-up window, select Region A and Region B from the drop-down list and enter the Bandwidth cap. You can also click Add to configure multiple bandwidth limit rules, and then click OK.
    • Setting region outbound bandwidth limit
      Click Adjust bandwidth cap. In the pop-up window, select regions for which you want to limit the bandwidth on the left and set the bandwidth cap on the right. Click OK.

      Communication between CCN instances may incur fees. For pricing details, see Pricing.

    Result Validation

    Log in to a CVM in the Shanghai region, and run the ping <ip address=""> command to connect with the CVM in the Guangzhou region. If the following result appears, the two CVMs are connected.

    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support