Create the VM instances

Check my progress

/ 100

This lab may incorporate AI tools to support your learning.
This content is not yet optimized for mobile devices.
For the best experience, please visit us on a desktop computer using a link sent by email.

GSP219

Google Cloud self-paced labs

Overview

In this lab, you create one VM in the Premium Tier (default) and one VM in the Standard Tier. Then, you compare the latency and network paths for each VM instance.

With Network Service Tiers, Google Cloud lets you optimize your cloud network for performance by choosing Premium Tier or for cost by choosing Standard Tier.

Premium Tier

Premium Tier delivers traffic over Google's well-provisioned, low-latency, highly reliable global network. This network consists of an extensive global private fiber network with over 100 points of presence (PoPs) across the globe.

Premium Tier traffic delivery flow diagram.

Standard Tier

Standard Tier is a lower-cost offering. This tier provides network quality that is comparable to other public cloud providers (but lower than Premium Tier) and regional network services such as regional load balancing with one VIP per region.

Standard Tier traffic delivery flow diagram.

Standard Tier costs less than Premium Tier because transit (ISP) networks deliver traffic between Google Cloud and your end user over the internet instead of Google's network.

What you'll learn

In this lab, you learn how to perform the following tasks:

  • Create a VM using the Premium network service tier.
  • Create a VM using the Standard network service tier.
  • Explore the latency and network paths for VMs on different network service tiers.

Setup and requirements

Before you click the Start Lab button

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 are made available to you.

This hands-on lab lets you do the lab activities in a real cloud environment, not in a simulation or demo environment. It does so by giving you new, temporary credentials you use to sign in and access Google Cloud for the duration of the lab.

To complete this lab, you need:

  • Access to a standard internet browser (Chrome browser recommended).
Note: Use an Incognito (recommended) or private browser window to run this lab. This prevents conflicts between your personal account and the student account, which may cause extra charges incurred to your personal account.
  • Time to complete the lab—remember, once you start, you cannot pause a lab.
Note: Use only the student account for this lab. If you use a different Google Cloud account, you may incur charges to that account.

How to start your lab and sign in to the Google Cloud console

  1. Click the Start Lab button. If you need to pay for the lab, a dialog opens for you to select your payment method. On the right is the Lab setup and access panel with the following:

    • The Open Google Cloud console button
    • The temporary credentials (username and password) that you must use for this lab
    • Other information, if needed, to step through this lab

    Note that the lab timer is located near the top of the page, showing the remaining time.

  2. Click Open Google Cloud console (or right-click and select Open Link in Incognito Window if you are running the Chrome browser).

    The lab spins up resources, and then opens another tab that shows the Sign in page.

    Tip: Arrange the tabs in separate windows, side-by-side.

    Note: If you see the Choose an account dialog, click Use Another Account.
  3. If necessary, copy the Username below and paste it into the Sign in dialog.

    {{{user_0.username | "Username"}}}

    You can also find the Username in the Lab setup and access panel.

  4. Click Next.

  5. Copy the Password below and paste it into the Welcome dialog.

    {{{user_0.password | "Password"}}}

    You can also find the Password in the Lab setup and access panel.

  6. Click Next.

    Important: You must use the credentials the lab provides you. Do not use your Google Cloud account credentials. Note: Using your own Google Cloud account for this lab may incur extra charges.
  7. Click through the subsequent pages:

    • Accept the terms and conditions.
    • Do not add recovery options or two-factor authentication (because this is a temporary account).
    • Do not sign up for free trials.

After a few moments, the Google Cloud console opens in this tab.

Note: To access Google Cloud products and services, click the Navigation menu or type the service or product name in the Search field. Navigation menu icon and Search field

Task 1. Create the VM instances

You can configure the network tier for your VM instances at the project level or at the resource level. In this lab, you create two VM instances and define their network service tier during instance creation.

Create the Premium Tier VM

Create a VM instance using the Premium Tier, which is the default.

  1. In the Google Cloud console, on the Navigation menu (Navigation menu icon), select Compute Engine > VM instances.

  2. Click Create instance.

  3. In the Machine configuration section, set the following values, and leave the remaining settings as their defaults:

    Property Value (type value or select option as specified)
    Name vm-premium
    Region
    Zone
    Series E2
    Machine type e2-medium (2 vCPU)
  4. In the navigation pane, click Networking.

  5. For Network interfaces, click the default drop-down to edit.

  6. Verify that Premium is the selected Network Service Tier.

Note: Premium Tier is the default at the project level. Do not change the project-level tier in this lab.
  1. Click Done.
  2. Click Create.

Create the Standard Tier VM

