● Course · 4 chapters

Containerisation and cloud deployment

Take the order management application from "works on my machine" to a versioned image, a reproducible local environment, an automated pipeline and a production deployment you can roll back.

Docker Compose GitHub Actions Kubernetes Managed cloud
Docker Compose topology showing web, api and database containers on one network

The path

Pipeline from commit through build, test, image build, scan, push and deploy
Every stage below is automated by the end of chapter 4.

Why containers, concretely

ProblemWhat a container changes
"Works on my machine"The JDK, the OS libraries and the app ship as one artefact
New developer onboardingdocker compose up instead of a two-page README
Environment driftThe image tested in staging is byte-identical to the one in production
RollbackRedeploy the previous tag — the old image still exists
ScalingRun n copies of a known-good image behind a load balancer
What containers do not fix

They do not make a slow query fast, they do not give you high availability by themselves, and they are not a security boundary as strong as a virtual machine. A container is a packaging and isolation tool. Treat it as one and it is excellent.

Where this can run

Comparison of a single VM, a managed container platform, and Kubernetes
Chapter 4 covers all three and when each is the right answer.
Start smaller than you think you need

One managed container service plus a managed PostgreSQL runs a real business for years. Kubernetes is worth its operational cost when you have many services and a team to look after them — not on day one.

Before you start

  • Docker Desktop or Docker Engine with the Compose plugin.
  • The order management project, or any Spring Boot + Angular pair.
  • A GitHub account for chapter 4's pipeline.
  • Around 6 GB of free disk for images and volumes.