How to migrate from aws document db to percona mongodb

Conditions:
1.aws documentdb version: 4.x
2.percona mongodb version: 5.0;
3.migragte without service offline from documentdb to percona mongodb;

Any practice? Thanks;

1 Like

Hello @long,
You would need to spin up an EC2 instance in AWS and configure Percona Server for MongoDB. Then you would need to configure some type of export process out of DocumentDB (Probably something like AWS Firehose, or writing an AWS Lambda script) and save the data to S3. From S3, you’d then have to write another script to import that data into your Percona MongoDB system.

1 Like

Thanks a lot.
What if I export bason data from aws documentdb by mongodump then mongorestore to percona mongo server? Will there be compatibility issues?

1 Like

Hello @long,
I’m not sure of any incompatibility issues since DocumentDB is AWS’s own flavor of JSON storage. They may have changed things. The best way is to try and test.

1 Like

Thanks for your help, I will try.

1 Like