https://github.com/signiant/dynamodb-replication
A serverless dynamodb cross region replication solution
https://github.com/signiant/dynamodb-replication
aws-lambda cloudformation dynamodb dynamodb-replication lambda-functions serverless
Last synced: 3 months ago
JSON representation
A serverless dynamodb cross region replication solution
- Host: GitHub
- URL: https://github.com/signiant/dynamodb-replication
- Owner: Signiant
- License: mit
- Created: 2016-06-30T17:24:27.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-12-10T07:49:02.000Z (about 3 years ago)
- Last Synced: 2025-10-11T04:03:17.554Z (3 months ago)
- Topics: aws-lambda, cloudformation, dynamodb, dynamodb-replication, lambda-functions, serverless
- Language: JavaScript
- Homepage:
- Size: 155 KB
- Stars: 22
- Watchers: 23
- Forks: 5
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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](https://github.com/Signiant/dynamodb-replication/wiki).
## Deployment
DymanoDB replication infrastructure is managed entirely through cloudformation.
To deploy, simply use the cloudformation template from the latest [release](https://github.com/Signiant/dynamodb-replication/releases) 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
```
3. 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
```