Establishing VPC Network Peering Connections in Google Cloud
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
Prerequisites
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:
- Create a Network Infrastructure with Google Virtual Private Cloud
- Starting a Linux Virtual Machine on Google Compute Engine
Updates
- May 09, 2022 - Updated instructions
Environment before
Environment after
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.