This tutorial guides you how to use CEN to connect the networks in different regions of different accounts.

It takes Account A and Account B as an example to introduce how to attach a network of Account B to a CEN instance of Account A.

Prerequisite

  • You have created VPCs or VBRs.

  • The VPCs and VBRs are not connected using Express Connect.

Step 1 Account A creates a CEN instance

  1. Log on to the CEN console.
  2. On the Instances page, click Create CEN instance.
  3. Configure the CEN instance.
    • Name: The name of the CEN instance. The name can contain 2-128 English letters, numbers, hyphens, or underlines, and must start with English letters. In this tutorial, enter DifferentAccountDifferentRegion.
    • Attach a network:

      • Account: Select Different Account.
      • Network Type: Select the network to connect. You can attach a VPC or a VBR. In this tutorial, select VPC.
      • Region: Select the region of the network. In this tutorial, select China North 1.
      • Networks: Select the instance to attach. In this tutorial, select a VPC instance.
  4. Obtain the ID of the created CEN instance.

    In this tutorial, the ID of the CEN instance is cbn-xxxxxxxxxx4l7.

Step 2 Account B authorizes Account A to attach a network under Account B

To attach a network belonging to a different account, you must get authorized. The network owner must first authorize CEN to attach the network on the corresponding VPC page and VBR page.

  1. Use Account B to log on to the VPC Console.
  2. In the left-side navigation pane, click VPC.
  3. Click the ID of the target VPC.
  4. On the VPC Details page, click CEN Cross Account Authorization.
  5. In the displayed dialog box, enter the ID of the account and the CEN instance to authorize, and then click OK.


Step 3 Account A attaches the network

After the authorization is completed, Account A can attach the network of Account B:

  1. Use Account A to log on to the CEN console.
  2. On the Instances page, click the Manage option in the Column action of the created CEN instance.
  3. In the Networks tab, click Attach Network and configure the network as follows:
    • Account: Select Different Account.
    • Owner Account: Enter the ID of the account that owns the network to attach. In this tutorial, enter the account ID of Account B.
    • Network Type: Select the network to connect. You can attach a VPC or a VBR. In this tutorial, select VPC.
    • Region: Select the region of the network. In this tutorial, select China North 1.
    • Networks: Select the instance to attach. In this tutorial, select a VPC instance.


Step 4 Account A buys a bandwidth package

To connect networks in different regions, you must buy a bandwidth package:
  1. On the Instances page, click the ID of the CEN instance, and then click the Bandwidth Packages tab.
  2. Click Buy Bandwidth Package (Subscription).
  3. Configure the bandwidth package as follows:
    • CEN: Select the CEN instance that requires a bandwidth package.
    • Areas: Select the areas to connect. An area consists of one or more Alibaba Cloud regions.

      The networks to connect in this tutorial are located in China North 1 and China North 2. Therefore, the interconnection areas are Mainland China and Mainland China. If the networks to connect are located in North China 1 and US West, the interconnection areas are Mainland China and North America.

    • Bandwidth: Select the bandwidth of the bandwidth package. In this tutorial, select 8 Mbps.
    • Bandwidth Package Name: Enter the name of the bandwidth package. In this tutorial, enter MainlandBandwidthPackage.
    • Purchase Period: Select the purchase period. In this tutorial, select 1 month.

Step 5 Set the cross-region bandwidth

  1. On the Instances page, click the ID of the CEN instance, and then click the Region Connections tab.
  2. Click Create Region Connection.
  3. Configure the cross-region bandwidth:
    • Bandwidth Packages: Select the interconnected areas of the bandwidth package. In this tutorial, select Mainland China to Mainland China.
    • Connected Regions: Select the regions to connect. The selected regions must belong to the selected interconnected areas. In this tutorial, select China North 1 and China North 2.
    • Bandwidth: Set the cross-region bandwidth. In this tutorial, set the bandwidth to 5 Mbps.

Step 6 Test the connectivity

Log on to any ECS instance in an attached network and ping the private IP of another ECS instance in another attached network to test the connectivity.

Make sure that corresponding authorization rules are configured in the security groups of the ECS instances.