GCP & Azure Fundamentals for Multi-Cloud

GCP Core Services: Compute, Storage & Networking

4 min read

Google Cloud Platform excels in data analytics, Kubernetes, and machine learning. Understanding GCP is essential for multi-cloud architect roles.

GCP Compute Services

Compute Engine (VMs)

GCP's equivalent to AWS EC2 with some unique features.

Machine Type Families:

FamilyUse CaseExample
General Purpose (E2, N2)Web serving, dev/teste2-standard-4, n2-standard-8
Compute Optimized (C2, C3)HPC, gaming, batchc2-standard-30
Memory Optimized (M2, M3)SAP HANA, in-memory DBsm2-ultramem-416
Accelerator Optimized (A2, A3)ML training, HPCa2-highgpu-8g

Unique GCP Features:

  • Preemptible VMs: Up to 91% discount (vs. 90% Spot on AWS)
  • Sustained Use Discounts: Automatic discounts for running instances (no commitment)
  • Custom Machine Types: Configure exact vCPU and memory

Google Kubernetes Engine (GKE)

GKE is often considered the best managed Kubernetes service.

Why GKE Stands Out:

  • Autopilot Mode: Fully managed, pay per pod
  • Release Channels: Rapid, Regular, Stable
  • Multi-cluster Ingress: Global load balancing across clusters
  • Built-in Istio: Service mesh integration

Interview Question: GKE vs EKS

Q: "Compare GKE Autopilot to EKS Fargate."

A:

FeatureGKE AutopilotEKS Fargate
ManagementFully managed (nodes, scaling)Serverless pods only
PricingPer pod (vCPU + memory)Per pod (vCPU + memory)
Node AccessNo (abstracted)No (abstracted)
GPUsYes (with limitations)No
DaemonSetsSupportedNot supported
Best ForTeams wanting minimal opsServerless-first workloads

Cloud Functions & Cloud Run

GCP's serverless compute options.

Cloud Functions:

  • Event-driven, similar to AWS Lambda
  • Max timeout: 60 minutes (2nd gen) vs. 15 min Lambda
  • Support for HTTP and event triggers

Cloud Run:

  • Container-based serverless (unique to GCP)
  • No cold starts for always-allocated instances
  • Full HTTP/gRPC support
  • Request-based pricing or always-on

When to Use Each:

Simple event processing → Cloud Functions
Containerized workloads → Cloud Run
Long-running containers → Cloud Run (always-allocated)
REST/gRPC APIs → Cloud Run

GCP Storage Services

Cloud Storage (Object Storage)

Storage Classes:

ClassMinimum DurationRetrievalUse Case
StandardNoneImmediateFrequently accessed
Nearline30 daysImmediateMonthly access
Coldline90 daysImmediateQuarterly access
Archive365 daysImmediateYearly access

Key Difference from S3: All GCP classes have immediate retrieval (unlike Glacier).

Persistent Disk Types

TypeMax IOPSMax ThroughputUse Case
pd-standard (HDD)7,500400 MB/sBulk storage
pd-balanced (SSD)80,0001,200 MB/sGeneral workloads
pd-ssd (SSD)100,0001,200 MB/sHigh performance
pd-extreme (SSD)120,0002,200 MB/sDatabases, SAP

Filestore (Managed NFS)

GCP's equivalent to AWS EFS.

Tiers:

  • Basic: General file sharing
  • Enterprise: High availability, snapshots
  • High Scale: Big data workloads (100+ TB)

GCP Networking

VPC Concepts

GCP VPC Differences from AWS:

  • Global VPCs: VPCs span all regions (not regional like AWS)
  • Subnets are regional: Span all zones in a region
  • Firewall rules: Applied at VPC level, not subnet level
  • Shared VPC: Cross-project networking

Interview Question: GCP vs AWS VPC

Q: "What are the key differences between GCP and AWS VPC design?"

A:

AspectGCPAWS
VPC ScopeGlobalRegional
Subnet ScopeRegional (all zones)AZ-specific
FirewallVPC-level rulesSecurity Groups + NACLs
NATCloud NAT (regional)NAT Gateway (per AZ)
PeeringGlobal, transitive routesRegional, non-transitive
Private AccessPrivate Google AccessVPC Endpoints

Cloud Load Balancing

GCP's global load balancing is a key differentiator.

Load Balancer Types:

TypeScopeProtocolUse Case
HTTP(S) LBGlobalLayer 7Web apps
TCP ProxyGlobalLayer 4TCP apps
SSL ProxyGlobalLayer 4SSL termination
Network LBRegionalLayer 4Low latency
Internal HTTP(S)RegionalLayer 7Internal services
Internal TCP/UDPRegionalLayer 4Internal apps

Why Global Load Balancing Matters:

  • Single anycast IP serves all regions
  • Automatic routing to nearest healthy backend
  • No need for Route 53-style DNS failover

Interview Tip: GCP's global network is its biggest differentiator. Emphasize premium tier networking and global load balancing when comparing to AWS.

Next, we'll explore GCP's data and AI services. :::

Quick check: how does this lesson land for you?

Quiz

Module 3: GCP & Azure Fundamentals for Multi-Cloud

Take Quiz
FREE WEEKLY NEWSLETTER

Stay on the Nerd Track

One email per week — courses, deep dives, tools, and AI experiments.

No spam. Unsubscribe anytime.