Home  Gcp   How resourc ...

How resources are organized in a GCP project

In Google Cloud Platform (GCP), resources are organized hierarchically within a project, and projects are the main way to group related resources. Here’s a detailed breakdown of how resources are managed in GCP:

GCP Resource Hierarchy

  1. Organization: The top level of the hierarchy. It represents a company, institution, or another group. All projects and resources belong to an organization.

  2. Folders: Optional and used to organize projects. Folders can contain other folders and projects.

  3. Projects: The fundamental entity that organizes all your GCP resources. Every resource belongs to exactly one project.

  4. Resources: Individual services and instances like Compute Engine VMs, Cloud Storage buckets, BigQuery datasets, etc.

Projects

Resource Management

Resources within GCP projects can be managed per project but can also be scoped or managed by users within a project. Here's a detailed look at how this works:

Per Project

Per User

Example Scenarios

  1. Project Level:

    • Example: A project called my-data-project that contains BigQuery datasets, Cloud Storage buckets, and Compute Engine instances.
    • Management: Project administrators can manage APIs, billing, and overall permissions for the entire project.
  2. User Level:

    • Example: Within my-data-project, a user named Alice is given the role of BigQuery Data Editor, allowing her to create and manage datasets and tables within BigQuery.
    • Management: Alice can manage the datasets and tables she has permissions for, but she might not have access to other resources like Compute Engine instances unless explicitly granted.

Resource Example

IAM Policies

Resource Scoping

Published on: Jul 10, 2024, 10:44 PM  
 

Comments

Add your comment