arrow_back

A Tour of Google Cloud Hands-on Labs

Join Sign in

A Tour of Google Cloud Hands-on Labs

45 minutes Free

GSP282

Google Cloud Self-Paced Labs

Overview

Google Cloud is a suite of cloud services hosted on Google's infrastructure. From computing and storage, to data analytics, machine learning, and networking, Google Cloud offers a wide variety of services and APIs that can be integrated with any cloud-computing application or project, from personal to enterprise-grade.

In this introductory-level lab, you will take your first steps with Google Cloud by getting hands-on practice with the Cloud Console—an in-browser UI that lets you access and manage Google Cloud services. You will identify key features of Google Cloud and also learn about the details of the lab environment. If you are new to cloud computing or looking for an overview of Google Cloud and Qwiklabs, you are in the right place. Read on to learn about the specifics of this lab and areas that you will get hands-on practice with.

What you will learn

In this lab, you will do the following:

  • Learn about the labs platform, and identify key features of a lab environment.

  • Learn how to access the Cloud Console with specific credentials.

  • Learn about Google Cloud projects, and identify common misconceptions about them.

  • Learn how to use the Google Cloud Navigation menu to identify types of Google Cloud services.

  • Learn about primitive roles, and use the Cloud IAM service to inspect actions available to specific users.

  • Learn about the API library, and examine its chief features.

Prerequisites

This is an introductory-level lab and the first lab you should take if you're unfamiliar with Google Cloud. If you are already experienced with Cloud Console, consider taking one of the following labs:

If you decide to take one, be sure to end this lab now.

If you have a personal or corporate Google Cloud account or project, sign out of that account. If you stay logged in to your personal/corporate account and run the lab in the same browser, your credentials could get confused, resulting in get logged out of the lab accidentally.

If you are use a Pixelbook, run your lab an Incognito window.

Lab fundamentals

Features and components

Regardless of topic or expertise level, all labs share a common interface. The lab that you're taking should look similar to this:

lab_view.png

Note: You are not taking the "Creating a Virtual Machine" lab shown in the image; it is used as an example to highlight common features across labs.

Read the following lab component definitions, and then locate them in the interface.

Start Lab (button)

Clicking this button creates a temporary Google Cloud environment, with all the necessary services and credentials enabled, so you can get hands-on practice with the lab's material. This also starts a countdown timer.

Credit

The price of a lab. 1 Credit is usually equivalent to 1 US dollar (discounts are available when you purchase credits in bulk). Some introductory-level labs (like this one) are free. The more specialized labs cost more because they involve heavier computing tasks and demand more Google Cloud resources.

Time

Specifies the amount of time you have to complete a lab. When you click the Start Lab button, the timer will count down until it reaches 00:00:00. When it does, your temporary Google Cloud environment and resources are deleted. Ample time is given to complete a lab, but make sure you don't work on something else while a lab is running: you risk losing all of your hard work!

Score

Many labs include a score. This feature is called "activity tracking" and ensures that you complete specified steps in a lab. To pass a lab with activity tracking, you need to complete all the steps in order. Only then will you receive completion credit.

Reading and following instructions

This browser tab contains the lab instructions. When you start a lab, the lab environment—in this case, the Google Cloud Console user interface—opens in a new browser tab. You will need to switch between the two browser tabs to read the instructions and then perform the tasks. Depending on your physical computer setup, you could also move the two tabs to separate monitors.

Test your understanding

Answer the following multiple choice questions to reinforce your understanding of the concepts we've covered so far.

Accessing the Cloud Console

Start the lab

  • Now that you understand the key features and components of a lab, click Start Lab.

It may take a moment for the Google Cloud environment and credentials to spin up. When the timer starts counting down and the Start Lab button changes to a red End Lab button, everything is in place and you're ready to sign in to the Cloud Console.

Note: Do not click the End Lab button until you have completed all the tasks in the lab. When you click the button, your temporary credentials are invalidated and you won't be able to access the work you've done throughout the lab. You must click this button when you finish; if you do not, you won't be able to take another lab. (Qwiklabs has protections in place to prevent concurrent enrollment.)

Connection Details pane

Now that your lab instance is up and running, look at the left pane. It contains an Open Google Console button, credentials (username and password), and a Project ID field.

Open_Google_Console.png

Note: Your credentials will resemble but not match the image; every lab instance generates new temporary credentials.

Now examine each of these components.

Open Google Console

This button opens the Cloud Console: the web console and central development hub for Google Cloud. You will do the majority of your work in Google Cloud from this interface.

Project ID

A Google Cloud project is an organizing entity for your Google Cloud resources. It often contains resources and services; for example, it may hold a pool of virtual machines, a set of databases, and a network that connects them together. Projects also contain settings and permissions, which specify security rules and who has access to what resources.

