문제

I'm looking for a lib or a command line tool that can help me to do data migration from Redis to Amazon DynamoDB. Does anyone know a tool or lib that can do the job?

Thanks!

도움이 되었습니까?

해결책

I would suggest you have a look at redis-rdb-tools to extract data from Redis.

This package can dump the content of the Redis database as a JSON file. You can then use any loader tool provided by Amazon to feed their database (or write your own).

For instance the AWS command line interface support feeding the DynamoDB with JSON: http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Tools.CLI.html http://docs.aws.amazon.com/cli/latest/reference/dynamodb/index.html

You may have to transform the JSON file in order to use the AWS CLI commands though.

Amazon recommended way to bulk load data into DynamoDB is Amazon EMR (i.e. map/reduce jobs). http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/EMRforDynamoDB.html

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top