GCP Core Services Cheatsheet: Google Cloud Quick Reference

This page is a quick reference for Google Cloud Platform (GCP) services. It covers the services you will use most often in cloud engineering, data, and DevOps roles, organised by category.


Compute#

Compute Engine#

Google Cloud’s virtual machine service. Choose machine type, OS, disk, and network configuration. Billed per second with a 1-minute minimum.

Machine families

FamilyPurposeExample types
N2 / N2DGeneral purpose, most workloadsn2-standard-4, n2d-standard-8
C2 / C2DCompute optimised, high-frequency CPUc2-standard-4, c2d-standard-8
M2 / M3Memory optimised, large in-memory workloadsm2-ultramem-208
T2D / T2AScale-out, cost-efficient workloadst2d-standard-1
A2 / A3GPU-accelerated, ML training and inferencea2-highgpu-1g

GKE (Google Kubernetes Engine)#

Managed Kubernetes service. Google manages the control plane; you manage worker nodes (or use Autopilot mode for fully managed nodes).

ModeDescription
StandardYou manage node pools, sizing, and upgrades
AutopilotGoogle manages nodes; you only define pods; billed per pod resource request

Autopilot is the recommended default for most teams — it reduces operational overhead and enforces GKE best practices automatically.

Cloud Run#

Serverless container execution. Deploy any container that listens on an HTTP port. Scales to zero when there is no traffic. Scales up instantly under load. Billed per CPU and memory per 100ms of request processing. Ideal for stateless HTTP services, APIs, and event-driven workloads.

Cloud Functions#

Event-driven serverless functions. Write a function; attach it to a trigger (Pub/Sub message, HTTP request, Cloud Storage event, Firestore change, Eventarc event). Second-generation functions are built on Cloud Run infrastructure, giving them higher concurrency and longer timeouts (up to 60 minutes).

App Engine#

Fully managed application platform. Deploy web applications without configuring infrastructure.

EnvironmentDescription
StandardLanguage-specific runtimes (Python, Java, Node, Go, PHP, Ruby); scales to zero; fast spin-up
FlexibleCustom runtimes via Docker containers; does not scale to zero; runs on managed VMs

Batch#

Managed service for running batch jobs at scale. Define jobs with tasks; Batch provisions VMs, schedules tasks, and handles retries. Good for HPC, data processing pipelines, and ML training jobs.


Storage#

Cloud Storage#

Object storage service. Store objects in buckets. Accessed via HTTP API or gsutil / gcloud storage CLI. 11 nines of durability.

Storage classes

ClassUse caseMinimum storage duration
StandardFrequently accessed dataNone
NearlineAccess less than once per month30 days
ColdlineAccess less than once per quarter90 days
ArchiveRarely accessed long-term archives365 days

Autoclass automatically moves objects between classes based on access patterns.

Persistent Disk#

Block storage for Compute Engine and GKE. Attached to VMs as persistent disks. Multiple VMs can read the same disk simultaneously (read-only); some disk types support read-write multi-attach.

Disk types

TypeCharacteristics
pd-standardStandard spinning HDD, lowest cost
pd-balancedBalanced SSD, good default for most workloads
pd-ssdHigh-performance SSD, lower latency
pd-extremeHighest IOPS and throughput, for demanding databases
Hyperdisk ExtremeNext-generation block storage with independently configurable IOPS and throughput

Filestore#

Managed NFS file system. Mount across multiple Compute Engine VMs or GKE pods. Available in Basic, Enterprise, and High Scale tiers. Used for shared application storage, media rendering, and legacy NFS migrations.

Cloud Storage FUSE#

An open-source adapter that mounts Cloud Storage buckets as file systems on Linux and macOS. Useful for ML training jobs that need to read training data from GCS using standard file I/O.


Networking#

GCP networking has a distinct architecture compared to AWS. The VPC is global — a single VPC spans all regions. Subnets are regional.

Core Networking Components#

ComponentPurpose
VPCGlobal virtual network; subnets are created per region
SubnetsRegional IP ranges within a VPC
Firewall RulesApplied at the network level; use target tags or service accounts to target instances
Cloud RouterEnables dynamic routing (BGP) for VPN and Interconnect connections
Cloud NATOutbound internet access for VMs with no external IP; regional, managed
Cloud DNSManaged authoritative DNS; private zones for internal resolution

Load Balancing#

GCP load balancers are globally distributed — a single external L7 load balancer serves traffic from edge locations worldwide.

TypeLayerScope
External Application Load BalancerL7 (HTTP/HTTPS)Global or regional
Internal Application Load BalancerL7Regional
External Proxy Network Load BalancerL4 (TCP/SSL)Global or regional
Internal Passthrough Network Load BalancerL4 (TCP/UDP)Regional
External Passthrough Network Load BalancerL4 (TCP/UDP)Regional

Connectivity#

