Cross-Region Replication Monitor

Cross-Region Replication Monitor (CRR Monitor) automatically checks the replication status of Amazon S3 objects across all AWS Regions in a customer's account, and provides near real-time metrics and failure notifications to help customers identify failures and troubleshoot problems.

The Guidance provisions the necessary AWS services to monitor and view replication status, including AWS Lambda, Amazon CloudWatch, Amazon Simple Notification Service (Amazon SNS), AWS CloudTrail, Amazon Simple Queue Service (Amazon SQS), and Amazon DynamoDB, and offers an option to use Amazon Kinesis Data Firehose to archive replication metadata in Amazon S3.

Overview

CRR Monitor automatically monitors the replication status of your Amazon S3 objects across all accounts in your AWS Regions. The diagram below presents the architecture you can can build using the example code on GitHub.

Cross-Region Replication Monitor architecture

When an object is added to the source Amazon S3 bucket, AWS CloudTrail logs the event data and initiaties an Amazon CloudWatch event rule that publishes a message to the Amazon SNS topic in the source bucket’s region. An Amazon SQS queue subscribed to the Amazon SNS topic receives the message for processing. 

After the object replication to the destination bucket is successful, status information is sent back to the Amazon SQS queue. A CloudWatch event automatically invokes an AWS Lambda function to read messages from the SQS queue and update an Amazon DynamoDB table with the replication status.

Cross-Region Replication Monitor

Version 2.0.1
Last updated: 03/2020
Author: AWS

Additional resources

Did this Guidance help you?
Provide feedback 

Features

Near real-time metrics

CRR Monitor automatically checks the replication status of Amazon S3 objects across different AWS Regions in a customers' account, providing near real-time metrics as well as failure notifications to help customers proactively identify failures and troubleshoot problems.

Analyze solution data

If activated, CRR Monitor uses a Firehose delivery stream to upload data to one of your existing Amazon S3 buckets for later analysis. You can use Amazon Athena, a serverless, interactive query service, to easily analyze historical data in Amazon S3.
Build icon
Deploy an AWS Solution yourself

Browse our library of AWS Solutions to get answers to common architectural problems.

Learn more 
Find an APN partner
Find an AWS Partner Solution

Find AWS Partners to help you get started.

Learn more 
Explore icon
Explore Guidance

Find prescriptive architectural diagrams, sample code, and technical content for common use cases.

Learn more