# Backups and Disaster Recovery

> Define RPO and RTO, choose a DR strategy from backup-and-restore to multi-site active-active, and centralize backups with AWS Backup. Free notes, key concepts,...

Canonical: https://www.internhack.in/roadmaps/tracks/cloud-engineer/backup-dr
Last updated: 2026-11-28

Define RPO and RTO, choose a DR strategy from backup-and-restore to multi-site active-active, and centralize backups with AWS Backup.

Advanced · about 4 hours · difficulty 3/5

Learn first: [High Availability and Fault Tolerance](https://www.internhack.in/roadmaps/tracks/cloud-engineer/high-availability), [Block and File Storage: EBS and EFS](https://www.internhack.in/roadmaps/tracks/cloud-engineer/ebs-efs)

High availability handles small failures. **Disaster recovery (DR)** handles big ones: a region outage, a ransomware attack, or someone running a delete script against production.

### RPO and RTO

- **RPO (Recovery Point Objective)**: how much data you can afford to lose, measured in time. RPO of 1 hour means backups at least hourly.
- **RTO (Recovery Time Objective)**: how long you can be down before recovery.
- The business sets these; tighter targets cost more.

### The four DR strategies (cheapest to most expensive)

1. **Backup and restore**: backups copied to another region; rebuild everything with IaC after a disaster. RTO in hours.
2. **Pilot light**: core data replicated live (for example, an Aurora Global Database replica in Hyderabad), compute off until needed.
3. **Warm standby**: a scaled-down but running copy in the second region.
4. **Multi-site active-active**: full capacity in both regions, near-zero RTO and RPO, highest cost.

### AWS Backup

- Central **backup plans** for EBS, RDS, Aurora, DynamoDB, EFS, S3 and more, selected by tags.
- **Cross-region and cross-account copies** protect against regional failure and compromised accounts.
- **Vault Lock** makes backups immutable, a strong defense against ransomware.

### Test your restores

A backup you have never restored is a hope, not a plan. Schedule restore tests and measure how long they take against your RTO. Azure Site Recovery and Azure Backup, and Google Backup and DR, are the equivalents.

### Pitfalls

- Backups in the same account an attacker has compromised.
- IaC that cannot actually rebuild the environment in another region (hardcoded AMI IDs, region names).

You are ready to move on when you can pick a DR strategy for a given RPO/RTO and budget, and have restored a real backup in a second region.

## Key concepts

- **RPO and RTO**
- **Backup and restore**
- **Pilot light**
- **Warm standby**
- **Multi-site active-active**
- **AWS Backup plans and vaults**
- **Cross-region and cross-account copies**
- **Restore testing**

## Mini project

Create an AWS Backup plan that backs up a tagged DynamoDB table daily and copies it to ap-south-2 (Hyderabad). Trigger an on-demand backup, restore it in Hyderabad and time the restore. Keep the table tiny to stay in free tier, then delete the restored table, recovery points and plan.

## Check yourself

A payments startup needs RPO under 1 minute and RTO under 15 minutes for its database. Which DR strategy fits, and what AWS feature would you use?

## Free resources

- [AWS Backup documentation](https://docs.aws.amazon.com/aws-backup/) (AWS)
- [Disaster Recovery of Workloads on AWS (whitepaper)](https://docs.aws.amazon.com/whitepapers/latest/disaster-recovery-workloads-on-aws/disaster-recovery-workloads-on-aws.html) (AWS)

Previous: [High Availability and Fault Tolerance](https://www.internhack.in/roadmaps/tracks/cloud-engineer/high-availability) · Next: [FinOps Basics: Visibility and Cost Allocation](https://www.internhack.in/roadmaps/tracks/cloud-engineer/finops-basics)

## More in Reliability, Disaster Recovery and Cost Optimization

- [The AWS Well-Architected Framework](https://www.internhack.in/roadmaps/tracks/cloud-engineer/well-architected)
- [High Availability and Fault Tolerance](https://www.internhack.in/roadmaps/tracks/cloud-engineer/high-availability)
- [Backups and Disaster Recovery](https://www.internhack.in/roadmaps/tracks/cloud-engineer/backup-dr)
- [FinOps Basics: Visibility and Cost Allocation](https://www.internhack.in/roadmaps/tracks/cloud-engineer/finops-basics)
- [Cost Optimization: Rightsizing, Savings Plans and Spot](https://www.internhack.in/roadmaps/tracks/cloud-engineer/cost-optimization)

## Related

- [Roadmaps](https://www.internhack.in/roadmaps)
- [Cloud Engineer (AWS) Roadmap](https://www.internhack.in/roadmaps/tracks/cloud-engineer)
