Index

Free, with Google

Keep going, free.

A free account opens lessons 2 and 3 of every track, 33 more lessons, and keeps your progress and review cards on every device.

Start free with Google

A chalk plan

Open everything on chalk.

Every lesson, board, video, lab and paper, and the full review decks. Yearly is $39/year.

See plansStart free instead

Module 07 · DevOps · CI/CD, IaC & Operations · about 17 min to read

Play it as a journeyTutor comes with a plan

Shipping without fear: rolling, blue-green, canary and flags

The Assembly Line
The Assembly Line · Open board

The assembly line from commit to production. This lesson works on its last station: how a build that passed every check actually reaches users.

Before you start. The pipeline from The Assembly Line (CI/CD) builds one image and promotes the same bytes, and it ends in a canary that sends a small slice of real traffic to the new version. A Deployment from Pods, ReplicaSets & Deployments (the ownership chain) keeps a set number of identical copies (replicas) of your app running, and a ReplicaSet is the group of copies for one version. In Changing the engine in flight (live schema and data migrations) you saw that a database change must be split into small steps. Here you meet that idea again, next to the release itself.

Lesson 53 of 70 in DevOps

The rest of this lesson is part of a plan.

A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year.

See plansAlready a member? Sign in

Or start free: a free account opens lessons 2 and 3 of every track.

In this lesson

  • A Friday release that reached everyone
  • Rolling update: replace the servers a few at a time
  • Blue-green: two full copies, and a switch
  • Canary: a small slice, then a bigger slice
  • Feature flag: ship the code, show the feature later
  • Expand and contract: change the database in small, safe steps
  • Automated rollback: let the numbers press the button
  • Rolling update arithmetic
  • A stable percentage flag
  • Expand and contract, run
  • A canary judge
  • Choosing

Terms it explains: rolling update, blue-green deployment, feature flag, expand and contract, automated rollback, Common mistakes, CI.

Review DevOps