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 image1 in the upper left corner and select the desired region and project.

  2. Click image2 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 image3 next to ID to copy the VPC ID.