- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud
Create a Custom VPC in Google Cloud
In this lab, you'll replace a default Auto Mode network with a Custom Mode VPC, designing regional subnets with non-overlapping IP ranges the way you would in a real enterprise environment. You'll then lock down access with targeted firewall rules and confirm your network is working by testing connectivity between subnets using private IP addresses.
Lab Info
Table of Contents
-
Challenge
Create a custom mode VPC
A. Create a custom mode VPC with two regional subnets.
B. Set dynamic routing mode to global.
C. Confirm no auto-created subnets exist outside of subnet-a and subnet-b.
-
Challenge
Define firewall rules
A. Create an SSH firewall rule scoped to IAP source ranges and the allow-ssh network tag.
B. Create an ICMP firewall rule scoped to RFC 1918 address space and the allow-icmp network tag.
C. Confirm both rules are scoped to the custom VPC, not the default network.
-
Challenge
Validate cross-subnet connectivity
A. Enable Private Google Access on both subnets.
B. Deploy two VMs across subnets with no external IPs.
C. SSH into vm-subnet-a via IAP tunnel.
D. Ping vm-subnet-b using its internal IP to validate cross-subnet connectivity.
E. Remove and restore the ICMP network tag to confirm firewall rule enforcement.
About the author
Real skill practice before real-world application
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.