DevOpsDeploy & monitorLesson 62 / 69

Deploy to the cloud

Exercise45 min

Deploy to the cloud

The last mile: get the image running somewhere real.

The shape is the same everywhere: build the image → push to a registry → tell the platform to run it (with secrets injected). Docker makes the build identical everywhere; the platform's only job is running containers.

Health checks close the loop — the platform probes /health and restarts a container that stops answering. A deploy without a health check is a leap; a deploy with one is a step.

Exercise

Write the deploy sequence for this app's backend as six shell commands (build, tag, push, run, migrate, verify). Identify which step must NOT be automated blindly and why.

Practice in the diagram lab

This lesson's practice belongs in the diagram editor — design the schema you just read about, grade it against the solution, and save it to your account.

Open the diagram lab