Code360 powered by Coding Ninjas X Naukri.com. Code360 powered by Coding Ninjas X Naukri.com
Table of contents
1.
Introduction
2.
Google Cloud
3.
Lab fundamentals
3.1.
Score
4.
Accessing the Cloud Console
5.
Start the lab
5.1.
Connection Details pane
5.1.1.
Username and Password
6.
Task 1: Sign in to Google Cloud
7.
Projects in the Cloud Console
8.
Task 2: View all projects
9.
Task 3: View your roles and permissions
10.
Task 4: View available APIs
11.
Frequently Asked Questions
11.1.
What are Google Cloud Labs?
11.2.
What is the use of Qwiklabs?
11.3.
What is the full form of GCP?
11.4.
Is GCP PaaS or IaaS?
12.
Conclusion
Last Updated: Mar 27, 2024

Google Cloud Hands-on Labs

Author SHIVANGI MALL
0 upvote

Introduction

You will learn how to use the Cloud Console, an in-browser user interface that enables you to access and control Google Cloud services, in this introductory-level experiment. You will learn about the specifics of the lab environment in addition to identifying major Google Cloud features. You've come to the right place if you're new to cloud computing or want a quick overview of Google Cloud with Qwiklabs. Continue reading to find out more about the particulars of this lab and the subjects you will work with firsthand.

 

Google Cloud

The Google Cloud Platform is a collection of cloud computing services that Google offers. It employs the same internal architecture as Google does for its consumer products, including Google Search, Gmail, Drive, and YouTube.

A group of cloud services known as Google Cloud is housed on Google's network. Google Cloud offers a wide range of services and APIs that may be linked with any cloud computing application or project, from personal to enterprise-grade, ranging from computation and storage to data analytics, machine learning, and networking.
 

Lab fundamentals

Find the following lab component definitions in the interface after reading their descriptions.

Start Lab (button)

You can practice using the lab's materials by clicking this button, which generates a temporary Google Cloud environment with all the required services and credentials activated. Additionally, a countdown timer is started.

 

Credit

The lab's price, typically 1 Credit is equal to 1 US dollar (discounts are available when you purchase credits in bulk). Some basic labs, including this one, are at no cost. Because they require more Google Cloud resources and involve heavier computing workloads, the more specialized labs are more expensive.

 

Time

outlines the time allotted for you to do an experiment. The timer will begin to count down once you click the Start Lab button until the countdown hits 00:00:00. Your temporary Google Cloud environment and resources are destroyed. There is ample time to finish a lab, but avoid working on anything else while one is running, or you could lose all of your hard work!
 

Score

Numerous labs include a grade. This function, known as "activity tracking," makes sure that you carry out specific tasks in a lab. You must finish each stage in a lab with activity tracking in order to pass. You won't get credit for completion before that.

Accessing the Cloud Console

Start the lab

Now that you are aware of the main characteristics and elements of a lab click Start Lab.

The Google Cloud environment and credentials can take a while to spin up. Everything will be ready for you to log into the Cloud Console when the countdown begins to run out and the Start Lab button turns to a red End Lab button.

 

Note: The End Lab button shouldn't be clicked until all of the lab's tasks have been finished. Your temporary credentials are invalidated when you click the button, making it impossible for you to access the work you've completed throughout the lab. If you're done, you must click this button; otherwise, you won't be allowed to take another lab. (Protections are in place at Qwiklabs to stop concurrent enrolment.)


Connection Details pane


View the left pane now that your lab instance is operational. It has the Project ID field, the Open Google Console button, and the login information (username and password).
Note: Your credentials will resemble the image, but they won't exactly match it because each lab instance creates unique temporary credentials.

Open Google Console

This button launches the Cloud Console, the main development hub and web console for Google Cloud. From this interface, you will do the majority of your work with Google Cloud.

Project ID

Your Google Cloud resources are organized by a Google Cloud project. It frequently houses assets and services; for instance, it might house a collection of virtual computers, a number of databases, and a network that links them all. The settings and permissions that define security policies and who has access to what resources are also included in projects.

A Project ID is a unique number that is used to associate your particular project with Google Cloud services and APIs. There can only be one qwiklabs-gcp-xxx..., making project IDs universally identifiable across Google Cloud.

Username and Password

With regard to the Cloud Identity and Access Management (Cloud IAM) service, these credentials serve as an identity. You can use the Google Cloud resources assigned to the project you are working on, thanks to the access rights (a role or roles) associated with this identity. These temporary credentials are only valid during the lab's access hours. You won't have access to your Google Cloud project using those credentials when the timer expires at 00:00:00.

Task 1: Sign in to Google Cloud

Use the Connection Details pane's contents to log into the Cloud Console now that you are more familiar with it.

 

  • Click Open Google Console. This launches a new browser tab with the Google Cloud sign-in page.

 

  • Click Next after copying the Username from the Connection Details pane and pasting it in the Email or Phone area.
     

