dynamodb-replicator
dynamodb-replicator copied to clipboard
Added serverless service config
Deploys Lambda function and S3 backup bucket.
To use the serverless config:
- Install the [serverless framework] (https://serverless.com/framework/docs/providers/aws/guide/installation/) -
npm i -g serverless
- Update serverless.yml with your S3 Bucket Name and DynamoDB Stream ARN
- Update npm packages -
npm install
- Deploy -
serverless deploy
To remove serverless deployment:
- Empty the S3 bucket
- Remove -
serverless remove
Hi @wzedi -- thanks for this effort!
Have you investigated the newly announced DynamoDB Global tables? We have started exploring it and it seems like it can manage most of the problems that this library exists to address. Moving forward, we're considering whether we want to deprecate this library in favor of taking advantage of that system.
I'd be curious to hear your thoughts and whether global tables sounds like it will satisfy your use cases.
Hi @rclark, we're using this library specifically as a backup for DynamoDB tables (streams -> versioned S3). We're in Asia Pacific (Sydney) that doesn't currently have On-demand backup and Restore. In this particular case global tables doesn't fit.
@rclark Any updates on the PR itself? We still use this project due to similar concerns as @wzedi.