Hints — S3 Replication - Lab 06
Open each hint only after you’ve spent time investigating on your own.
Hint 1 — Check the replication rule
The replication rule is configured and enabled. Look more closely at the rule itself — not just that it exists.
Open the S3 console, navigate to the source bucket, open the Management tab, and click into the replication rule. What are the rule settings?
Hint 2 — Replication rules can be scoped
Replication rules can be configured to replicate all objects, or only objects that match a specific prefix or tag filter.
Look at the Scope section of the replication rule. What objects does this rule apply to?
Hint 3 — Compare the filter to the files in the bucket
The replication rule has a prefix filter. Only objects whose key starts with that prefix will be replicated.
What is the prefix in the rule? Does index.html match it?
Spoiler Alert — Full Solution
Root cause: The replication rule has a prefix filter set to archive/.
Only objects with keys starting with archive/ are in scope for replication.
index.html is at the bucket root — it does not match the prefix, so it is
silently excluded and never replicated to the destination.
To fix the replication rule:
- Open the S3 console and navigate to the source bucket
- Open the Management tab and click the replication rule to edit it
- Under Scope, change the scope to Apply to all objects in the bucket
- Save the rule
- Upload any file to the source bucket (e.g., upload a test
.txtfile via Upload) - Wait a few seconds, then open the destination bucket — the file should appear