Score:0

How to know if an S3 bucket with Cross-Region Replication is fully replicated?

tj flag

I want to setup my S3 bucket to replicate in another region. Once it's fully replicated, I will make that bucket the main one (the idea is to migrate all data from one region to another). I know how to setup cross-region replication, but my problem is how can I know if the two buckets are 100% in sync? Since I'll need to know that to switch to that new bucket as the main one.

Any idea how to get that information?

Tim avatar
gp flag
Tim
I typed your question into Google and found this page, which says to use the Amazon S3 Inventory tool https://docs.aws.amazon.com/AmazonS3/latest/userguide/replication-status.html . I would also wonder if Cloudwatch has a metric.
laurent avatar
tj flag
I did find this page while I was searching this issue but I understand this status was only per-object, which would not be useful if I have millions of objects in the bucket. Instead I'm looking for a way to get the replication status of the whole bucket (say a number such as "99.6% of the bucket is replicated").
Score:1
gp flag
Tim

Use the AWS S3 inventory tool. This creates a report which reports on the status of each object in the bucket. You can use AWS Athena or your preferred analysis mechanism to work out the replication status of the bucket.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.