Non-FictionInformativeEducational

Google Cloud Platform Engineer eBook

A Coursebook on Google Cloud Platform Engineer

by Felder Asia

  • English
  • 155 pages
  • 2026
  • SamEnrico

A Coursebook on Google Cloud Platform Engineer

Formats

Free sample

Chapter 1: The Hierarchy of Power...–- Every cloud journey begins with a single click, but every production disaster begins with a single misconfigured permission. In the winter of 2018, a well-known e-commerce company deployed a new feature to recompute product recommendations. Within hours, their entire catalog was deleted—not by a hacker, not by a bug in the application code, but by a well-intentioned engineer who had been granted Owner access to the production project. He meant to delete a test bucket. He deleted the production database instead.

The company lost seven hours of sales during the holiday peak. The engineer didn’t make a mistake with a command; he was never supposed to have that power in the first place. That’s the first lesson of Google Cloud Platform engineering: before you launch a single virtual machine or write a single line of application code, you must understand who has the power to do what, where your resources live, and how money flows through the system. This chapter builds the foundation upon which every other chapter rests—the resource hierarchy, identity and access management, global infrastructure, and the billing mechanics that keep the lights on without bankrupting your organization.The Architecture of Ownership Every resource in Google Cloud Platform lives inside exactly one project. Every project lives inside exactly one folder or directly under an organization node.

Every folder lives under the organization node. This is not an arbitrary nesting structure; it is a chain of authority that determines where policies apply, where bills are paid, and who can see what.The organization node sits at the top. You cannot create an organization node without Cloud Identity or Google Workspace—this is Google’s way of ensuring that only verified entities (companies, schools, nonprofits) can claim ownership of a cloud estate. The organization node provides centralized control over security policies, network configurations, and resource locations. If you are building a personal project or experimenting with a free tier account, you may not have an organization node; you will work directly with projects.

But in any production environment worth discussing, the organization node exists, and it is where governance begins.Below the organization node come folders. Folders are optional but powerful. They allow you to mirror your organizational structure inside GCP. For example, you might create one folder for "Engineering," another for "Marketing," and a third for "Finance." Inside the Engineering folder, you might create subfolders for "Development," "Staging," and "Production." Policies applied at a folder level cascade down to all folders and projects within it. This means you can enforce that production projects cannot use certain machine types, or that all projects in the Finance folder must log every API call, without configuring each project individually.Below folders come projects.

A project is the fundamental unit of organization and isolation in GCP. Every project has its own set of enabled APIs, its own billing account, its own network (unless you use Shared VPC, which we will cover in Chapter 5), and its own IAM policies. Projects provide a boundary: resources in Project A cannot see resources in Project B unless you explicitly configure cross-project access. This isolation is a feature, not a bug. It allows you to separate environments (production vs.

staging), teams, and even compliance domains (HIPAA workloads in one project, PCI workloads in another). Projects have three identifiers: a project ID (globally unique, user-assigned, immutable), a project name (user-assigned, mutable, not necessarily unique), and a project number (globally unique, assigned by Google, immutable). Always use the project number in automation scripts—it never changes, even if you rename the project.At the bottom of the hierarchy are the resources themselves: Compute Engine VMs, Cloud Storage buckets, Big Query datasets, Cloud SQL instances, and everything else GCP offers. Every resource has exactly one parent project, and that project determines the resource’s billing, IAM policies, and network isolation.Why does this hierarchy matter in practice? Because IAM policies are inherited downward.

If you grant a user the role of "Compute Admin" at the organization level, that user can manage Compute Engine resources in every project in the organization—whether that was your intention or not. Conversely, if you grant permissions at the project level, they stay contained. This inheritance is both the hierarchy’s greatest strength and its most common source of security gaps. A well-structured hierarchy with carefully placed policies can enforce compliance across thousands of projects with a handful of configuration files. A poorly structured hierarchy with ad-hoc permissions becomes an ungovernable sprawl where no one knows who can delete what.The Golden Rule of Hierarchy: Apply the broadest policies at the highest levels and the most specific policies at the lowest levels.

For example, set organization-wide constraints like "only allow VM creation in approved regions" at the organization node. Set environment-specific policies like "allow public IPs only in development" at the folder level. Set resource-specific permissions like "service account A can write to bucket B" at the project level.Who Gets to Do What – The Language of IAMIdentity and Access Management in GCP follows a simple but precise model: Who has access to Which resource, and What can they do with it? The "Who" is a member—a Google account, a group, a service account, or an entire domain. The "Which resource" is any GCP resource that supports IAM (most do).

The "What" is a role—a collection of permissions.Understanding IAM requires understanding these three concepts as distinct, not mashed together. A member is not a role. A role is not a resource. When you see a permission error, the problem is almost always that the member has not been bound to the correct role on the correct resource.Members come in four flavors. Google accounts represent human users with a Gmail or G Suite address.

Groups are collections of Google accounts—assign permissions to a group, not to individuals, because groups are easier to audit and update. Service accounts are identities for applications and virtual machines; they authenticate with keys or with GCP’s metadata server, and they are the cornerstone of secure machine-to-machine communication. Domains represent every user in a Google Workspace or Cloud Identity domain.Service accounts deserve special attention because they are misunderstood more often than any other IAM concept. A service account is not a user. It has no password, cannot log into the Cloud Console (unless you give it that capability, which you should not), and exists solely to grant an application the permissions it needs to run.

When you create a VM and tell it to "run as a service account," that VM automatically authenticates as that service account when calling GCP APIs. No keys to rotate, no secrets to store. This is the preferred pattern for all automated workloads.Roles are where the granularity lives. GCP offers three categories of roles. Primitive roles (Owner, Editor, Viewer) are the broadest and most dangerous.

Working backward: Viewer can see resources but not modify them. Editor can create, update, and delete resources. Owner can do everything Editor can do, plus manage IAM policies and billing. Primitive roles should never be used in production. They violate least privilege by default—an Editor can…

This is the end of the free sample. Get the eBook to keep going. Buy now

About this book

A Coursebook on Google Cloud Platform Engineer

Details

Author
Felder Asia
Publisher
SamEnrico
Language
English
Genre
Non-Fiction, Informative, Educational
Released
2026-05-04
Pages (approx.)
155
Available as
eBook, Audiobook

Read better in the ZLOADR app

Your eBooks on your phone or tablet. Sign in with your SamEnrico account and start reading.

More by Felder Asia

See all

You may also like

See all