Hi team, I am currently using SST and my DB is MongoDB Atlas. I followed this tutorial to set it up:
https://serverless-stack.com/examples/how-to-use-mongodb-atlas-in-your-serverless-app.html
Under one of the steps for network access, it says "For now we’ll use the
Allow Access From Anywhere option." which allows any IP to access the DB.
This is fine for a dev environment, but for a production setup, we need to whitelist only the required IPs right? So only connections from my defined Lambda handlers should be allowed.
How do we achieve this? Appreciate any suggestions or guidance here, thanks!