Skip to content

Latest commit

 

History

History
executable file
·
36 lines (29 loc) · 1.3 KB

File metadata and controls

executable file
·
36 lines (29 loc) · 1.3 KB

DynamoDB Replication

The dynamodb replication solution makes use of dynamodb table streams and lambda functions to replicate data cross regions in near real time.

Documentation

This README serves as a 'quick start' guide for getting replication up and running. Full documentation can be found in the wiki.

Deployment

DymanoDB replication infrastructure is managed entirely through cloudformation. To deploy, simply use the cloudformation template from the latest release to create a new cloudformation stack.

Building The Template

If you're making any changes of your own to the code, you will need to generate a new cloudformation template before you can deploy. To do this, execute the following steps:

  1. Install dependencies:

    $ npm install
    
  2. Build the template:

    $ npm run build
    

The generated template will be output to dist/replication.cfn.json

  1. The json file can be deployed to aws through
    aws cloudformation package     \
        --template-file dist/replicator.cfn.json \
        --s3-bucket dynamodb-replication    \
        --output-template-file packaged-template.yaml     \
        --profile <aws_profile >