Explore discussions on Databricks administration, deployment strategies, and architectural best practices. Connect with administrators and architects to optimize your Databricks environment for performance, scalability, and security.
Hi, I'm looking to integrate the databricks serverless workspace with Mongodb atlas through the private endpoint route. Created a NCC rule from databricks. From Mongodb side I cannot see the request to approve the connection,
What you are experiencing with the connection request not appearing in MongoDB Atlas when establishing a private link is common due to the issues given below.
You can follow below
If the connection request is missing from the MongoDB Atlas console, you can verify the Principal Allowlist. Navigate to the MongoDB Atlas project's Private Endpoint settings and ensure the Databricks Serverless IAM role is allowed. For AWS commercial regions, the required principal format is like arn:aws:iam::565502421330:role/private-connectivity-role-us-east-1
If the principal is allowlisted but the request is still pending generation, then check the Network Connectivity Configuration (NCC). In the Databricks Account Console under Security, select the NCC and verify the Private endpoint rules. Ensure you enter the same VPC endpoint service name from MongoDB Atlas and that the FQDNs exactly match your MongoDB connection string format like*.mongodb.net.
If NCC configuration is accurate, then review your MongoDB Atlas Endpoint Service settings. Ensure that Acceptance required is enabled, that the consumer region (Databricks workspace region) is added to the configuration and that the endpoint service spans at least two Availability Zones if this is a cross-region setup.
If you have just deployed the NCC rule and verified other points, then allow for propagation time. It can take several minutes for the network request to traverse the infrastructure and appear in MongoDB Atlas under Network Access to Private Endpoint to Pending Requests.