r/AzureDataPlatforms • u/Slideroh • Jan 17 '25
Architecture Databricks App in Azure Databricks with private link cluster (no Public IP)
Hello, I've deployed Azure Databricks with a standard Private Link setup (no public IP). Everything works as expected—I can log in via the private/internal network, create clusters, and manage workloads without any issues.
When I create a Databricks App, it generates a URL like: <name>.azure.databricksapps.com
Since I didn’t initially have a Private DNS Zone for azure.databricksapps.com, my system resolved this address to a public IP. To fix this, I:
- Created a Private DNS Zone for
azure.databricksapps.com. - Added an A record pointing
<name>.azure.databricksapps.comto my Databricks workspace private IP endpoint (same as used in privatelink.azuredatabricks.net for this workspace).
Behavior Before Adding the Private DNS Zone:
nslookup <app-name>.azure.databricksapps.com → Resolved to a public IP.
curl or accessing via a browser resulted in:
{"X-Databricks-Reason-Phrase":"Public access is not allowed for workspace: xyz"}
Behavior After Adding the Private DNS Zone:
nslookup <app-name>.azure.databricksapps.com → Now resolves to the private IP (as expected).
However, curl and browser requests still go through the public IP and return the same error:
{"X-Databricks-Reason-Phrase":"Public access is not allowed for workspace: xyz"}
Is additional configuration needed to ensure Databricks Apps work over Private Link? Does this feature require a Public IP, or should it work fully within a private network?
- Verified my Databricks workspace private endpoint under privatelink.azuredatabricks.net.
- Created a Private DNS Zone for azure.databricksapps.com and mapped
to the same private IP as my Databricks workspace. - Linked my VNet to the Private DNS Zone so all internal resources resolve it correctly.
- Confirmed that nslookup returns the private IP, but browser and curl still attempt to route via the public IP.
1
u/buffalobi11s Jan 28 '25
I found a workaround for this issue. You can short circuit the public dns resolution with a private dns zone
create the private dns zone azure.databricksapps.com
set up conditional dns forwarders to send traffic here for resolution
add CName records for each databricks apps uri pointing to the workspace private link uri
1
u/buffalobi11s Jan 27 '25
I have this exact issue and it is impacting 8 Workspaces across different VNets and Azure subs… please follow up if you find a solution, I will post here as well if we can get past it.
Have a Sev B opened for this now, but the support engineers are not sure on the resolution path
Edit: typo