Migrate Self Managed MongoDB from EC2 to EKS


I have installed MongoDB community edition v7.0.1 in one of the EC2 instance with 64GiB EBS Volume for Data & log. Now we are moving to micro service architecture and need to migrate the MongoDB instance from EC2 to AWS EKS with Persistent Volume setup. Was looking at online options, but not sure on how to migrate the existing data in EBS volume to PV/PVC in EKS with no downtime ? Does AWS Database Migration Service suits here ? Any leads will be highly appreciated. Thanks!

1 Answer

Indeed AWS DMS does support using MongoDB as a source so that is one option.

You should also consider AWS DocumentDB as that is fully managed MongoDB compatible service from AWS, or even consider MongoDB Atlas if AWS DocumentDB is not a good fit.

profile pictureAWS
answered 2 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions