Transfer tables and table data in local DynamoDB instance to AWS hosted instance?

流过昼夜 提交于 2019-12-02 18:09:47

问题


Is there a function, utility, or otherwise for transferring all the tables and their data from an instance of DynamoDB running on my local computer, to a production level, AWS hosted DynamoDB instance? My local computer is an Ubuntu 18.04 LTS instance and I need to transfer all the content from my local DynamoDB instance I used during development and clone that data to an instance I've recently created on AWS.

I found this Stack Overflow post on the same subject but it has no answers:

How do I deploy a local dynamodb instance, including all the files, to AWS?


回答1:


I believe this could be your solution -> https://github.com/bchew/dynamodump

As per docs;

Simple backup and restore script for Amazon DynamoDB using boto to work similarly to mysqldump.

Suitable for DynamoDB usages of smaller data volume which do not warrant the usage of AWS Data Pipeline for backup/restores/empty.

dynamodump supports local DynamoDB instances as well (tested with DynamoDB Local).



来源:https://stackoverflow.com/questions/54842442/transfer-tables-and-table-data-in-local-dynamodb-instance-to-aws-hosted-instance

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!