Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
The Self-Taught Cloud Computing Engineer

You're reading from  The Self-Taught Cloud Computing Engineer

Product type Book
Published in Sep 2023
Publisher Packt
ISBN-13 9781805123705
Pages 472 pages
Edition 1st Edition
Languages
Author (1):
Dr. Logan Song Dr. Logan Song
Profile icon Dr. Logan Song

Table of Contents (24) Chapters

Preface 1. Part 1: Learning about the Amazon Cloud
2. Chapter 1: Amazon EC2 and Compute Services 3. Chapter 2: Amazon Cloud Storage Services 4. Chapter 3: Amazon Networking Services 5. Chapter 4: Amazon Database Services 6. Chapter 5: Amazon Data Analytics Services 7. Chapter 6: Amazon Machine Learning Services 8. Chapter 7: Amazon Cloud Security Services 9. Part 2:Comprehending GCP Cloud Services
10. Chapter 8: Google Cloud Foundation Services 11. Chapter 9: Google Cloud’s Database and Big Data Services 12. Chapter 10: Google Cloud AI Services 13. Chapter 11: Google Cloud Security Services 14. Part 3:Mastering Azure Cloud Services
15. Chapter 12: Microsoft Azure Cloud Foundation Services 16. Chapter 13: Azure Cloud Database and Big Data Services 17. Chapter 14: Azure Cloud AI Services 18. Chapter 15: Azure Cloud Security Services 19. Part 4:Developing a Successful Cloud Career
20. Chapter 16: Achieving Cloud Certifications 21. Chapter 17: Building a Successful Cloud Computing Career 22. Index 23. Other Books You May Enjoy

Google Cloud Foundation Services

In Part 1 of the book, we dived into the Amazon cloud, explored and provisioned cloud services for compute, storage, networking, databases, big data, and machine learning. Now, in this second part, we are switching to another cloud platform: Google Cloud Platform (GCP). GCP has many similarities with AWS but also has many of its own features. Finding the similarities and examining the differences are what we will do in the second part of the book. In this chapter, we will focus on GCP’s foundation services, including the following:

  • Google Cloud resource hierarchy – organization, folders, projects, and resources
  • Google compute services – Google Compute Engine (GCE), Google App Engine (GAE), Google Kubernetes Engine (GKE), and Google Cloud Functions (serverless)
  • Google storage services – Persistent Disk (PD), Filestore, and Google Cloud Storage (GCS)
  • Google Cloud networking services – Virtual Private...

Google Cloud resource hierarchy

Very similar to AWS’s global infrastructure, Google Cloud has global data centers where the physical facilities and data resides. Each data center has redundant power, networking, and connectivity, and there are Google backbone networks connecting them. These data centers compose the Google Cloud, which is divided into regions and zones, like AWS Regions and AZs. Figure 8.1 shows the Google global regions at the time of writing this book:

Figure 8.1 – Google global regions

Figure 8.1 – Google global regions

In the cloud, there are Cloud Service Consumers (CSCs), each having their own resource hierarchy. The GCP resource hierarchy structure is quite different from AWS’s.

In the previous chapter, we discussed the AWS resource hierarchy, which consists of a root organization, Organization Units (OUs), and AWS accounts, from top to bottom. In GCP, the resource hierarchy consists of four main layers, as shown in Figure 8.2:

  • Organization...

Google Cloud compute

We learned about EC2 instances in Chapter 1, which was about Amazon cloud compute services. Switching to Google Cloud, we will first discuss GCE VMs, which are like the EC2 instances in AWS, and then GKE, which was originally developed at Google and released as open source in 2014.

Google Compute Engine

GCE offers VMs running in Google’s cloud as a computing resource. Just like provisioning an AWS EC2 instance, we need to make choices about the computer hardware and software when provisioning a GCE VM in Google Cloud. Let us go to the Google Cloud console, provision a GCE instance, and add some cloud storage to it:

  1. Log in to the Google Cloud console.
  2. Go to the Google Cloud console: https://console.cloud.google.com. As we mentioned in an earlier section, each GCP resource belongs to a project, so you need to create a project first:
Figure 8.3 – Google Cloud console welcome page

Figure 8.3 – Google Cloud console welcome page

Once a project is created...

Summary

In this chapter, we learned about GCP’s foundation services: compute, storage, and networking. We launched GCE VM instances, GKE clusters, and VPC networks. We also explored service accounts, containers, and their deployments in GKE clusters. We compared GCP’s foundations with AWS’s to understand their similarities and differences. We hope you enjoyed it!

In the next chapter, we will examine the GCP data analytics services, including databases and big data. It is a very interesting chapter. Let’s get ready to explore these services!

Practice questions

Questions 1-8 are based on the GCP foundation architecture shown in Figure 8.15. Default configurations are used:

Figure 8.15 – GCP foundation infrastructure

Figure 8.15 – GCP foundation infrastructure

1. How many VMs (with at least one IP address for each VM) can you create in a VPC1 subnet1 in GCP?

A. 252

B. 255

C. 256

D. 24

2. How many IP addresses are there in subnet3?

A. 256

B. 252

C. 255

D. 24

3. Which of the following statements is not true?

A. VM1 can ping VM3

B. VM1 can ping VM4

C. VM2 can ping VM4

D. VM3 can ping VM4

4. What needs to be done for VM1 to process (read/write) objects in B1?

A. Nothing

B. VM1’s service account needs read/write access to B1

C. VM1 needs to have a public IP address

D. VM1 needs to have a private IP address and its service account needs read/write access to B1

5. VM1 needs to read object S1. What needs to be done?

A. Nothing

B. Enable Google private access for subnet11...

lock icon The rest of the chapter is locked
You have been reading a chapter from
The Self-Taught Cloud Computing Engineer
Published in: Sep 2023 Publisher: Packt ISBN-13: 9781805123705
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}