A Project ID is a unique identifier that is used to link Google Cloud resources and APIs to your specific project. Project IDs are unique across Google Cloud: there can be only one qwiklabs-gcp-xxx...., which makes it globally identifiable.

Username and Password

These credentials represent an identity in the Cloud Identity and Access Management (Cloud IAM) service. This identity has access permissions (a role or roles) that allow you to work with Google Cloud resources in the project you've been allocated. These credentials are temporary and will only work for the access time of the lab. When the timer reaches 00:00:00, you will no longer have access your Google Cloud project with those credentials.

Task 1: Sign in to Google Cloud

Now that you have a better understanding of the Connection Details pane, use its contents to sign in to the Cloud Console.

  1. Click Open Google Console.

This opens the Google Cloud sign-in page in a new browser tab.

SignInPage.png

If you've ever signed in to a Google application like Gmail, this page should look familiar.

Tip Open the tabs in separate windows, side-by-side.

  1. Copy the Username from the Connection Details pane, paste it in the Email or phone field, and click Next.

Wait! Make sure to use the googlexxxxxx_student@qwiklabs.net email to sign in, NOT your personal or company email address!

The username that resembles googlexxxxxx_student@qwiklabs.net is a Google account that was created for your use as a student. It has a specific domain name, which is "qwiklabs.net," and has been assigned IAM roles that allow you to access the Google Cloud Project that you have been provisioned.
  1. Copy the Password from the Connection Details pane, paste it in the Password field, and click Next.

  2. Click Accept to indicate your acknowledgement of Google's terms of service and privacy policy.

  3. On the Protect your account page, click Confirm.

Because this is a temporary account, don't worry about updating recovery phone numbers or emails.

  1. On the Welcome student! page, check Terms of Service to agree to Google Cloud's terms of service, and click Agree and continue.

You've successfully accessed the Cloud Console with your student credentials! Your page should now look like this:

35a55968748df7c0.png

Test your understanding

Answer the following multiple choice questions to reinforce your understanding of the concepts covered so far.

Now that you have signed in to the Cloud Console and understand the basics of your credentials, it's time to learn a little bit more about Google Cloud projects.

Projects in the Cloud Console

Google Cloud projects were explained in the section about the contents of the Connection Details pane. Here's the definition once again:

A Google Cloud project is an organizing entity for your Google Cloud resources. It often contains resources and services; for example, it may hold a pool of virtual machines, a set of databases, and a network that connects them together. Projects also contain settings and permissions, which specify security rules and who has access to what resources.

The upper-left corner of the central pane contains a card labeled Project info that looks like this:

76370a4185212435.png

Your project has a name, ID, and number. These identifiers are frequently used when interacting with Google Cloud services. You are working with one project to get experience with a specific service or feature of Google Cloud.

Task 2: View all projects

You actually have access to more than one Google Cloud project. In fact, in some labs you may be given more than one project in order to complete the assigned tasks.

  1. In the Google Cloud Console title bar, next to your project name, click the drop-down menu.
  2. In the Select a project dialog, click All. The resulting list of projects includes a "Qwiklabs Resources" project.

66c73e22ea578f78.png

Do not switch over to the Qwiklabs Resources project at this point! However, you may use it later in other labs.

It's not uncommon for large enterprises or experienced users of Google Cloud to have dozens to thousands of Google Cloud projects. Organizations use Google Cloud in different ways, so projects are a good method for organizing cloud computing services (by team or product, for example.)

The "Qwiklabs Resources" project contains files, datasets, and machine images for certain labs and can be accessed from every Google Cloud lab environment. It's important to note that "Qwiklabs Resources" is shared (read only) with all student users, which means that you cannot delete or modify it.

The Google Cloud project that you are working with is temporary, which means that the project and everything it contains will be deleted when the lab ends. Whenever you start a new lab, you will be given access to one or more new Google Cloud projects, and there (not "Qwiklabs Resources") is where you will run all of the lab steps.

Test your understanding

Answer the following multiple choice questions to reinforce your understanding of the concepts covered so far.

Navigation menu and services

The Google Cloud Console title bar also contains a button labeled with a three-line icon:

818684f8e0d0a523.png

Clicking this button opens (or hides) the Navigation menu that provides quick access to Google Cloud's core services.

  • If the menu isn't open, click the button now and scroll through to see the types of services available:

5012e407e81c6d07.png

There are seven categories of Google Cloud services:

  • Compute: A variety of machine types that support any type of workload. The different computing options let you decide how much control you want over operational details and infrastructure.
  • Storage: Data storage and database options for structured or unstructured, relational or nonrelational data.
  • Networking: Services that balance application traffic and provision security rules.
  • Cloud Operations: A suite of cross-cloud logging, monitoring, trace, and other service reliability tools.
  • Tools: Services that help developers manage deployments and application build pipelines.
  • Big Data: Services that allow you to process and analyze large datasets.
  • Artificial Intelligence: A suite of APIs that run specific artificial intelligence and machine learning tasks on Google Cloud.

