Forum Discussion

blull's avatar
blull
Frequent Visitor
2 years ago

Connect to MongoDB Atlas from Spark Notebook

I'm trying to connect to MongoDB Atlas from a spark notebook in Fabric, however having difficulties because of firewall rules.  I watched a video demonstrating some new features with integration between Atlas and Fabric, and they were using Notebooks for machine learning on MongoDB Atlas in the example so I'm assuming it's possible and they didn't have their Atlas firewall opened to the world.   Do we have a list somewhere of the IPs that Fabric spark notebooks use so they can be whitelisted in Atlas or is there another method to do this?  

 

Just to clarify, the issue that connecting to Atlas in a spark notebook results in a timeout because there are no firewall whitelist entries allowing communication from Spark.

 

https://www.mongodb.com/developer/products/atlas/unlock-value-data-mongodb-atlas-intelligent-analytics-microsoft-fabric/

 

5 Replies