Updated on 2024-04-18 GMT+08:00

Obtaining a VPC ID

Scenarios

This section describes how to view and obtain a VPC ID.

If you create a VPC peering connection between two VPCs in different accounts, you need to obtain the project ID of the region that the peer VPC resides. You can recommend this section to the user of the peer VPC to obtain the project ID.

Procedure

  1. Log in to the management console.
  1. Click in the upper left corner and select the desired region and project.
  2. Click in the upper left corner and choose Network > Virtual Private Cloud.

    The Virtual Private Cloud page is displayed.

  3. On the Virtual Private Cloud page, locate the VPC and click its name.

    The VPC details page is displayed.

  4. In the VPC Information area, view the VPC ID.

    Click next to ID to copy the VPC ID.