Disaster recovery

Disaster recovery is the plan and the systems for bringing a service back after a major failure, such as the loss of a datacenter or region.

Disaster recovery covers what happens when failures go beyond what high availability can absorb. Examples are the loss of a whole region, a large data corruption, or a deleted account. A recovery plan says what is restored, where, in what order and by whom. It is tested with drills, since an untested plan often fails when needed.

Two targets define a recovery plan. The recovery time objective is how long the service may be down. The recovery point objective is how much recent data may be lost, set by how often data is copied away. Shorter targets need standby systems and continuous replication in another region, which cost more.

For a sandbox platform, recovery means bringing back the control plane, images, snapshots and volumes in another place. Running sandboxes are usually not recovered as they were, since their memory lived on lost hosts. Workloads restart from images and saved state instead, which is why durable data should live outside the sandbox. Short, disposable sandboxes need little recovery, since they can simply start again.