Ravindra BagaleCourses & study guides मराठी Track your progress

AWS Backup and Disaster Recovery Plans Explained for Beginners

A laptop dies and students panic about project files. In AWS the same fear is bigger: a region event, ransomware, or an accidental delete of an EBS volume. AWS Backup centralizes backup plans; disaster recovery (DR) is the practiced plan to meet RPO and RTO — not a vague “we have snapshots”.

What you'll learn in this chapter

  • Why backups and DR are different
  • What AWS Backup plans, vaults and copies are
  • How to choose pilot light vs warm standby vs multi-site
  • Industries and compliance angles
  • Lab, errors, FAQ, interview

1. Everyday example first

A Pune clinic runs RDS + EFS for reports. Nightly AWS Backup plan snapshots both into a vault with 35-day retention and copies weekly to ap-southeast-1. They restore a table to a staging instance every month — a drill, not a hope.

2. Why AWS Backup and DR?

Why do we need this?

Snapshots alone are not a strategy. You need schedules, encryption, immutability options, cross-account/region copies, and restore runbooks with measured RPO (how much data loss OK) and RTO (how fast back).

  • Single place to protect RDS, EBS, EFS, DynamoDB, and more
  • Lifecycle to cold storage and expire old recovery points
  • Cross-region copy for region DR
  • Audit who changed backup plans

3. What is AWS Backup?

What is it?

AWS Backup is a managed service: you define a backup plan (schedule + lifecycle), assign resources by tags or IDs, and store recovery points in a backup vault. You can copy to another region/account. DR patterns (pilot light, warm standby, active-active) decide how much infra waits ready.

TermMeaning
RPOMax data loss you accept (e.g., 15 minutes)
RTOMax downtime you accept
Backup planWhen and how often you back up
VaultContainer for recovery points + access policy
Pilot lightMinimal core in DR region; scale on event
Warm standbyScaled-down full env always on
Resources → Backup plan → Vault → (Copy) → Restore drillTagged production data
Meet RPO/RTO with evidence

4. How to set a starter DR path

How to do it (step by step)

  1. Write RPO/RTO with the business (example: RPO 1h, RTO 4h).
  2. Tag every protectable resource Backup=true, Env=prod.
  3. Create a vault with KMS CMK and a deny-delete policy for humans if required.
  4. Create a daily plan; retain 35 days; weekly copy to second region.
  5. Assign selections by tag; include RDS, EBS, EFS as needed.
  6. Enable backup notifications to SNS for failed jobs.
  7. Document restore steps in a runbook with screenshots.
  8. Run a restore drill quarterly; record actual RTO.
  9. Test ransomware story: vault lock / immutability where offered.
  10. Review cost: frequency × retention × storage class.
# Mental model
# AWS Backup plan → rules (cron) → selections (tags/ARNs)
# → vault (KMS) → optional cross-region copy

5. DR patterns compared

PatternCost vs speed
Backup/restoreCheapest; slowest RTO
Pilot lightLow cost; boot data tier on event
Warm standbyHigher cost; faster RTO
Multi-site activeHighest cost; near-zero RTO

6. Multi-industry notes

Banks often need cross-region copies and immutable vaults. Factories care about OT historian volumes on EBS. EdTech can accept longer RPO for course videos in S3 (versioning + replication) but tight RPO for student progress DBs.

7. Industries and roles

  • Healthcare: patient records restore drills
  • Fintech: immutable backups vs ransomware
  • SaaS: per-tenant restore playbooks
  • Gov/education: retention policies by law
  • IT services: managed backup as an offering

8. Lab: plan + vault + restore drill on a tiny volume

Do this in ap-south-1 (Mumbai) unless your org forbids it. Set a budget alert first.

How to do it (step by step)

  1. Create a 1 GiB EBS volume in ap-south-1; tag Backup=true.
  2. Create vault lab-vault and a daily backup plan selecting that tag.
  3. Run an on-demand backup; wait for completed recovery point.
  4. Restore to a new volume; attach to a tiny EC2 and confirm data file.
  5. Optional: configure copy to another region if your account allows.

Cleanup (stop billing)

  1. Delete restore volume, original volume, recovery points per policy, plan, vault.
  2. Remove lab alarms/SNS.

9. Common errors and fixes

Each row is a real mistake students and juniors hit. Read the fix before you panic.

Error / symptomFix
Thought AMI equals full DRAMI≠DR; plans+RPO/RTO+drills.
No restore test everSchedule drills; measure RTO.
Vault open to every admin deleteVault access policies; break-glass only.
Backups in same AZ only storyRegion + cross-region copy.
Untagged resources skipped silentlyConfig rule / periodic inventory.
RPO promised 0 with daily backupsAlign sales with plan frequency.
Encrypted with wrong key in DR regionReplicate CMKs / grants.
Forgotten DynamoDB PITR vs BackupKnow service-native options too.
Cost shock from forever retentionLifecycle to cold + expire.
Runbook only in someone’s headStore runbook in git + wiki.

