GCP IAM Overview and Hierarchy
What You'll Learn
You'll understand how Google Cloud Platform organizes resources in a hierarchy and how permissions flow downward through that structure.
The GCP Resource Hierarchy
Google Cloud Platform organizes everything in a hierarchy — think of it like a family tree or a filing cabinet with nested folders. Understanding this structure is crucial because it controls how permissions work in GCP.
The Four Levels
Organization sits at the top — representing your entire company or domain (like yourcompany.com). This is the root of everything.
Folders come next — these are like departments or divisions. You might have folders for "Production," "Development," or "Finance." Folders can contain other folders, allowing for deep organizational structures.
Projects are where actual work happens. Every GCP resource (virtual machines, databases, storage buckets) must belong to a project. Projects are the fundamental organizing unit for billing and resource isolation.
Resources are at the bottom — the actual cloud services like Compute Engine instances or Cloud Storage buckets.
Permission Inheritance: The Key Concept
Here's what makes this hierarchy powerful: permissions flow downward. If you grant someone access at the Organization level, they automatically have that access to all folders, projects, and resources below it. Grant access at a folder? It applies to all projects within. Grant at the project level? Only that project's resources are affected.
Think of it like apartment building keys: a master key (Organization) opens everything, a floor key (Folder) opens all apartments on that floor, and an apartment key (Project) opens just one unit.
This inheritance model means you can manage permissions efficiently — assign once at the top, apply everywhere below — while still maintaining the ability to restrict access at lower levels when needed.
Key Takeaway: GCP's IAM hierarchy (Organization → Folders → Projects → Resources) organizes your cloud environment and enables permission inheritance, letting you manage access efficiently from the top down.