Virtual Private Cloud (VPC) Peering
Establish communication between GCP VPCs via VPC peering
Last updated
Was this helpful?
Establish communication between GCP VPCs via VPC peering
Last updated
Was this helpful?
Virtual Private Cloud (VPC) peering establishes a direct networking connection between two VPCs, allowing traffic to flow seamlessly between them. With VPC peering, resources in the connected VPCs can communicate as though they are part of the same network, even if the VPCs reside in different regions (referred to as Inter-Region VPC peering).
This connection is ideal for facilitating data transfer between environments. For instance, if you manage multiple GCP projects, you can peer the VPCs across those projects to enable secure communication and resource sharing, such as setting up a file-sharing network.
To set up VPC peering in DuploCloud, first configure peering in the source Infrastructure, then confirm peering in the destination Infrastructure.
In the DuploCloud Portal, navigate to Administrator -> Infrastructure.
In the NAME column, select the name of the source Infrastructure.
Select the Peering tab.
Click Add. The Create VPC Peering pane displays.
Select the Destination Infrastructure.
Optionally, enable Bi-Direction/Duplex Peering, Export Custom Routes, Import Custom Routes, Export Subnets Routes With Public IP, or Import Subnet Routes With Public IP. Complete additional fields/selections as required.
Click Create. VPC peering is configured.
In the DuploCloud Portal, navigate to Administrator -> Infrastructure.
In the NAME column, select the name of the destination Infrastructure.
Select the Peering tab.
Select Edit. The Update VPC Peering pane displays.
Click Update. Verify that the peering status is Active.
In the row of the peering connection, click the menu icon ().