Deno deployment can't connect to the Mongo Cloud, due to the Mongo Cloud Network Access Rules.

Is there a way to add the Deno Deploy IP to Mongo Cloud? The Deno Depoy Regions only region names found, but no ips https://docs.deno.com/deploy/manual/regions
Regions | Deno Docs
Deno Deploy deploys your code throughout the world. Each new request is served
DAH
Deno AI Helper43d ago
I wasn't able to find the answer to your question in the official Deno documentation regarding adding Deno Deploy IP to Mongo Cloud's network access rules. However, based on your message, it seems like you're looking for a way to whitelist Deno Deploy's IP addresses in Mongo Cloud. Since Deno Deploy is a distributed system, it doesn't have static IP addresses that you can whitelist. This is a common challenge with serverless platforms and cloud databases. One potential solution, although not directly from the Deno documentation, is to use a more relaxed network access rule on Mongo Cloud that allows connections from a range of IPs, or to set up a proxy server with a static IP that Deno Deploy can connect through. Please note that this advice is not based on the Deno documentation, and you should double-check the accuracy and security implications of this approach. For the most accurate and secure guidance, I recommend reaching out to the Mongo Cloud support team or consulting their documentation on how to handle connections from serverless platforms like Deno Deploy.