hands-on lab

Establishing VPC Network Peering Connections in Google Cloud

Difficulty: Intermediate
Duration: Up to 45 minutes
Students: 186
Rating: 4.3/5
On average, students complete this lab in21m
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.

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

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:

Updates

  • May 09, 2022 - Updated instructions

 

Environment before

Environment after

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