Wait! Use the Googlexxxxxx student@qwiklabs.net email address, NOT your personal or business email address, to sign in.

 

 Note: A Google account with the username googlexxxxxx student@qwiklabs.net was made specifically for you to use as a student. It has been given IAM roles that permit you to access the Google Cloud Project that you have been provisioned, and its specific domain name is "qwiklabs.net."

 

  • Click Next after copying the password from the Connection Details pane and pasting it there.

 

  • To confirm that you have read and agree to Google's terms of service and privacy policies, click Accept.

 

  • Click Confirm on the Protect your account page.
    You shouldn't worry about changing recovery email addresses or phone numbers because this is a temporary account.

 

  • Check the box next to Terms of Service on the Welcome student! Screen to confirm that you accept Google Cloud's terms of service, then click Agree to continue.

 

Projects in the Cloud Console

In the section regarding the Connection Details pane's contents, Google Cloud projects were described. Once more, here is the definition:

Your Google Cloud resources are organized by a Google Cloud project. It frequently houses assets and services; for instance, it might house a collection of virtual computers, a number of databases, and a network that links them all. The settings and permissions that define security policies and who has access to what resources are also included in projects.

 

There is a name, ID, and number for your project. The majority of the time, when communicating with Google Cloud services, these identifiers are used. To get experience with a particular Google Cloud service or functionality, you are working on a single project.

Task 2: View all projects

Actually, you can access many Google Cloud projects. In some labs, you could even be given more than one project to complete the duties that are given to you.

 

  • Click the drop-down menu next to the name of your project in the Google Cloud Console's title bar.
     
  • Click All in the Select a project dialogue. The "Qwiklabs Resources" project appears on the list of projects that result.

 

Task 3: View your roles and permissions

You already learned that Google Cloud includes cloud computing services as well as a set of permissions and roles that specify who can access what resources. To view and alter these roles and permissions, use the Cloud Identity and Access Management (Cloud IAM) service.

 

  • Click IAM & Admin on the Navigation menu (Navigation menu). This opens a page that lists users and details the responsibilities and permissions assigned to particular accounts.
  • Locate the "@qwiklabs" username you used to log in.

 

googlexxxxxx student@qwiklabs.net is displayed in the Principal column (which matches the username you signed in with). The name of the student is shown in the Name column. Editor, one of Google Cloud's three fundamental positions, is shown in the Role column. Basic roles define project-level permissions and, barring extraordinary circumstances, manage and control access to all Google Cloud services.

Task 4: View available APIs

A crucial component of Google Cloud is the Google Cloud APIs. The 200+ APIs, which cover everything from machine learning to business administration, interface with Google Cloud projects and apps just like services do.

Application programming interfaces, or APIs, are accessible both directly and through client libraries. The API Design Guide's resource-oriented design principles are applied to cloud APIs.

  • Click APIs & Services > Library from the Navigation menu (Navigation menu). The available categories are shown in the left pane beneath the CATEGORY title.
     
  • Type Dialogflow into the API search field, then select Dialogflow API. Dialogflow's explanation page loads.

 

  • Toggle Enable. Dialogflow's explanation page loads.

 

  • To check whether the API has been turned on, use the back button on your browser.

 

  • Click Attempt this API. The Dialogflow API documentation is displayed in a new browser tab. When you're done exploring this material, close the tab.

 

  • On the Navigation menu, select Cloud overview to go back to the Cloud Console's home page.

Frequently Asked Questions

What are Google Cloud Labs?

The Google Cloud Self-Paced Labs are interactive labs that take place online. These laboratories include a series of guidelines that lead through a real-world, scenario-based use case in real-time.

What is the use of Qwiklabs?

To provide you the opportunity to work on several cloud platforms and gain practical experience, Qwiklabs offers temporary credentials to both Google Cloud Platform and Amazon Web Services.

What is the full form of GCP?

The Google Cloud Platform (GCP) is a collection of cloud computing services that Google offers. It employs the same internal Infrastructure as Google for its consumer products, including Google Search, Gmail, Drive, and YouTube.

Is GCP PaaS or IaaS?

Despite starting only with PaaS, GCP now offers IaaS. The Infrastructure as a Service (IaaS) product Google Compute Engine (GCE) enables users to run workloads on Google's actual infrastructure.

Conclusion

We covered Google Cloud Hands-on Labs in this article. We hope this article helps you to learn something new. And if you're interested in learning more, see our posts on AWS vs. Azure and Google CloudGoogle BigQueryAWS Vs Azure Vs Google Cloud: The Platform of Your Choice?Java knowledge for your first coding job.

Visit our practice platform Coding Ninjas Studio to practice top problems, attempt mock tests, read interview experiences, and much more.! 

Feel free to upvote and share this article if it has been helpful for you.

 

Live masterclass