teluzia.Cloud Engineer · Day 58
CHAPTER 09 · STORAGE AND DATABASES

S3 replication and durability

4–5 hours including independent practice3 topics
LET’S MAKE THIS SIMPLE

What you’re learning today

Compare storage durability with a second managed copy, then configure a small replication exercise in your own sandbox if its cost fits your plan. Replication needs explicit source, destination, versioning and role permissions. It is asynchronous and does not automatically copy every preexisting object or create an immutable backup. Durability concerns avoiding data loss; availability concerns access when requested. Replication and backup introduce other copies for particular failure or recovery scenarios. A durable service can still receive a mistaken authorized deletion or application overwrite. Choose controls according to the threat, not one impressive durability number. S3 replication can copy eligible new objects within or across Regions under configured rules. Source and destination buckets need versioning, and the service role needs relevant permissions. Prefix or tag filters define scope. Existing objects require a separate supported replication approach such as Batch Replication rather than assuming a new rule backfills everything.

Think of it this way

Durability protects the warehouse’s stored parcels; replication sends selected copies to another warehouse under a documented shipping rule.

TOPIC 01 / 03Step by step

Durability versus availability and recovery

Durability concerns avoiding data loss; availability concerns access when requested. Replication and backup introduce other copies for particular failure or recovery scenarios. A durable service can still receive a mistaken authorized deletion or application overwrite. Choose controls according to the threat, not one impressive durability number. A highly durable object containing the wrong uploaded report remains wrong; a recoverable earlier version or independently retained copy addresses that logical error, while infrastructure durability addresses a different failure class. Separating failure classes makes protection plans credible and prevents durability claims from being used as a substitute for versioning, restore procedures or application validation. Treating replication as proof of correctness copies mistakes too; define retained history, permissions and recovery verification in addition to copying objects to another location.

WORKED EXAMPLE
A highly durable object containing the wrong uploaded report remains wrong; a recoverable earlier version or independently retained copy addresses that logical error, while infrastructure durability addresses a different failure class.
Why this matters

Separating failure classes makes protection plans credible and prevents durability claims from being used as a substitute for versioning, restore procedures or application validation.

A common trap

Treating replication as proof of correctness copies mistakes too; define retained history, permissions and recovery verification in addition to copying objects to another location.

Read all topics in this lesson

A complete reference to revisit alongside the guided steps above.

Durability versus availability and recovery

Durability concerns avoiding data loss; availability concerns access when requested. Replication and backup introduce other copies for particular failure or recovery scenarios. A durable service can still receive a mistaken authorized deletion or application overwrite. Choose controls according to the threat, not one impressive durability number. A highly durable object containing the wrong uploaded report remains wrong; a recoverable earlier version or independently retained copy addresses that logical error, while infrastructure durability addresses a different failure class. Separating failure classes makes protection plans credible and prevents durability claims from being used as a substitute for versioning, restore procedures or application validation. Treating replication as proof of correctness copies mistakes too; define retained history, permissions and recovery verification in addition to copying objects to another location.

WORKED EXAMPLE
A highly durable object containing the wrong uploaded report remains wrong; a recoverable earlier version or independently retained copy addresses that logical error, while infrastructure durability addresses a different failure class.

Why this matters

Separating failure classes makes protection plans credible and prevents durability claims from being used as a substitute for versioning, restore procedures or application validation.

A common trap

Treating replication as proof of correctness copies mistakes too; define retained history, permissions and recovery verification in addition to copying objects to another location.

Replication rules and prerequisites

S3 replication can copy eligible new objects within or across Regions under configured rules. Source and destination buckets need versioning, and the service role needs relevant permissions. Prefix or tag filters define scope. Existing objects require a separate supported replication approach such as Batch Replication rather than assuming a new rule backfills everything. A rule filtering prefix lab/ can replicate lab/new.txt written after rule setup while notes/private.txt is outside scope; an old pre-rule object does not automatically become proof that live replication is broken. Prerequisite and scope checks explain pending or absent copies and prevent unnecessary broad policy changes when the tested object never qualified for the rule. Testing only a preexisting object after enabling live replication can mislead you; upload a new eligible fixture and inspect its status before considering an existing-object replication mechanism.

WORKED EXAMPLE
A rule filtering prefix lab/ can replicate lab/new.txt written after rule setup while notes/private.txt is outside scope; an old pre-rule object does not automatically become proof that live replication is broken.

Why this matters

Prerequisite and scope checks explain pending or absent copies and prevent unnecessary broad policy changes when the tested object never qualified for the rule.

A common trap

Testing only a preexisting object after enabling live replication can mislead you; upload a new eligible fixture and inspect its status before considering an existing-object replication mechanism.

Permissions, encryption and deletion semantics

Replication behavior depends on role, destination access, ownership and encryption settings. Delete-marker replication is configurable and has rule limitations; version-specific deletes and lifecycle actions have different behavior. Costs can include destination storage, requests and cross-Region transfer. Verify actual documented behavior for the selected configuration. A tiny plaintext fixture avoids KMS complexity initially; an encrypted follow-up needs the correct source/decryption and destination/encryption permissions as documented, not merely the same S3 object-read policy used for an unencrypted copy. Knowing boundaries keeps a second copy from being mistaken for a complete independent backup and makes cost and deletion effects explicit before relying on the destination for disaster recovery. Assuming every delete propagates identically ignores markers, version deletes and lifecycle behavior; specify each case in a test matrix and verify actual replication status rather than inferring it from bucket names.

WORKED EXAMPLE
A tiny plaintext fixture avoids KMS complexity initially; an encrypted follow-up needs the correct source/decryption and destination/encryption permissions as documented, not merely the same S3 object-read policy used for an unencrypted copy.

Why this matters

Knowing boundaries keeps a second copy from being mistaken for a complete independent backup and makes cost and deletion effects explicit before relying on the destination for disaster recovery.

A common trap

Assuming every delete propagates identically ignores markers, version deletes and lifecycle behavior; specify each case in a test matrix and verify actual replication status rather than inferring it from bucket names.

KEEP THESE WITH YOU

Today’s takeaways

Separate durability from logical recovery.

Verify scope and new-object behavior.

Test permission and deletion semantics.

CLOSE THE LOOP

Ready to complete this day?

Verify the practical steps and pass the knowledge check (at least two thirds correct).

Lab steps verifiedKnowledge check passed