MongoDB Atlas Connection Over VPC

Yes, you need to migrate your current workload to a new cluster without static IPs. But no worries, it’s quite easy. (Still, you need to plan this migration because your service will not be available until it’s up on the other cluster, and your database and domain have been migrated).

Cluster Migration Process

Here is the migration process to follow:

  1. Create a new cluster on AWS (no need to pick a custom subnet)
  2. Launch the installation of your new cluster and wait until it is ready.
  3. Clone your production environment into your new cluster and give a name like new-production.
  4. Create a new custom domain for the app of your new environment
  5. Make your old and new databases publicly accessible (you’ll need to redeploy them to apply the changes).
  6. Start your new environment on your new cluster.
  7. Use Replibyte or any migration tool to copy your production data to your new production data. (Or you can use your AWS console as well)

I’ve recorded this video to make it clear. Let me know :slight_smile:

1 Like