Lesson 1 of 2 AWS Backup and Disaster Recovery

Centralising Data Protection with AWS Backup

This lesson explains how AWS Backup centralises and automates data protection across AWS services and accounts.

Learning outcomes

After completing this lesson, you will be able to:

  • Describe how backup plans protect resources across services.
  • Explain how Vault Lock and cross-account copies protect backups.
  • Describe how backup policies and restore testing govern backups.

Backup plans

AWS Backup centralises backups for many services: Amazon EC2, EBS, RDS, Aurora, DynamoDB, EFS, FSx, S3, Storage Gateway, DocumentDB, Neptune, Redshift and others. Instead of configuring backups separately in each service, a team defines backup plans.

A plan sets the backup frequency, down to hourly, with continuous backup for point-in-time restore on supported services; the backup window; the retention period; a lifecycle that moves older backups to cold storage; and copy actions to other Regions or accounts. Resources are assigned to plans by tag, such as backup=daily, so new resources are protected as soon as they are tagged, with no change to the plan.

The following diagram shows a plan and the protections around its backups.

How AWS Backup protects resources. Resources tagged backup=daily are assigned to a backup plan that sets the frequency, window, retention and cold-storage lifecycle. Recovery points go to a KMS-encrypted vault, and copy actions send copies to a vault in another Region and account. Vault Lock in compliance mode stops anyone, including the root user, deleting recovery points early.
The tag is illustrative. The plan does not change when resources are added; tagging them is enough.
True or false

Backup plans

Exam skills 4.3.1 · 1.3.5

Check how AWS Backup plans work.

Log in to try this activity Interactive activities are free with an account.

Protecting backups

Backups are only useful if they survive the event they are meant to recover from, including an attack, so AWS Backup offers layers of protection. Backup vaults are encrypted with KMS and have access policies that decide who can manage or delete recovery points. Cross-Region and cross-account copies place copies outside the original Region and account, so a Regional outage or a compromised account does not destroy every copy.

Vault Lock in compliance mode enforces write-once retention: once its grace period has passed, nobody, including administrators and the root user, can delete recovery points early or change the retention, which protects against ransomware and malicious insiders. Logically air-gapped vaults add further isolation from the account that created the backups. The following table summarises the protections.

FeatureProtects against
Backup vaults (KMS-encrypted)Unauthorised access
Cross-Region and cross-account copiesRegional outages, compromised accounts
Vault Lock, compliance modeDeletion or changes by anyone, including ransomware and insiders
Logically air-gapped vaultsAccount compromise (extra isolation)
Match the pairs

Protecting backups

Exam skills 1.3.5 · 4.1.6

Match each threat with the AWS Backup protection against it.

Log in to try this activity Interactive activities are free with an account.

Governance and proving restores

Across an organisation, backup policies in AWS Organizations apply backup plans to every account, and AWS Backup Audit Manager, a feature of AWS Backup, reports whether resources are backed up according to policy.

Backups matter only if they can be restored in time. The backup frequency, or continuous backup, determines the recovery point objective (RPO), and timed restores show whether the recovery time objective (RTO) can be met. Restore testing restores and validates recovery points on a schedule, which proves that backups work and gives auditors evidence.

Worked example

One backup policy for everything

A company backs up EC2, RDS, DynamoDB and EFS with a mix of scripts and console snapshots. Some resources are missed, and backups are kept in the same account and Region as production.

NeedAWS Backup feature
Daily backups kept for 35 days, monthly for a yearA backup plan with two rules
New resources included automaticallyResource assignment by tag, such as backup=daily
Copies in another Region and accountCopy actions to a vault in the DR Region and backup account
Backups cannot be deleted early, even by administratorsVault Lock in compliance mode
Proof that backups can be restoredRestore testing

One central plan replaces many scripts, and tagging new resources is all a team needs to do to have them protected.

Check yourself

How can backups be copied to another Region automatically?

Show answer

Add a copy rule to the backup plan that copies recovery points to a vault in another Region, or another account.

Exam Tips

Remember for the exam

  • To centralise backups across many services and accounts, use AWS Backup with backup policies.
  • To make backups immutable against ransomware or insiders, use Vault Lock in compliance mode.
  • To protect against Regional failure, add a cross-Region copy to the backup plan.
  • To protect new resources automatically, assign resources to the backup plan by tag.
  • To prove that backups can be restored, use AWS Backup restore testing.