CD Strategies
Release changes to production safely: promote artifacts through environments, choose a rollout strategy, and roll back quickly when health signals degrade.
5 objectives 6 steps about 155 min
Learn it step by step
Read the lessons in order, try the practice checks, then prove the skill with the knowledge check.
This skill page is a public outline. Its lessons and knowledge check appear here as subject-matter experts approve them.
Learning objectives
- Compare recreate, rolling, blue-green and canary releases by risk, cost, speed and rollback time, and choose one for a given service.
- Build a delivery pipeline that promotes one artifact from staging to production with environment protection, approval and smoke tests.
- Define rollback criteria from health checks and error rates, keep schema changes backward compatible, and execute a rollback within a target time.
- Explain pull-based GitOps delivery with Argo CD or Flux, and separate deploying code from releasing features with feature flags.
- Configure a reverse proxy such as Nginx to route by host and path, terminate TLS with an automatically renewed ACME certificate, pass forwarded headers and sane timeouts, and switch traffic between two upstream releases.
Lesson plan
6 steps, about 155 min · 5 of 5 lessons available so far
- Delivery, deployment and rollout strategies: how each one fails Concept · 25 min
- Lab: a staged pipeline with approval and smoke tests Lab · 30 min
- Lab: a TLS-terminating reverse proxy in front of the service Lab · 30 min
- Lab: blue-green cutover and rollback behind the proxy Lab · 25 min
- Schema changes, feature flags, GitOps, traffic splitting and service meshes Concept · 30 min
- Check: choose and defend a release plan Knowledge check · 10 questions
Practise it
Put an Nginx (or Caddy) reverse proxy in front of your service with host-based routing and a certificate issued and renewed over ACME (Let's Encrypt staging or a local ACME test server), then add a delivery stage that deploys the same artifact to staging, runs smoke tests, waits for approval and releases to production with a blue-green switch in that proxy; then ship a deliberately broken version, let the health check fail, roll back, and record the time from detection to recovery. Include a schema or configuration incompatibility in the release rehearsal; explain when traffic rollback is safe and when forward recovery is required, then check a business invariant after recovery.
References
Hard prerequisites
Unlocks
Nothing depends on this skill yet.
On these roadmaps
Progress and evidence for this skill are shared across all of them.