Pergunta

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!

Foi útil?

Solução

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

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top