This topic describes how to attach network instances that are created by the same account but in different regions to a Cloud Enterprise Network (CEN) instance. This allows the network instances to communicate with each other.

Step 1: Create a CEN instance

  1. Log on to the CEN console.
  2. On the Instances page, click Create CEN instance.
  3. Set the following parameters to create a CEN instance:
    • Name: Enter a name for the CEN instance. The name must be 2 to 128 characters in length and can contain digits, underscores (_), and hyphens (-). The name must start with a letter or Chinese character. In this example, DifferentAccountDifferentRegion is entered.
    • Description: Enter a description for the CEN instance. You can leave this parameter empty. The description must start with a Chinese character or English letter, and cannot start with http:// or https://. The description must be 2 to 256 characters in length, and can contain Chinese characters, English letters, characters and letters from other languages, digits, hyphens (-), and periods (.), and underscores (_).
    • Attach Network:
      • Network Type: Specify the type of network instance to be attached to the CEN instance. You can select virtual private cloud (VPC), virtual border router (VBR), or Cloud Connect Network (CCN). In this example, VPC is selected.
      • Region: Select the region where the network instance to be attached is created. China (Qingdao) is selected in this example.
      • Networks: Select the network instance that you want to attach to the CEN instance. In this example, a VPC is selected.

Step 2: Attach network instances to the CEN instance

  1. On the Instances page of the CEN console, find the CEN instance that you created, and click Manage in the Actions column.
  2. On the Networks tab, click Attach Network and set the following parameters to attach network instances:
    • Account: Select Your Account.
    • Network Type: Select the type of network instance to be attached to the CEN instance. You can select VPC, VBR, or CCN. In this example, VPC is selected.
    • Region: Select the region where the network instance to be attached is created. China (Beijing) is selected in this example.
    • Networks: Select the network instance that you want to attach to the CEN instance. In this example, a VPC is selected.

Step 3: Purchase a bandwidth plan

To connect network instances in different regions, you must purchase a bandwidth plan:

  1. On the Instances page of the CEN console, click the ID of the CEN instance that you want to manage, and then click Bandwidth Plans.
  2. Click Purchase Bandwidth Plan(Subscription).
  3. On the Non Cross-Border tab, set the following parameters to purchase a bandwidth plan:
    • CEN: Select the CEN instance to be associated with the bandwidth plan.
    • Area A: Select an area to be connected. Mainland China is selected in this example.
    • Area B: Select the other area to be connected. Mainland China is selected in this example.

      In this example, the network instances to be connected are created in the China (Qingdao) and China (Beijing) regions. Therefore, Mainland China is selected.

    • Bandwidth: Select the maximum bandwidth of the bandwidth plan. In this example, 8 Mbit/s is selected.
    • Name: Enter a name for the bandwidth plan. In this example, MainlandBandwidthPlan is entered.
    • Duration: Specify a subscription duration for the bandwidth plan. In this example, 1 month is selected.

Step 4: Set the bandwidth for cross-region communication

  1. On the Instances page, click the ID of the CEN instance that is associated with the bandwidth plan, and then click Region Connections.
  2. Click Set Region Connection.
  3. Set the bandwidth for cross-region communication:
    • Bandwidth Plans: Select a bandwidth plan. In this example, Mainland China to Mainland China is selected.
    • Connected Regions: Select the regions to connect. The regions that you select must belong to the areas you configured for the bandwidth plan. In this example, China (Qingdao) and China (Beijing) are selected.
    • Bandwidth: Specify the bandwidth for cross-region communication. In this example, 5 Mbit/s is specified.

Step 5: Test the connectivity

To test the connectivity, log on to an Elastic Compute Service (ECS) instance in an attached network instance. Then, run the ping command to ping the private IP address of an ECS instance that is deployed in another attached network instance.

Note Make sure that rules are added to the security groups of the ECS instances to allow access from other instances.