Create a VM instance of the same machine type and in the same zone, but use the Standard Tier.

  1. Click Create instance.

  2. In the Machine configuration section, set the following values, and leave the remaining settings as their defaults:

    Property Value (type value or select option as specified)
    Name vm-standard
    Region
    Zone
    Series E2
    Machine type e2-medium (2 vCPU)
  3. In the navigation pane, click Networking.

  4. For Network interfaces, click the default drop-down to edit.

  5. For Network Service Tier, select Standard.

  6. Click Done.

  7. Click Create.

Note: Both VM instances have the same machine type, zone, and VPC network. The only differences are the Network Service Tier and the instance names.

Wait until Compute Engine creates both instances and displays a status check mark next to each instance's name.

  1. In the VM instances list, note the External IP addresses of vm-premium and vm-standard. Later steps refer to these addresses as [premium-IP] and [standard-IP], respectively.

Click Check my progress to verify the objective. Create the VM instances

Task 2. Explore the latency and network paths

In this task, you explore some of the network performance differences between Premium Tier and Standard Tier.

Explore the latency for both VM instances

First, you explore the latency from a third-party service in Europe to your VM instances in . Latency is the Round Trip Time (RTT) that network packets take to travel from one host to another and back. Lower latency improves user experience and transfer speeds.

In this lab, you use Ping to demonstrate the latency that a user in Europe might experience when accessing your server in .

  1. Open a new browser tab and go to Ping.
  2. For IP address or host name, enter [premium-IP].
  3. For Enter code, type the security code, and then click Go.

Wait for the 4 consecutive pings to finish. The output should resemble the following:

--- PING 35.202.10.213 (35.202.10.213) 56(84) bytes of data. --- 64 bytes from 35.202.10.213: icmp_seq=1 ttl=54 time=124 ms 64 bytes from 35.202.10.213: icmp_seq=2 ttl=54 time=123 ms 64 bytes from 35.202.10.213: icmp_seq=3 ttl=54 time=123 ms 64 bytes from 35.202.10.213: icmp_seq=4 ttl=54 time=123 ms ... --- Round Trip Time (rtt) --- min 123.499 ms avg 123.753 ms max 124.225 ms Note: In the example output, the average latency of the Premium Tier VM is 123.753 milliseconds.
  1. For IP address or host name, enter [standard-IP].
  2. For Enter code, type the security code, and then click Go.

Wait for the 4 consecutive pings to finish. The output should resemble the following:

--- PING 35.206.65.89 (35.206.65.89) 56(84) bytes of data. --- 64 bytes from 35.206.65.89: icmp_seq=1 ttl=69 time=128 ms 64 bytes from 35.206.65.89: icmp_seq=2 ttl=69 time=127 ms 64 bytes from 35.206.65.89: icmp_seq=3 ttl=69 time=127 ms 64 bytes from 35.206.65.89: icmp_seq=4 ttl=69 time=127 ms ... --- Round Trip Time (rtt) --- min 127.746 ms avg 127.986 ms max 128.470 ms

In the example output, the average latency of the Standard Tier VM is 127.986 milliseconds. Therefore, the Premium Tier VM has a 5% lower latency than the Standard Tier VM.

This is a basic test. Passing real application traffic is always the best indicator of latency and performance. To learn more about performance differences between network tiers, read the Google Cloud blog post on Network Service Tiers.

Explore the network paths for both VM instances

Next, you explore the network paths between a third-party service in Europe and your VM instances in using traceroute. Traceroute shows all Layer 3 (routing layer) hops between hosts; therefore, it illustrates a network path between hosts.

In this lab, you use Traceroute to visualize a network path that traffic from a user in Europe might take when accessing your server in .

  1. Open a new browser tab and go to Traceroute.
  2. For IP address or host name, enter [premium-IP].
  3. For Enter code, type the security code, and then click Go.

Wait for the traceroute to finish. The output should resemble the following:

traceroute to 35.202.10.213 (35.202.10.213), 30 hops max, 60 byte packets 1 * * * 2 core21.fsn1.hetzner.com 213.239.245.237 de 0.293 ms core22.fsn1.hetzner.com 213.239.245.241 de 0.231 ms core21.fsn1.hetzner.com 213.239.245.237 de 0.293 ms 3 core12.nbg1.hetzner.com 213.239.245.214 de 2.791 ms core11.nbg1.hetzner.com 213.239.224.9 de 2.764 ms core0.fra.hetzner.com 213.239.252.29 de 5.014 ms 4 core4.fra.hetzner.com 213.239.245.245 de 5.489 ms 5.484 ms us 5 * * * 6 * * * 7 * * * 8 * * * 9 * * * No reply for 5 hops. Assuming we reached the firewall.

In the example output, the traffic destined for the Premium Tier VM reached Google Cloud's network after the 5th hop. Hop 4 lists an IP address in Bavaria, Germany, which is the same state as the origin server and has an Edge Point of Presence (PoP). Therefore, the Premium Tier traffic entered the Google Cloud network very close to the user, as expected.

  1. For IP address or host name, enter [standard-IP].
  2. For Enter code, type the security code, and then click Go.

