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.
Background
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. Prerequisites
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
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.
|
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. |
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.
Note
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. 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.
Note
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.1 Log in to the CCN console, and click the ID/Name of the target CCN instance. 1.2 Select the Bandwidth management tab on the details page of the CCN instance.
1.3 (Optional) Click Change, and select the bandwidth limit mode as needed.
Note
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. 1.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.
Note
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.
Was this page helpful?