This tutorial guides you how to use CEN to connect the networks in the same region of the same account.

Prerequisite

  • You have created VPCs or VBRs.

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

Step 1 Create 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 can be 2-128 characters in length. It can start with an uppercase letter, lowercase letter, or Chinese character. It can contain numbers, underscores (_), and hyphens (-), but cannot start with http:// or https://. In this tutorial, enter SameRegionSameAccount.
    • Attach a network:

      • Account: Select Your 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.


Step 2 Attach networks

  1. On the Instances page, click the Manage option under the Action column of the created CEN instance.


  2. On the Networks page, Click Attach Network and configure the network as follows:
    • Account: Select Your 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 2.
    • Networks: Select the instance to attach. In this tutorial, select a VPC instance.


Step 3 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.

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