Reputation: 391
We have a requirement of multi region active-active replication of our web-services. Primarily I am trying to replicate all the data required for billing (request, response) and analysis.
So far I have seen the following aws tools.
Push all data to individual SQS in different regions, then to DynamoDBs. DynamoDB will sync data automatically, then consume from DynamoDB.
Use separate SNS for each region, then push data to SQS ( SNS pushes data to SQS residing in different regions), and finally consume data from SQS
Update SQS in different regions, read this data using lambda function. Lambda functions send data to SNS in different regions, get data from SNS
is there any other tools I can use to achieve active-active architecture? I had a look at kinesis, but not sure if its suitable for my requirement.
Anyone has any views on the proposed architectures?
Upvotes: 0
Views: 813
Reputation: 1115
For Item 3, instead of writing your own Lambda, you can use Amazon SNS to fan out messages to multi SQS queues, even in multiple different regions. Details here: Sending Amazon SNS messages to an Amazon SQS queue or AWS Lambda function in a different Region
Upvotes: 0
Reputation: 16215
You don't need to reinvent anything here - DynamoDB already supports cross-region replication with multi-master writes - it's called "Global Tables".
Upvotes: 1