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 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
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
AWS Elastic Disaster Recovery
AWS Elastic Disaster Recovery (DRS) for recovering physical, virtual and cloud servers into AWS with continuous block-level replication, point-in-time recovery, drills and failback.
Cost Management
How AWS billing works, the cost management tools by job (organize, analyze, control, save), and which tool answers which exam question.