dynamodb-replicator icon indicating copy to clipboard operation
dynamodb-replicator copied to clipboard

Added serverless service config

Open wzedi opened this issue 7 years ago • 3 comments

Deploys Lambda function and S3 backup bucket.

To use the serverless config:

  1. Install the [serverless framework] (https://serverless.com/framework/docs/providers/aws/guide/installation/) - npm i -g serverless
  2. Update serverless.yml with your S3 Bucket Name and DynamoDB Stream ARN
  3. Update npm packages - npm install
  4. Deploy - serverless deploy

To remove serverless deployment:

  1. Empty the S3 bucket
  2. Remove - serverless remove

wzedi avatar Feb 01 '18 21:02 wzedi

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.

rclark avatar Feb 02 '18 17:02 rclark

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.

wzedi avatar Feb 11 '18 21:02 wzedi

@rclark Any updates on the PR itself? We still use this project due to similar concerns as @wzedi.

hassankhan avatar Oct 20 '18 15:10 hassankhan