Engineering Team Migrates MongoDB Atlas to AWS DocumentDB With Zero Downtime
A software engineering team migrated their production MongoDB database from MongoDB Atlas to Amazon DocumentDB to consolidate infrastructure entirely within AWS. The move was driven by cost concerns over cross-cloud data transfer fees and the desire to keep all database traffic within a private VPC. The team chose the mongodump and mongorestore method over AWS DMS or custom change streams, citing the database size of under 1GB and the tool's reliability. The migration involved setting up dedicated subnet groups across two AWS availability zones and restricting database access strictly to VPC-internal traffic on port 27017. The team documented the process in detail, including mistakes and fixes, to help other engineers planning similar database migrations.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in