Skip to Content

AWS Backup

AWS Backup for centrally managing and automating backups across AWS services, backup plans, cross-Region and cross-account copies, Vault Lock and logically air-gapped vaults.

What it is

AWS Backup: from one console a backup plan is created with frequency and retention and resources are assigned to it by tag, such as EC2, EBS, S3, RDS, Aurora, DynamoDB, EFS, FSx and Storage Gateway volumes, and the backups are stored in a backup vault and can be copied to other Regions and accounts AWS Backup: from one console a backup plan is created with frequency and retention and resources are assigned to it by tag, such as EC2, EBS, S3, RDS, Aurora, DynamoDB, EFS, FSx and Storage Gateway volumes, and the backups are stored in a backup vault and can be copied to other Regions and accounts

One plan for backups across many services.

AWS Backup is a fully managed service to centrally manage and automate backups across AWS services.

  • No need to create custom scripts and manual processes.
  • Supported services:
    • Amazon EC2 / Amazon EBS;
    • Amazon S3;
    • Amazon RDS (all DB engines) / Amazon Aurora / Amazon DynamoDB;
    • Amazon DocumentDB / Amazon Neptune;
    • Amazon EFS / Amazon FSx (Lustre, Windows File Server, NetApp ONTAP, OpenZFS);
    • AWS Storage Gateway (Volume Gateway);
    • and more today: Redshift, Timestream, SAP HANA on EC2, VMware VMs, CloudFormation stacks…
  • Supports cross-Region backups.
  • Supports cross-account backups (within AWS Organizations, with backup policies applied to all accounts).

Backup plans

  • Supports PITR (point-in-time recovery) for supported services.
  • On-demand and scheduled backups.
  • Tag-based backup policies (for example, every resource tagged backup=daily).
  • Backup policies are known as backup plans:
    • backup frequency (every 12 hours, daily, weekly, monthly, cron expression);
    • backup window;
    • transition to cold storage (never, days, weeks, months, years);
    • retention period (always, days, weeks, months, years).
  • Backups are stored in backup vaults.

AWS Backup Vault Lock

AWS Backup Vault Lock: backups are written once into a locked vault and become write once, read many; attempts to delete them or shorten their retention are denied, even for the root user; in governance mode, users with sufficient IAM permissions can remove the lock, and in compliance mode nobody can after the grace time AWS Backup Vault Lock: backups are written once into a locked vault and become write once, read many; attempts to delete them or shorten their retention are denied, even for the root user; in governance mode, users with sufficient IAM permissions can remove the lock, and in compliance mode nobody can after the grace time

Backups nobody can delete.

Vault Lock enforces a WORM (Write Once Read Many) state for all the backups stored in an AWS Backup vault.

  • An additional layer of defense to protect the backups against:
    • inadvertent or malicious delete operations;
    • updates that shorten or alter retention periods.
  • Even the root user cannot delete backups when it's enabled.
  • Two modes (not in the slides):
    • governance mode: users with enough IAM permissions can remove the lock;
    • compliance mode: after a grace time (a cooling-off period set by the customer), nobody can change or delete the lock, not even AWS.

A logically air-gapped vault goes further: it's locked in compliance mode and can be shared with other accounts (through RAM) so a restore still works even if the owning account is compromised. AWS Backup also offers restore testing and Backup Audit Manager for compliance reports.

Real-world examples

  • A company tags production resources backup=gold; one backup plan backs them up every 12 hours, keeps 35 days, copies to a second Region and a separate backup account, and a compliance-mode Vault Lock protects the copies from ransomware.

Exam tips

  • "Centralize and automate backups across services and accounts" → AWS Backup (+ Organizations backup policies).
  • "Copy backups to another Region or account automatically" → AWS Backup copy rules.
  • "Backups must be immutable, protected even from root / ransomware" → Backup Vault Lock (compliance mode).
  • "Back up resources by tag" → tag-based backup plans.

Common traps

  • "AWS Backup only does EBS snapshots." It covers many services, including S3, DynamoDB, RDS, EFS and FSx.
  • "Vault Lock is the same as S3 Object Lock." Vault Lock protects AWS Backup vaults; S3 Object Lock protects S3 objects.

Hands-on lab: an on-demand backup

Goal: back up a DynamoDB table with AWS Backup and see the recovery point.

Costs money

Backups of a tiny DynamoDB table cost a fraction of a cent per month. Any Region works.

Create a table

DynamoDB → Create table: saa-backup-demo, partition key id (String). Add one item.

Back it up

AWS Backup → Protected resources → Create on-demand backup: resource type DynamoDB, table saa-backup-demo, the Default vault, retention 1 day.

See the recovery point

Backup vaults → Default: a recovery point appears when the job completes.

Expected result: a completed backup job and a recovery point you could restore to a new table.

Clean up: delete the recovery point from the vault, then delete the table.

AWS documentation

On this page

Open notes

Spotted a mistake?

These notes are open source. Suggest a fix, or star the repo if they helped you.

Suggest an edit

For AI agents: llms.txt · llms-full.txt