So one of the advantages of MongoDB atlas is that we lock down the network and only allow access via IP addresses that have been assigned to the service.
I am wondering how does this work with Fly.io and multi-regions as we are only given the shared IP address.
So your best option is to proxy all your database traffic through a service that allows you to have static egress IPs. I’ve seen a few people use Digital Ocean Droplets on the forum.
your fly app → digital ocean droplet → mongodb atlas