This link takes you to documentation that covers each of these categories in more detail.

Roles and permissions

Earlier you learned that, in addition to cloud computing services, Google Cloud also contains a collection of permissions and roles that define who has access to what resources. You can use the Cloud Identity and Access Management (Cloud IAM) service to inspect and modify these roles and permissions.

Task 3: View your roles and permissions

  1. On the Navigation menu (Navigation menu), click IAM & Admin. This opens a page that contains a list of users and specifies permissions and roles granted to specific accounts.

87534f555ed17b88.png

  1. Find the "@qwiklabs" username you signed in with:

iam.png "Find Qwiklabs Member"

The Member column displays googlexxxxxx_student@qwiklabs.net (which matches the username you signed in with). The Name column displays googlexxxxxx_student@qwiklabs.net student. The Role column displays Editor, which is one of three basic roles offered by Google Cloud. Basic roles set project-level permissions and, unless otherwise specified, control access and management to all Google Cloud services.

The following table pulls definitions from the roles documentation, which gives a brief overview of viewer, editor, and owner role permissions:

Role Name Permissions
roles/viewer Permissions for read-only actions that do not affect state, such as viewing (but not modifying) existing resources or data.
roles/editor All viewer permissions, plus permissions for actions that modify state, such as changing existing resources.
roles/owner All editor permissions and permissions for the following actions: manage roles and permissions for a project and all resources within the project; set up billing for a project.

As an editor, you can create, modify, and delete Google Cloud resources. However, you can't add or delete members from Google Cloud projects.

Test your understanding

Answer the following multiple choice questions to reinforce your understanding of the concepts covered so far.

APIs and services

Google Cloud APIs are a key part of Google Cloud. Like services, the 200+ APIs, in areas that range from business administration to machine learning, all easily integrate with Google Cloud projects and applications.

APIs are application programming interfaces that you can call directly or via the client libraries. Cloud APIs use resource-oriented design principles as described in the API Design Guide.

When a lab provisions a new Google Cloud project for a lab instance, it enables most APIs automatically so you can quickly start work on the lab's tasks. When you create your own Google Cloud projects outside of the lab environmnet, you will have to enable certain APIs yourself.

Most Cloud APIs provide you with detailed information on your project’s usage of that API, including traffic levels, error rates, and even latencies, which helps you quickly triage problems with applications that use Google services.

Task 4: View available APIs

  1. On the Navigation menu (Navigation menu), click APIs & Services > Library. The left pane, under the header CATEGORY, displays the different categories available.

apis.gif

  1. In the API search bar, type Dialogflow, and then click Dialogflow API. The Dialogflow description page opens.

dialogflow.png

The Dialogflow API allows you to build rich conversational applications (e.g., for Google Assistant) without having to understand the underlying machine learning and natural language schema.

  1. Click Enable. The Dialogflow description page opens.

  2. Click the back button in your browser to verify that the API is now enabled.

enabled.png

  1. Click Try this API. A new browser tab displays documentation for the Dialogflow API. Explore this information, and close the tab when you're finished.

  2. To return to the main page of the Cloud Console, on the Navigation menu, click Home.

If you're interested in learning more about APIs, open the Google APIs Explorer. Google also has a lab, APIs Explorer: Qwik Start, that will give you hands-on experience with the tool, using a simple example.

Test your understanding

Answer the following multiple choice question to reinforce your understanding of the concepts covered so far.

Ending your lab

Now that you're finished with the lab, click End Lab and then click Submit to confirm it.

end_lab.gif

Please rate each lab you take. five_stars.png

Rate the lab if you were satisfied, and something less if you weren't. Leave comments about your experiences in the "Comment" window; Google always appreciates thoughtful feedback.

Ending a lab will remove your access to the Google Cloud project and the work you've done in it. If you return to the Cloud Console, you will see that you've been signed out automatically. You can close that tab now.

Congratulations!

In just 30 minutes, you developed a solid understanding of the Cloud Console and the platform's key features. You learned about projects, roles, and the types of services the platform offers. You also practiced with Cloud IAM and the API libraries. You are now ready to take more labs.

Google_Cloud_Essentials-135

Finish your Quest

This self-paced lab is part of the Google Cloud Essentials Quest. A Quest is a series of related labs that form a learning path. Completing this Quest will earn you the badge above to recognize your achievement. You can make your badges public and link to them in your online résumé or social media account. Enroll in this Quest to get immediate credit for completing this lab. See other available Quests.

Take Your Next Lab

Continue your Quest with Creating a Virtual Machine, or check out these suggestions:

Google Cloud Training & 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 November 23, 2021
Lab Last Tested November 23, 2021

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