Configuring Networks via gcloud
A Virtual Private Cloud (VPC) network is a global resource which consists of a list of regional virtual subnetworks (subnets) in data centers, all connected by a global wide area network (WAN). VPC networks are logically isolated from each other in Google Cloud Platform (GCP). VPC provides networking functionality to Compute Engine virtual machine (VM) instances, Kubernetes Engine containers, and App Engine Flex. Each GCP project by default has a
default network configuration which provides each region with an auto subnet network.
In this lab you use
gcloud to create two custom VPC networks with subnets, firewall rules, and VM instances, then test the networks' ability to allow traffic from the public internet.
Join Qwiklabs to read the rest of this lab...and more!
- Get temporary access to the Google Cloud Console.
- Over 200 labs from beginner to advanced levels.
- Bite-sized so you can learn at your own pace.
Create a VPC with custom subnet mode.
Create custom subnet within the labnet VPC
Add firewall rules to allow tcp:22 and icmp
Create another VPC, subnet and required deny firewall rules.
Create VM instances