Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

MongoDB to DynamoDB

I have a database currently in Mongo running on an EC2 instance and would like to migrate the data to DynamoDB. Is this possible and what is the most cost effective way to achieve this?

like image 610
Jack Avatar asked Dec 08 '15 16:12

Jack


1 Answers

When you ask for a "cost effective way" to migrate data, I assume you are looking for existing technologies that can ease your life. If so, you could do the following:

  • Export your MongoDB data to a text file, say in tsv format, using mongoexport.
  • Upload that file somewhere in S3.
  • Import this data, in S3, to DynamoDB using AWS Data Pipeline.

Of course, you should design & finalize your DynamoDB table schema before doing all this.

like image 65
ketan vijayvargiya Avatar answered Sep 18 '22 22:09

ketan vijayvargiya