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

6.2.4. Secure Replication and Backup

First Principle: Backups are your last line of defense against data destruction — whether from ransomware, accidental deletion, or infrastructure failure. But backups themselves must be secured: an attacker who can delete your backups has defeated your recovery capability.

Amazon Data Lifecycle Manager (DLM):
  • Automates EBS snapshot and AMI creation, retention, and deletion
  • Policy-based: a lifecycle policy targets volumes or instances by tag, then defines the creation schedule and the retention rule (count or age)
  • Optional cross-Region and cross-account copy rules for disaster recovery
AWS Backup:
  • Centralized backup service covering S3, EBS, RDS, DynamoDB, EFS, FSx, and more
  • Backup plans define schedule, retention, and lifecycle rules
  • Backup vaults store backups with independent access policies
  • Vault Lock (Compliance mode) prevents anyone from deleting backups — ransomware protection for backups
  • Cross-account backup copies backups to a separate account (isolating them from the production blast radius)
Ransomware Protection Architecture:
S3 Replication of protected data:
  • Replicating SSE-KMS objects must be opted into and needs KMS permissions on the replication role: kms:Decrypt on the source key and kms:Encrypt on the destination key (replicas in another Region are encrypted with a key in that Region)
  • Object Lock retention settings and legal holds replicate only if the destination bucket also has Object Lock enabled; replication does not turn it on for you
AWS DataSync:
  • Automated data transfer between on-premises storage and AWS (S3, EFS, FSx)
  • Encryption in transit (TLS) and integrity verification
  • Scheduling for regular data synchronization
  • Use case: migrating data with integrity guarantees, ongoing hybrid replication

⚠️ Exam Trap: AWS Backup Vault Lock in Compliance mode prevents backup deletion — even by the root account. This is the key defense against ransomware that targets backups. If a question asks about protecting backups from deletion, Vault Lock is the answer.

Scenario: A ransomware attack encrypts production data and attempts to delete backups. Because AWS Backup copies go to an isolated account with Vault Lock enabled, the attacker can't reach or delete the backups. The company restores from the isolated backup vault within hours.

Reflection Question: Why must backup security be independent of production security, and how does cross-account Vault Lock achieve this independence?

See how it connects
Alvin Varughese
Written byAlvin Varughese
Founder•20 professional certifications