Help Center> Cloud Connect> Best Practices> Connecting the VPCs in Your Account to the VPCs in Another User's Account
Updated on 2022-06-29 GMT+08:00

Connecting the VPCs in Your Account to the VPCs in Another User's Account

Scenarios

Cloud Connect enables you to load the VPCs of other users to your own cloud connections so that your VPCs can communicate with the VPCs of those other users.

Figure 1 shows the networking topology.

Figure 1 Networking
  • Account A: This is your account. You need to ask the other user who has account B to allow you to load VPC 2 to your cloud connection.
  • Account B: This is the other user's account that grants you the permission to load VPC 2 to your cloud connection.

    (If multiple VPCs in account B need to communicate with each other across regions, you can ask the other user to grant the permission to load all these VPCs to your cloud connection.)

  • You load VPC 1 and VPC 2 to your cloud connection to enable the two VPCs to communicate with each other. The other user does not need to create a cloud connection, purchase a bandwidth package, or assign an inter-region bandwidth.

Prerequisites

You have the permissions of Tenant Guest, VPC Administrator, and Cross Connect Administrator for the region where this other user resides.

In this scenario, account A must have the permissions of the preceding roles in the CN South-Guangzhou region where VPC 2 of account B resides.

For details, see Permission Management.

Procedure

  1. Create a VPC in your account, ask this other user to create another VPC in their account, and ensure that CIDR blocks of the two VPCs do not conflict with each other.

    VPC in your account: 172.16.100.0/24

    VPC in the other user's account: 172.16.200.0/24

    For details, see Creating a VPC.

  2. Create a cloud connection.

    For details, see Creating a Cloud Connection.

  3. Ask the other user to allow you to load VPC 2 to your cloud connection.

    For details, see Allowing Other Users to Load Your VPCs.

  4. Load the two VPCs to your cloud connection.

    For details about how to load a VPC of the other user, see Loading the VPCs of Other Users.

    For details about how to load the VPC in your account, see Loading a Network Instance.

  5. Buy a bandwidth package and bind it to your cloud connection.

    For details, see Purchasing a Bandwidth Package.

  6. Assign an inter-region bandwidth.

    For details, see Assigning Inter-Region Bandwidth.

Verification

View the routes of the cloud connection and verify these VPCs can communicate with each other.

For details, see Viewing Route Information.