Set Up a Google Cloud Network Challenge Lab
Set Up a Google Cloud Network Challenge Lab
GSP314
Overview
In a challenge lab you’re given a scenario and a set of tasks. Instead of
following step-by-step instructions, you will use the skills learned from the
labs in the course to figure out how to complete the tasks on your own! An
automated scoring system (shown on this page) will provide feedback on
whether you have completed your tasks correctly.
When you take a challenge lab, you will not be taught new Google Cloud
concepts. You are expected to extend your learned skills, like changing
default values and reading and researching error messages to fix your own
mistakes.
To score 100% you must successfully complete all tasks within the time
period!
This lab is recommended for students who have enrolled in the Set up a
Google Cloud Network skill badge. Are you ready for the challenge?
Setup
Read these instructions. Labs are timed and you cannot pause them. The
timer, which starts when you click Start Lab, shows how long Google Cloud
resources will be made available to you.
This hands-on lab lets you do the lab activities yourself in a real cloud
environment, not in a simulation or demo environment. It does so by giving
you new, temporary credentials that you use to sign in and access Google
Cloud for the duration of the lab.
1. Create a VPC network named network name with two subnets: subnet a
name and subnet b name. Use a Regional dynamic routing mode.
2. For subnet a name set the region to network region 1.
Set the priority to 1000, the traffic to Ingress and action to Allow
The targets should be set to all instances in the network and the IPv4
ranges to 0.0.0.0/0
Set the priority to 65535, the traffic to Ingress and action to Allow
The targets should be set to all instances in the network and the IPv4
ranges to 0.0.0.0/24
Set the priority to 65535, the traffic to Ingress and action to Allow
The targets should be set to all instances in the network and the IPv4
ranges to 0.0.0.0/24
1. Create an instance name us-test-01 in subnet a name and set the zone
to ZONE.
2. Create an instance name us-test-02 in subnet b name and set the zone
to ZONE.
Click the SSH button corresponding to the us-test-01. This opens an SSH
connection to the instance in a new window.
In the SSH window of us-test-01, type the following command to use an ICMP
echo against us-test-02, adding the external IP address for the VM in-line:
ping -c 3 <us-test-02-external-ip-address>
Copied!
content_copy
Use ping to measure the latency between instances between all the regions.
To observe the latency, run the following command after opening an SSH
window on the us-test-01:
ping -c 3 us-test-02.ZONE
Copied!
content_copy
Congratulations!
In this challenge lab you have shown that you know how to create a network,
add subnets and virtual machines, and confirmed that the VMs can
communicate with each other.
Copyright 2024 Google LLC All rights reserved. Google and the Google logo
are trademarks of Google LLC. All other company and product names may be
trademarks of the respective companies with which they are associated.