Capstone project

Capstone: recover the Notes service

Lesson 20 of 20 · 30 min · Module 6: Recover a complete service

Practice an operational response with evidence, a known-good release, and verified data.

Start this lesson →

Free. No installation: you write and run the code in your browser, and it is checked automatically.

By the end, you’ll be able to…

  • Preserve evidence and a recovery point
  • Recover application and data independently

The idea

This practice runbook is an ordered sequence of the teaching actions named in the task. Each action changes or observes the supplied in-memory scenario.

01Preserve evidence and a recovery point

Record impact and ownership, collect scenario evidence, and make the recovery copy before the risky change. Ordering is part of the response contract.

02Recover application and data independently

An application rollback does not automatically undo data loss. Restore the named backup and verify its content as a separate responsibility.

03Explain the final evidence

The intended result is healthy notes:1.0, original data, a verified restore, and a resolved incident with a follow-up. Declared RPO and RTO still need measurement in real drills.

Your project brief

Use the practice runbook. Open incident "Notes outage" owned by oncall; collect logs; backup before-release; deploy notes:2.0 and smoke (it fails); corrupt data; roll back notes:1.0; restore before-release; verify data; smoke again; resolve the incident. Add recovery_objectives rpo_minutes 15 and rto_minutes 30, plus nonempty review.cause and review.followup. Initial data is {notes:["first note"]}.

What the checks look for

  • Records the incident and useful evidence
  • Keeps a prechange recovery copy
  • Observes the failed candidate and verifies recovery
  • Restores original data and resolves the incident
  • Documents objectives and follow-up
Try it in the editor →

Take this with you

Operate from evidence, recover each responsibility, and verify the user outcome.

Go a little further

Write a production drill plan that measures recovery time and data age without risking live users.

Learn Infrastructure & Operations for free

20 short lessons with real code and instant checks.

See the whole course →