ServicePurpose
Cloud CDNEdge caching integrated with External Application Load Balancer
Shared VPCShare a VPC network across multiple GCP projects; centralised network management
VPC Network PeeringConnect two VPCs privately; non-transitive
Cloud VPNEncrypted IPsec tunnel between GCP and on-premises or other clouds
Cloud InterconnectDedicated private connection to Google’s network (Partner or Dedicated)

Database#

Cloud SQL#

Managed relational database service. Supports MySQL, PostgreSQL, and SQL Server. Handles backups, replication, failover, and patching. High availability uses a standby replica in a separate zone with automatic failover.

Cloud Spanner#

Globally distributed, strongly consistent relational database. Supports SQL (ANSI 2011 and PostgreSQL dialect). Scales horizontally while maintaining ACID transactions across regions and continents. Use for globally distributed applications that need relational semantics at scale.

Firestore#

Managed NoSQL document database. Stores data as documents within collections. Real-time listeners push updates to clients. Native mode is recommended; Datastore mode is for legacy migrations. Good for mobile apps, user profiles, and real-time applications.

Bigtable#

Wide-column NoSQL database. High throughput, low latency for large-scale data (time-series, IoT, financial data, ad serving). Not suitable for transactional workloads or complex queries. Used internally at Google for Search, Maps, and Gmail.

Memorystore#

Managed in-memory cache. Supports Redis and Valkey (the open-source Redis fork). Use to cache database results, session state, and leaderboards. Also supports Redis as a message broker.

AlloyDB#

PostgreSQL-compatible database built on Google infrastructure. Columnar cache, intelligent storage layer, and ML-powered query optimisation. Up to 4x faster than standard PostgreSQL for analytical queries, and comparable to Aurora for transactional workloads.


Data and Analytics#

ServicePurpose
BigQueryServerless, columnar data warehouse. SQL queries over petabytes of data. Billed per TB scanned (or flat rate). Integrates with GCS, Pub/Sub, Dataflow, and Looker.
DataflowFully managed stream and batch data processing. Based on Apache Beam. Auto-scales. Use for ETL pipelines, real-time analytics, and data transformation.
Pub/SubAsynchronous messaging service. Publishers send messages to topics; subscribers receive them. At-least-once delivery. Used to decouple services and ingest streaming data.
DataprocManaged Apache Hadoop and Spark. Spin up clusters in under 90 seconds. Use for existing Spark/Hadoop workloads or when you need direct cluster control.
Looker StudioBrowser-based BI and data visualisation tool. Connects to BigQuery, Google Sheets, and many other sources. Free to use.

IAM and Security#

GCP IAM uses a resource hierarchy: Organisation → Folders → Projects → Resources. Permissions granted at a higher level are inherited downward.

ConceptDescription
PrincipalWho is making the request: user, group, service account, or workload identity
RoleA named collection of permissions: Basic (Owner/Editor/Viewer), Predefined, or Custom
PolicyA binding of principals to roles on a resource
Service AccountA non-human identity for applications and VMs
Workload IdentityFederate external identities (GitHub Actions, on-prem) to GCP without a service account key

Avoid service account keys — They are long-lived credentials that can be exfiltrated. Use Workload Identity Federation or the metadata server instead.

ServicePurpose
Cloud KMSManage encryption keys; encrypt/decrypt data; supports CMEK for GCP services
Secret ManagerStore and access API keys, passwords, and certificates; supports versioning and rotation
Cloud Audit LogsAdmin Activity, Data Access, System Event, and Policy Denied logs
Security Command CenterCentralised security posture management; vulnerability findings, misconfiguration detection

Serverless and Application Services#

ServicePurpose
Cloud RunServerless containers (see Compute section above)
Cloud FunctionsEvent-driven functions (see Compute section above)
EventarcUnified event routing from GCP services, custom apps, and Pub/Sub to Cloud Run or Workflows
Cloud TasksManaged task queue; schedule and execute asynchronous tasks with retry logic
Cloud SchedulerManaged cron jobs; trigger HTTP endpoints, Pub/Sub topics, or Cloud Functions on a schedule

Monitoring and Observability#

ServicePurpose
Cloud MonitoringCollect and visualise metrics from GCP services and custom applications; create dashboards and alerting policies
Cloud LoggingCentralised log storage and querying; route logs to BigQuery, Cloud Storage, or Pub/Sub
Cloud TraceDistributed tracing; automatically instruments App Engine, Cloud Run, and Cloud Functions
Cloud ProfilerContinuous CPU and memory profiling of production applications with low overhead
Error ReportingAutomatically aggregates and surfaces errors from Cloud Logging; alerts on new error types

GCP Certification Path#

LevelCertification
FoundationalCloud Digital Leader
AssociateAssociate Cloud Engineer
ProfessionalProfessional Cloud Architect, Professional Data Engineer, Professional DevOps Engineer, Professional Security Engineer, Professional Network Engineer, Professional Cloud Developer

For most engineers entering GCP roles, Associate Cloud Engineer is the recommended entry point after Cloud Digital Leader.