hands-on lab

Establishing VPC Network Peering Connections in Google Cloud

Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.
Lab description

A Google Virtual Private Cloud (VPC) network is an isolated environment that provides the underlying network components for your cloud resources. VPC network peering is the act of connecting two or more VPC networks together to allow communication between resources within Google's secure, private network. This means any traffic between resources is not sent over the public Internet which can improve network security, and reduce network latency and costs.

In this lab, you will create a VPC network peering connection between two networks. You will learn which VPC network components are automatically shared between networks, and which components you must update after the connection is established. To validate the network peering connection, you will attempt to send simple requests between Compute Engine instances in the separate VPC networks.

Learning Objectives

Upon completion of this intermediate-level lab, you will be able to:

  • Create a peering connection between two Google VPC networks
  • Update Google Firewall rules to allow ingress traffic between networks
  • Establish a connection between Compute Engine instances hosted in separate networks

Intended Audience

  • Candidates for the Google Associate Cloud Engineer certification
  • Google Cloud Practitioners


Familiarity with the following will be beneficial but is not required:

  • Google Cloud Networks
  • Google Cloud Firewalls
  • Google Compute Engine instances

The following content can be used to fulfill the prerequisite:


  • May 09, 2022 - Updated instructions


Environment before
Environment after
About the author
Jun Fritz, opens in a new tab
Cloud Labs Developer
Learning paths

Jun is a Cloud Labs Developer with previous experience as a Software Engineer and Cloud Developer. He holds the AWS Certified Solutions Architect and DevOps Engineer Professional certifications. He also holds the AWS Certified Solutions Architect, Developer, and SysOps Administrator Associate certifications. 

Jun is focused on giving back to the growing cloud community by sharing his knowledge and experience with students and creating engaging content. 

Covered topics
Lab steps
Signing In to the Google Cloud Console
Creating a VPC Network Peering Connection in Google Cloud
Applying Ingress Firewall Rules for Peered Network Connections