Skip to the guide

Disaster recovery and multi-region

AdvancedConcept3 pages

Redundancy inside a region handles a dead server or zone. Disaster recovery (DR) is the plan for the rest: a whole region down, or data destroyed by a bug, a bad migration or an attacker. Interviewers want two numbers per kind of data, how much you can lose and how long you can be down, and a design that meets them.

The family business and the branch office

A family business keeps its order book in the office. Every evening the bookkeeper photocopies the day's pages and posts them to the branch in another city. If a fire destroys the office, the branch has everything up to yesterday evening, and today's orders are gone. Answering customers from the branch takes a day, or minutes if staff are already there. Once a year they rehearse: the branch runs the business for a day.

  • the office → the primary region, and the order book → the orders database
  • the evening post to another city → replication and backups to another region
  • the fire → a region loss
  • what's lost since the last copy → the RPO (recovery point objective)
  • how long until customers are served again → the RTO (recovery time objective)
  • staff already at the branch → a warm standby, or active-active
  • the rehearsal → a DR drill