ladderlore
Request a guide
  • Type a service name, like S3 or IAM.

Concept · Builds on CLF-C02

Backup and retention policies

Keep as many backups as your recovery and compliance rules need, and no more.

You know from Cloud Practitioner

  • AWS Backup centralizes backups.
  • Snapshots and point-in-time recovery protect databases.
  • Retention balances protection against cost.
Read the Cloud Practitioner lesson
  • RDS automated

    Kept for
    Up to 35 days
    Cost note
    Free up to database size
  • Manual snapshot

    Kept for
    Until you delete it
    Cost note
    Bills every month
  • DynamoDB PITR

    Kept for
    1 to 35 days
    Cost note
    Billed on table size
  • DynamoDB on-demand

    Kept for
    Until you delete it
    Cost note
    Billed on size
Retention by backup type.
Warm storage
Cold storage
Deleted
After N daysAfter M days
An AWS Backup lifecycle.

What it is

RDS and Aurora automated backups keep daily snapshots and logs for a retention period of up to 35 days. This lets you restore to any second in the window (point-in-time recovery). Backup storage up to the size of your database is free, and you pay beyond it. Longer retention and more frequent snapshots store more data. Manual snapshots stay until you delete them, even after you delete the database, and they keep billing, so clean them up.

DynamoDB point-in-time recovery restores to any second in a window of 1 to 35 days, and bills on table size. DynamoDB on-demand backups stay until you delete them and bill by size.

What it is

AWS Backup applies one plan across services. A lifecycle rule moves backups to cold storage after a number of days, and deletes them at the end of retention. Cold storage must be kept at least 90 days. It is cheaper, but only some services support it: Amazon EBS, Amazon EFS, Amazon DynamoDB, Amazon Timestream and VMware. For DynamoDB you must first turn on advanced features for DynamoDB backups in AWS Backup settings. Base retention on your recovery point objective and on legal rules, not on habit.

Remember

  • RDS automated backups: up to 35 days, with point-in-time recovery. Free up to database size.
  • Manual snapshots stay until deleted and keep billing. Delete old ones.
  • DynamoDB point-in-time recovery: 1 to 35 days. On-demand backups last until deleted.
  • AWS Backup lifecycle: move to cold storage, then delete. Cold storage needs 90 days at least.

Remember

  • Not every service supports cold storage. EBS, EFS and DynamoDB do. DynamoDB needs advanced features turned on.
  • Retention follows recovery point objective and legal rules. More frequent snapshots store more data.

On the exam

  • “Restore RDS to 10 minutes ago” points to automated backups with point-in-time recovery.
  • “Keep DynamoDB backups for years at the lowest cost” points to AWS Backup with a cold storage lifecycle, with advanced features on for DynamoDB.
  • “Old manual snapshots keep adding cost” points to deleting snapshots, or a Backup lifecycle rule.