VPC Network Peering (Lab GSP193)
Task 1. Create a custom network in both projects
- Created a custom network with one subnet in Project-A

- Created a firewall rule with following specifications Project-A.

- Created a VM instance in Project-A.

- Created a custom network with one subnet in Project-B

- Created a firewall rule with following specifications in Project-B.

- Created a VM instance in Project-B.

Task 2. Set up a VPC network peering session
Project-A

Project-B

VPC Network Peering becomes ACTIVE and routes are exchanged As soon as the peering moves to an ACTIVE state

Task 3. Test connectivity

As you can see we are able to ping the internal ip-adress of vm-a from vm-b even if they are in different projects and vpc networks as well ,because of vpc-network-peering.