10. Troubleshooting checklist

  1. Job failed: IAM role for Backup missing permissions.
  2. Vault access denied: check vault policy and KMS.
  3. Restore slow: choose right volume type/size.
  4. Copy pending: second region quotas/KMS.
  5. Resource not listed: unsupported type or wrong region.
  6. Tags not matching selection: case/space typos.

11. FAQ

Q. Is AWS Backup free?

You pay storage and restore; check pricing.

Q. Snapshots vs AWS Backup?

Backup orchestrates many services + policies.

Q. S3 versioning enough?

Great for objects; not a full account DR plan.

Q. Pilot light vs warm standby?

Cost vs RTO trade-off.

Q. Cross-account backups?

Supported pattern for ransomware isolation.

Q. Who owns drills?

Engineering + business; quarterly minimum.

12. Interview Q&A

Q. RPO vs RTO?

RPO=data loss tolerance; RTO=downtime tolerance.

Q. What is AWS Backup?

Managed backup plans, vaults, copies across AWS resources.

Q. Why restore drills?

Untested backups fail when you need them.

Q. Pilot light?

Minimal DR footprint you scale on disaster.

Q. Immutable backup?

Prevent delete/overwrite for a locked period.

Q. Tags for backups?

Selections often key off tags for scale.

13. Tips in English, Marathi and Hindi

Ravindra Bagale's Tip (EN)

A backup you never restored is a story, not a control. Put the last drill date next to RPO/RTO on your wiki.

Ravindra Bagale's Tip (MR)

Restore न केलेला backup = story. Wiki वर last drill + RPO/RTO.

Tip (HI)

बिना restore ड्रिल का बैकअप सिर्फ कहानी है — wiki पर drill तारीख और RPO/RTO लिखो।

Try at home

  1. Write RPO/RTO for a sample online store in one sentence each.
  2. List five resources in a 3-tier app you must tag for Backup.
  3. Sketch pilot light vs warm standby boxes for Mumbai→Singapore.

In short

  1. AWS Backup centralizes plans and vaults.
  2. DR needs RPO/RTO + tested restores.
  3. Copy across region/account for serious threats.
  4. Lifecycle retention or bills grow forever.

Revision, interview and comparison cards

Revise this lesson in a few minutes. Save the cards on your phone or download them as PNG files. The QR code on each card opens this lesson.

Revision card: AWS Backup and DR plans. Snapshots scattered across services are hard to prove and restore under stress. AWS Backup centralizes backup plans, vaults, and recovery points across AWS resources. Create vault → plan with schedule/retention → assign resources by tag → test restore drills. Nightly EBS+RDS backups with 35-day retain; quarterly restore test to a lab account.
Revision card: AWS Backup and DR plans · Download PNG · Open card page
Revision card: RPO, RTO and strategies. “We have backups” is not a recovery time you can sell to the business. RPO is how much data you can lose; RTO is how fast you must be back. Strategies range backup/restore → pilot light → warm → multi-site. Write RPO/RTO per app; pick strategy and region copy; run game days. Payments: RPO 5 min + warm standby; blog: RPO 24 h + backup/restore.
Revision card: RPO, RTO and strategies · Download PNG · Open card page
Comparison: AWS Backup plan vs Ad-hoc service snapshots. AWS Backup plan: Central plans, vaults, tags, audit across services. Ad-hoc service snapshots: Manual snapshots per console/API per service.
Comparison: AWS Backup plan vs Ad-hoc service snapshots · Download PNG · Open card page
Comparison: Backup/restore or pilot light vs Multi-site active/active. Backup/restore or pilot light: Lower cost; longer RTO (restore or light infra). Multi-site active/active: Highest readiness; continuous dual-site cost.
Comparison: Backup/restore or pilot light vs Multi-site active/active · Download PNG · Open card page
Interview card: What does AWS Backup centralize?. Backup plans, vaults, and recovery points across supported AWS resources. Tag-based assignment beats per-console clicks. Plan covers EBS, RDS, EFS by Environment=prod tag.
Interview card: What does AWS Backup centralize? · Download PNG · Open card page
Interview card: RPO vs RTO?. RPO = how much data loss is acceptable; RTO = how fast you must restore service. Pick strategy from those numbers, not from vibes. RPO 24h → daily backup; RTO 1h → warm standby maybe.
Interview card: RPO vs RTO? · Download PNG · Open card page
Interview card: Why restore drills?. Untested backups fail when you need them; drills prove vault access, IAM, and runbooks. Schedule quarterly restores to an isolated account. Last drill found missing KMS decrypt on restore role.
Interview card: Why restore drills? · Download PNG · Open card page
Interview card: Why cross-region copy?. Protects against a regional outage when RPO/RTO demand it. Costs more; justify with business impact. Prod vault copies nightly to secondary region.
Interview card: Why cross-region copy? · Download PNG · Open card page

More cards: Ravi Sir's Cards.

Practice Tasks

About this scenario

Vidarbha Cotton Mills is a textiles business in Nagpur. Ganesh Wankhede looks after its IT and cloud work. They count money in INR and run their AWS resources in the ap-south-1 Region. In the tasks below you do real jobs for them using what this lesson teaches. All names, account IDs, IP addresses and numbers are made up for practice.

0 / 16

