Course map

Part 11

Cloud, Infrastructure and Delivery

Deploy, configure and release software safely, and roll back when needed.

Prerequisites Part 6. Cloud providers are examples, not separate subjects.
Part context

Cross-references: secrets → 165; service mesh → 150.

Reading track

11.1 Cloud Fundamentals

Chapter outcomes and context

Topics covered: 174 Cloud computing fundamentals: IaaS, PaaS, SaaS (Core) · 175 Regions and availability zones (Core) · 176 Cloud IAM and service identities (Core) · 177 VPC and cloud networking: private endpoints, network boundaries (Advanced) · 178 Compute, storage and managed services (Core)

Learning outcomes

  • Place the service models — IaaS, PaaS, SaaS (and FaaS → 184) — and the shared responsibility model: the provider secures the cloud, you secure what you put in it.
  • Use the physical topology: regions (independent geographies) and availability zones (isolated datacenters within a region). Multi-AZ is the default availability unit; multi-region is a separate, costlier decision (data → 142, traffic → 196).
  • Design cloud IAM (primary home): principals, roles, and policies; service identities for workload-to-workload access (no long-lived keys in services); least privilege as the default grant — the cloud expression of zero trust (→ 169).
  • (Advanced) Design VPC networking: public and private subnets, route tables, NAT, security groups, private endpoints to managed services, and explicit network boundaries between environments.
  • Map the provider-agnostic service families — compute, storage (block, object, file), managed databases, queues, caches, CDNs. Managed services trade money and lock-in for undifferentiated operations work.
174Cloud computing fundamentals: IaaS, PaaS, SaaSCore175Regions and availability zonesCore176Cloud IAM and service identitiesCore177VPC and cloud networking: private endpoints, network boundariesAdvanced178Compute, storage and managed servicesCore

11.2 Compute: VMs, Containers, Serverless

Chapter outcomes and context

Topics covered: 179 Virtual machines (Core) · 180 Docker and containers: image management, artifact registries (Core) · 184 Serverless architecture (Core)

Learning outcomes

  • VMs: hardware virtualization, a full OS per instance — strong isolation, slow to start.
  • Containers: OS-level isolation (namespaces and cgroups), image layers, one process per container, the immutable image as the deployment artifact; image management and artifact registries — tagging discipline, scanning (→ 172), retention.
  • Serverless (FaaS): event-driven functions — zero idle cost, automatic scaling; costs: cold starts, execution limits, state must live elsewhere.

Decision rule: functions for spiky, event-driven glue; containers for services; VMs for special requirements. The simpler alternative to any orchestrator: one VM or a managed PaaS, for longer than most teams admit.

179Virtual machinesCore180Docker and containers: image management, artifact registriesCore184Serverless architectureCore

11.3 Kubernetes

Chapter outcomes and context

Topics covered: 181 Kubernetes architecture (Advanced) · 182 Kubernetes workloads, networking and storage (Advanced) · 183 Health probes and resource management (Advanced)

Learning outcomes (all Advanced)

  • Explain the architecture: control plane (API server, etcd → 136, scheduler, controllers) and nodes (kubelet, container runtime); everything is declarative — controllers reconcile actual state toward desired state.
  • Use the workload types: Pod → Deployment (stateless, rolling updates) → StatefulSet (stable identity and storage) → DaemonSet, Job, CronJob. Networking: Services, Ingress, DNS-based discovery (→ 42). Storage: PersistentVolumes and Claims; ConfigMaps and Secrets.
  • Operate it correctly: liveness, readiness, and startup probes (readiness gates traffic and enables graceful shutdown → 98 — wrong probes turn deploys into outages), resource requests and limits, horizontal pod autoscaling (→ 95), pod disruption budgets.
181Kubernetes architectureAdvanced182Kubernetes workloads, networking and storageAdvanced183Health probes and resource managementAdvanced

11.4 Infrastructure as Code

Chapter outcomes and context

Topics covered: 185 Infrastructure as code, Terraform as the example: infrastructure drift (Advanced)

Learning outcomes (Advanced)

  • State why IaC: reviewable, repeatable, versioned infrastructure; no snowflake servers; dev/stage/prod from the same modules.
  • Use the Terraform concepts that generalize: declarative resources, plan → apply, remote locked state, modules — and infrastructure drift: detecting and reconciling manual changes that diverge from the code.
185Infrastructure as code (Terraform as the example): infrastructure driftAdvanced

11.5 CI/CD and Safe Change

Chapter outcomes and context

Topics covered: 186 CI/CD pipelines: environment parity, security checks in the pipeline, release approval (Core) · 187 Rolling, blue-green and canary deployments: deployment verification, rollback vs roll-forward (Core) · 188 Configuration management and feature flags (Core) · 189 Zero-downtime schema changes: expand-and-contract (Advanced)

Learning outcomes

  • Run CI — every change builds, tests, and produces an artifact — and CD: a pipeline to environments with automated gates. Keep environment parity (staging that lies is worse than none), run the security checks in the pipeline (→ 172), and define release approval where regulation or risk demands a human gate.
  • Choose the release strategy: rolling (gradual replacement — the default), blue- green (two environments, instant switch — at 2× capacity cost), canary (a small share of real traffic plus metrics comparison). Add deployment verification — the automated post-deploy check that decides success — and choose rollback vs. roll-forward per change class (schema changes often cannot roll back → 189).
  • Externalize configuration per environment; inject secrets at runtime (→ 165); use feature flags (primary home) to decouple deploy from release and to ship dark.
  • (Advanced) Change schemas without downtime via expand-and-contract (primary home): add the new shape, migrate and dual-write/read, then remove the old — never a blocking rewrite of a hot table. The same sequence governs API contract evolution (→ 35).
186CI/CD pipelines: environment parity, security checks in the pipeline, release approvalCore187Rolling, blue-green and canary deployments: deployment verification, rollback vs roll-forwardCore188Configuration management and feature flagsCore189Zero-downtime schema changes: expand-and-contractAdvanced

11.6 Platform Engineering and Provider Mapping

Chapter outcomes and context

Topics covered: 190 Platform engineering (Specialist) · 191 Mapping concepts to AWS, Azure and GCP services (Specialist)

Learning outcomes (Specialist)

  • Treat the internal developer platform as a product: golden paths, self-service infrastructure, paved-road templates that reduce per-team cognitive load.
  • Translate every concept in this book to concrete services across AWS, Azure and GCP (load balancer, queue, object store, managed database, functions, Kubernetes) — a reference exercise, deliberately last: the concepts transfer, the names don't.
190Platform engineeringSpecialist191Mapping concepts to AWS, Azure and GCP servicesSpecialist

Done when you can

  • Diagram a production VPC with a multi-AZ service and state what fails when an AZ does.
  • Give every workload an identity and least-privilege policy, with no long-lived keys.
  • Design a pipeline: commit → CI with security gates → artifact → canary → verified → rollback or roll-forward, decided in advance.
  • Execute a breaking schema change on a live system with zero downtime.
Open revision sheet and self-quiz

Search the guide