Google Scheduler with MongoDB Atlas

I have a production mongodb instance on atlas, and we have some whitelisted IP’s that have access. Now we want to run a cron job from Google Scheduler, I couldn’t really find a simple way to add the IP.

What are the possible solutions to do this ?

Thank you

Hi Sami,

Do you know if Google Scheduler leverages a static public IP? If not, another option is to add to the IP Access List, allowing network access from anywhere, noting that Atlas alwayys requires database authentication (this assumes you’re leveraging mature database credentials management).


1 Like