Chapter plan
What you will complete
01Package & Run an Immutable Spring Boot ServiceBuild a small non-root layered image and configure JVM/container behavior without rebuilding it per environment.Use a supported runtime image or buildpackSeparate image content from runtime configurationSet CPU and memory requests from measured behavior 50 min02Build a Safe CI/CD & Secrets PathPromote one artifact through test, scan, sign, deploy, and rollback gates.Never place secrets in source, image layers, or logsRun database migrations as an explicit compatible stepRecord artifact provenance and deployment evidence 45 min03Engineer Probes, Shutdown & Rolling DeploysCoordinate startup, readiness, in-flight work, connection pools, and termination grace periods.Keep liveness local and conservativeRemove readiness before stopping traffic-bearing workClose consumers and pools within the termination budget 45 min04Production Implementation: Immutable Deploy PipelinePackage a minimal image, wire probes and graceful shutdown, and deliver through a pipeline whose secrets never appear in logs or layers.Bake a non-root JVM image with layered jarsSplit liveness from readiness and prove rolling behaviorInject secrets at runtime from the platform, never the image 50 min
Module outcome
Create a repeatable container delivery path with safe startup, rollout, shutdown, and rollback behavior.
Mental model
A deployment is a controlled state transition across build, configuration, data, traffic, and rollback—not a file copy.
Module checkpoint
Production delivery pipeline
Containerize and roll out the order service with migrations and failure-safe probes.
- Layered non-root image
- CI quality gates
- Graceful rolling-deploy demonstration
Final module assessment
Ready to prove mastery?
Complete all 50 questions after finishing the module lessons and checkpoint.