The network instances that need to communicate with each other are attached to the same Cloud Enterprise Network (CEN) instance. After you attach the network instances to a CEN instance, the CEN instance automatically learns routes of the attached network instances. Then, the network instances can communicate with each other.

Prerequisites

Background information

You can use CEN to connect network instances that belong to the same account or different accounts. As shown in the following figure, the CEN instance named cen-abc123 and the network instance named vpc-b123 belong to the account 87654321. The network instance named vpc-a123 belongs to a different account. You can attach both network instances to the CEN instance so that the network instances can communicate with each other.

Attach a network instance that is created by the same account

To attach vpc-b123 to cen-abc123, perform the following operations:

  1. Log on to CEN console.
  2. On the Instances page, find the CEN instance that you want to manage and click its ID.
  3. Click the Networks tab and then click Attach Network.
  4. In the Attach Network panel, click the Your Account tab.
  5. Set the following parameters to attach the network instance to the CEN instance and click OK:
    • Network Type: Select the type of network instance to attach.
    • Region: Select the region where the network instance is created.
    • Networks: Select the network instance that you want to attach.
    Attach a network instance that is created by the same account

Attach a network instance that is created by a different account

Notice Before you attach a network instance created by another account, you must acquire the permissions from the account that owns the network instance. After you acquire the permissions, you must obtain the account ID and the ID of the network instance that you want to attach. For more information, see the following topics:

To attach the network instance vpc-a123 that belongs to the account 12345678 to cen-abc123, perform the following operations:

  1. Log on to CEN console.
  2. On the Instances page, find the CEN instance that you want to manage and click its ID.
  3. Click the Networks tab and then click Attach Network.
  4. In the Attach Network panel, click the Different Account tab.
  5. Set the following parameters to attach the network instance to the CEN instance and click OK:
    • Owner Account: Enter the ID of the account to which the network instance belongs.
    • Network Type: Select the type of network instance to attach.
    • Region: Select the region where the network instance is created.
    • Networks: Select the network instance that you want to attach.
    Attach a network instance that is created by a different account