S3 Cross-Region Replication is configured, but new objects show `ReplicationStatus: FAILED`.
AdvancedTroubleshootingS3, EBS and EFS
Answer
Likely causes → The replication role does not have s3:ReplicateObject on the destination, or the destination bucket policy does not allow the role (cross-account). Objects are SSE-KMS but the rule has no SseKmsEncryptedObjects or KMS permissions in the destination Region. Versioning is off on one side. Or Object Lock is in use without the right configuration.
Diagnose →
aws s3api get-bucket-replication --bucket src
aws s3api head-object --bucket src --key path/obj --query ReplicationStatus
aws s3api get-bucket-versioning --bucket dst
# enable replication metrics + S3 event notifications for s3:Replication:OperationFailedReplication
Fix →
- Fix the role permissions (source read, destination replicate, KMS decrypt on the source key and encrypt on the destination key)
- Fix the destination bucket policy for cross-account
- Re-replicate the failed and existing objects with S3 Batch Replication
Prevent → Turn on Replication Time Control metrics and alarm on OperationsFailedReplication.
More on S3, EBS and EFS
`BucketAlreadyExists: The requested bucket name is not available. The bucket namespace is shared by all users of the system.`Beginner`PermanentRedirect: The bucket you are attempting to access must be addressed using the specified endpoint.`BeginnerA partner account uploads objects into your bucket, but your own admins get `403 Forbidden` reading them.Intermediate`aws s3 cp` gets `An error occurred (AccessDenied) when calling the GetObject operation` but the IAM policy allows `s3:GetObject` and the bucket policy is fine.IntermediateAn S3 static website endpoint returns `403 Forbidden` with `Code: AccessDenied`.IntermediateHigh-throughput writes get `503 SlowDown: Please reduce your request rate.`Intermediate