Cloud Concepts & GCP Architecture
What is Google Cloud?
- GCP is Google's public cloud — the same infrastructure that runs Search, YouTube, and Gmail
- Available in 40+ regions, each with multiple zones (typically 3) for high availability
- A region is a geographic area (e.g., us-central1); a zone is a single deployment area within a region (e.g., us-central1-a)
- Google's private fiber network (Jupiter, Andromeda) connects all regions — low-latency global routing
- GCP follows the shared responsibility model: Google manages physical infrastructure; you manage your workloads, data, and access controls
GCP Resource Hierarchy
- Organization — top-level node, maps to a Google Workspace or Cloud Identity domain
- Folder — optional grouping layer (e.g., by department or environment); enables IAM/Org Policy inheritance
- Project — the primary unit: billing, API enablement, and IAM boundaries. Every resource belongs to a project
- Resources — VMs, buckets, databases, etc. within a project
- IAM policies applied at a higher level inherit downward; lower-level policies can be more permissive but not more restrictive
Think of it as: Organization > Folder(s) > Project > Resource. When you want to isolate dev/staging/prod, use separate projects. When you want to apply a policy to an entire department, use a folder.
The ACE exam frequently asks about the resource hierarchy and where IAM policies should be applied. Understand inheritance: a role granted at the Organization level propagates to all child resources.
Cloud SDK & gcloud CLI Essentials
Setting Up Your Environment
- Install the Cloud SDK: provides
gcloud, gsutil (Storage), bq (BigQuery), and kubectl
gcloud init — interactive setup: authenticate, set default project and region
gcloud config set project PROJECT_ID — set active project
gcloud config set compute/region us-central1 — set default region
gcloud config configurations create my-config — manage multiple environments
Essential gcloud Commands
gcloud compute instances list — list all VMs in current project
gcloud compute instances create NAME --zone=ZONE --machine-type=e2-medium
gcloud compute ssh INSTANCE --zone=ZONE — SSH with automatic key management
gcloud services enable compute.googleapis.com — enable APIs (required before use)
gcloud projects list — list all accessible projects
APIs are disabled by default in new projects. Always enable the required API (Compute Engine API, Kubernetes Engine API, etc.) before making API calls. The exam tests this.
Billing, Quotas & Cost Management
Billing Concepts
- Each project is linked to a billing account; billing accounts can cover multiple projects
- Labels (key-value pairs on resources) enable cost allocation and reporting per team/environment
- Set budgets and alerts in Cloud Billing to receive email or Pub/Sub notifications at spending thresholds (e.g., 50%, 80%, 100%)
- Use Cloud Cost Management and Recommender for rightsizing suggestions
Pricing Models
- Sustained Use Discounts (SUDs) — automatic discounts up to 57% for VMs running most of the month; no commitment required
- Committed Use Discounts (CUDs) — 1 or 3-year commitments for 57–70% off
- Spot VMs — up to 91% off, can be preempted with 30-second notice; ideal for batch workloads
- Free Tier — always-free products include: 1 f1-micro VM/month, 5 GB Cloud Storage, Cloud Functions invocations, BigQuery queries up to 1 TB/month
Know the difference between SUDs (automatic, no action), CUDs (commitment-based), and Spot VMs (interruptible). The exam tests when to recommend each pricing model.