Easy List backup plans

Why: See DR plans.

What to do: List backup plans.

How:
  1. Read the task and decide which AWS service it is about.
  2. Write aws, then the service name, then the operation (the action word).
  3. Add each needed flag (--name) followed by its value from the task.
  4. Flags can be in any order. Click Check answer.

Easy List backup vaults

Why: Where recovery points live.

What to do: List backup vaults.

How:
  1. Read the task and decide which AWS service it is about.
  2. Write aws, then the service name, then the operation (the action word).
  3. Add each needed flag (--name) followed by its value from the task.
  4. Flags can be in any order. Click Check answer.

Easy Describe vault

Why: KMS and policy.

What to do: Describe backup vault vidarbhacotton-vault.

How:
  1. Read the task and decide which AWS service it is about.
  2. Write aws, then the service name, then the operation (the action word).
  3. Add each needed flag (--name) followed by its value from the task.
  4. Flags can be in any order. Click Check answer.

Easy Restore drills needed — 1

Why: Test restores.

What to do: Enter 1 if restore drills matter.

How:
  1. Write down the numbers the task gives you.
  2. Work it out step by step on paper.
  3. Type only the final answer in the box.
  4. Click Check answer.

Easy Cross-region copy helps — 1

Why: Regional DR.

What to do: Enter 1 if cross-region copy helps regional DR.

How:
  1. Write down the numbers the task gives you.
  2. Work it out step by step on paper.
  3. Type only the final answer in the box.
  4. Click Check answer.

Medium Get backup plan

Why: Inspect rules.

What to do: Get backup plan vidarbhacottonplan.

How:
  1. Read the task and decide which AWS service it is about.
  2. Write aws, then the service name, then the operation (the action word).
  3. Add each needed flag (--name) followed by its value from the task.
  4. Flags can be in any order. Click Check answer.

Medium List selections

Why: What is protected.

What to do: List backup selections for plan vidarbhacottonplan.

How:
  1. Read the task and decide which AWS service it is about.
  2. Write aws, then the service name, then the operation (the action word).
  3. Add each needed flag (--name) followed by its value from the task.
  4. Flags can be in any order. Click Check answer.

Medium List backup jobs

Why: Watch failures.

What to do: List backup jobs.

How:
  1. Read the task and decide which AWS service it is about.
  2. Write aws, then the service name, then the operation (the action word).
  3. Add each needed flag (--name) followed by its value from the task.
  4. Flags can be in any order. Click Check answer.

Medium Allow StartRestoreJob

Why: Restore LP.

What to do: Allow backup:StartRestoreJob on arn:aws:backup:ap-south-1:108737854657:recovery-point:*.

How:
  1. Start with { "Version": "2012-10-17", "Statement": [ ... ] }.
  2. In each statement write Effect, Action and Resource.
  3. Give only what the task needs (least privilege).
  4. Use double quotes and commas correctly. Click Check answer.

Medium RPO hours JSON

Why: State RPO.

What to do: JSON RPOHours 24.

How:
  1. Start from the top-level keys the task names.
  2. Indent child keys with 2 spaces (no tabs).
  3. Fill in each property with the value from the task.
  4. Click Check answer. Key order does not matter.

Medium Pilot light cheaper than multi-site — 1

Why: Cost ladder.

What to do: Enter 1 if pilot light is usually cheaper than multi-site.

How:
  1. Write down the numbers the task gives you.
  2. Work it out step by step on paper.
  3. Type only the final answer in the box.
  4. Click Check answer.

Medium Sample daily retain days

Why: Retention.

What to do: Sample daily retain days in labs (enter 35)?

How:
  1. Write down the numbers the task gives you.
  2. Work it out step by step on paper.
  3. Type only the final answer in the box.
  4. Click Check answer.

Hard List recovery points

Why: Know restore points.

What to do: List recovery points by vault vidarbhacotton-vault.

How:
  1. Read the task and decide which AWS service it is about.
  2. Write aws, then the service name, then the operation (the action word).
  3. Add each needed flag (--name) followed by its value from the task.
  4. Flags can be in any order. Click Check answer.

Hard List restore jobs

Why: Audit restores.

What to do: List restore jobs.

How:
  1. Read the task and decide which AWS service it is about.
  2. Write aws, then the service name, then the operation (the action word).
  3. Add each needed flag (--name) followed by its value from the task.
  4. Flags can be in any order. Click Check answer.

Hard Allow StartBackupJob vault

Why: Operator LP.

What to do: Allow backup:StartBackupJob on arn:aws:backup:ap-south-1:108737854657:backup-vault:vidarbhacotton-vault.

How:
  1. Start with { "Version": "2012-10-17", "Statement": [ ... ] }.
  2. In each statement write Effect, Action and Resource.
  3. Give only what the task needs (least privilege).
  4. Use double quotes and commas correctly. Click Check answer.

Hard RTO hours JSON

Why: State RTO.

What to do: JSON RTOHours 4.

How:
  1. Start from the top-level keys the task names.
  2. Indent child keys with 2 spaces (no tabs).
  3. Fill in each property with the value from the task.
  4. Click Check answer. Key order does not matter.