Hi In this article about vercel integraiont (https://www.mongodb.com/docs/atlas/reference/partner-integrations/vercel/#std-label-vercel-access-lists), it is mentioned to open all ip address list to allow traffic from vercel deployment. Does this also mean that traffic from Vercel to Mongodb atlas is over internet? Is there any way to connect it over a private network?
I believe the traffic does go over the internet. There are some more details from the vercel page:
When using third-party services such as databases, you may encounter the option to restrict incoming traffic to your resource to a specific IP address or address range.
Vercel deployments use dynamic IP addresses due to the dynamic nature of the platform. As a result, it is not possible to determine the deployment IP address or address range because the IP may change at any time as the deployment scales instances or across regions.
I found the following as well regarding VPC / VPN’s but you may wish to contact the vercel sales / support instead:
If your current security and compliance obligations require more than dedicated IP addresses, contact us for guidance related to your specific needs.
Note: If you require support for VPC peering or VPN connections Contact Sales
It’s useful to emphasize that MongoDB Atlas requires TLS/SSL network encryption over the wire for all connections to the database