Wait for the traceroute to finish. The output should resemble the following:

traceroute to 35.206.65.89 (35.206.65.89), 30 hops max, 60 byte packets 1 * * * 2 core22.fsn1.hetzner.com 213.239.245.241 de 0.229 ms core21.fsn1.hetzner.com 213.239.245.237 de 0.229 ms core22.fsn1.hetzner.com 213.239.245.241 de 0.229 ms 3 core12.nbg1.hetzner.com 213.239.224.13 de 2.807 ms core5.fra.hetzner.com 213.239.224.246 de 4.948 ms 4.956 ms 4 ffm-b4-link.telia.net 213.248.70.2 5.023 ms 5.030 ms 5.032 ms 5 hbg-b1-link.telia.net 213.248.70.0 14.883 ms ffm-bb4-link.telia.net 62.115.120.7 108.287 ms ffm-bb3-link.telia.net 62.115.120.1 119.768 ms 6 hbg-bb4-link.telia.net 213.155.135.86 115.076 ms hbg-bb1-link.telia.net 213.155.135.82 115.813 ms hbg-bb4-link.telia.net 62.115.141.110 126.967 ms 7 ldn-bb4-link.telia.net 62.115.122.161 116.926 ms nyk-bb3-link.telia.net 213.155.135.5 109.611 ms nyk-bb4-link.telia.net 80.91.251.100 110.269 ms 8 hbg-bb1-link.telia.net 80.91.249.11 145.034 ms chi-b21-link.telia.net 62.115.137.59 110.215 ms nyk-bb4-link.telia.net 62.115.136.185 126.232 ms 9 kbn-bb3-link.telia.net 213.155.130.101 125.870 ms 125.816 ms chi-b21-link.telia.net 62.115.137.59 116.943 ms 10 google-ic-326155-chi-b21.c.telia.net 213.248.66.127 115.447 ms 11 chi-b21-link.telia.net 80.91.246.162 125.726 ms 12 * * * 13 * * * 14 * * * 15 * * * 16 * * * No reply for 5 hops. Assuming we reached firewall.

In the example output, the traffic destined for the Standard Tier VM reached Google Cloud's network after the 12th hop. Hop 11 lists an IP address in Chicago, USA, which has an Edge Point of Presence (PoP) and is close to Iowa, USA (). This demonstrates that Premium Tier traffic enters the Google Cloud network much closer to the user than Standard Tier traffic.

Note: Traffic on the public internet can use different routes. Therefore, you might get slightly different results than the preceding examples.

Congratulations!

In this lab, you created one VM in the Premium Tier (default) and one VM in the Standard Tier. Then, you used a third-party service to visualize the differences in latency and network paths for each VM instance. The Premium Tier VM had lower latency, and its traffic entered Google Cloud's network sooner than the Standard Tier VM.

With Network Service Tiers, Google Cloud offers the flexibility to configure your resources for performance or cost with Standard Tier networking. To learn more about the pricing differences between both network tiers, refer to the Network Service Tiers pricing documentation.

Take your next lab

Continue your course with VPC Flow Logs - Analyzing Network Traffic, or check out these suggestions:

Next steps / learn more

For information on Network Service Tiers, see the Network Service Tiers documentation.

Google Cloud training and certification

...helps you make the most of Google Cloud technologies. Our classes include technical skills and best practices to help you get up to speed quickly and continue your learning journey. We offer fundamental to advanced level training, with on-demand, live, and virtual options to suit your busy schedule. Certifications help you validate and prove your skill and expertise in Google Cloud technologies.

Manual Last Updated on November 18, 2026

Lab Last Tested October 22, 2024

Copyright 2026 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.

Before you begin

  1. Labs create a Google Cloud project and resources for a fixed time
  2. Labs have a time limit and no pause feature. If you end the lab, you'll have to restart from the beginning.
  3. On the top left of your screen, click Start lab to begin

Use private browsing

  1. Copy the provided Username and Password for the lab
  2. Click Open console in private mode

Sign in to the Console

  1. Sign in using your lab credentials. Using other credentials might cause errors or incur charges.
  2. Accept the terms, and skip the recovery resource page
  3. Don't click End lab unless you've finished the lab or want to restart it, as it will clear your work and remove the project

This content is not currently available

We can notify you via email when it becomes available

Great!

We can contact you via email if it becomes available

One lab at a time

Confirm to end all existing labs and start this one

Use private browsing to run the lab

Using an Incognito or private browser window is the best way to run this lab. This prevents any conflicts between your personal account and the Student account, which may cause extra charges incurred to your personal account.