Copyright (c) 2026 MindMesh Academy. All rights reserved. This content is proprietary and may not be reproduced or distributed without permission.

3.3.2. Snapshot Automation: EC2, RDS, EBS, S3, DynamoDB

💡 First Principle: Manual snapshots are a liability disguised as a process. The only reliable backup is one that runs automatically on a schedule, because humans consistently forget, deprioritize, or skip manual tasks under operational pressure.

Resource-Specific Backup Mechanisms:
ResourceAutomated Backup MethodManual Backup
RDS/AuroraAutomated backups (1–35 day retention; enabled by default)Manual DB snapshots (kept until deleted)
EC2Data Lifecycle Manager (DLM) or AWS BackupManual AMI creation
EBSDLM policies or AWS BackupManual snapshot
DynamoDBPoint-in-Time Recovery (PITR) + AWS BackupOn-demand backup
S3Versioning + replication + S3 Backup in AWS BackupIndividual object copy

AWS Data Lifecycle Manager (DLM): Automates EBS snapshot creation and retention through lifecycle policies. You define:

  • Target resource: EC2 instances or volumes with specific tags
  • Schedule: Every N hours/days
  • Retain: Keep last N snapshots or for N days
  • Cross-region copy: Automatically copy snapshots to another region
  • Fast snapshot restore: Pre-warm snapshots for near-instant restore

DLM is simpler than AWS Backup for EBS-only use cases but doesn't provide the cross-service management or compliance reporting of AWS Backup.

RDS Automated Backups vs. Manual Snapshots:
FeatureAutomated BackupManual Snapshot
Retention1–35 days (deleted automatically)Indefinite (until you delete)
Point-in-time restore✅ Yes (to any second within retention period)❌ No (restores to snapshot time only)
Deleted with DB?✅ Yes (unless you export first)❌ No (persists after DB deletion)

DynamoDB Point-in-Time Recovery (PITR): When enabled, DynamoDB continuously backs up your table, allowing restore to any point in the past 35 days with second-level granularity. PITR is not enabled by default — you must explicitly enable it per table. Enabling PITR is a best practice for any production DynamoDB table.

⚠️ Exam Trap: When you delete an RDS instance, automated backups are also deleted (unless you take a final snapshot). If you want to preserve the ability to restore after deletion, always take a manual snapshot before deleting an RDS instance, or configure deletion protection.

Reflection Question: A developer accidentally ran DROP TABLE on a production DynamoDB table 6 hours ago. PITR was not enabled. What recovery options exist, and what would you configure immediately to prevent this from happening again?

See how it connects
Alvin Varughese
Written byAlvin Varughese
Founder18 professional certifications