cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Administration & Architecture
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.
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Is a NAT Gateway required for a VNet-injected authentication workspace ?

Dia75
New Contributor II

Hello Community,

We are deploying Azure Databricks in France Central with VNet injection, Secure Cluster Connectivity (SCC) and Private Link.

We have a dedicated workspace for the browser_authentication private endpoint, as recommended in the Databricks documentation. ( This workspace will never run any compute) 

Does this workspace need explicit outbound connectivity, such as a NAT Gateway?

But it's not clear if this also applies to authentication-only workspaces that never run compute.

Can we deploy this workspace without any explicit outbound connectivity, and would this configuration still be officially supported?

Thanks for your help 

 

2 ACCEPTED SOLUTIONS

Accepted Solutions

SumeshKashyap
Valued Contributor III

Hi @Dia75 

No. The explicit-outbound requirement is about the cluster VMs in the injected subnets: with SCC they have no public IPs, and after Azure's default outbound access retirement they need a NAT gateway (or firewall/UDR) to reach the control plane relay, artifact storage, etc. A browser_authentication workspace never starts compute, so nothing ever sits in those subnets to need egress. Deploy it with VNet injection + the private endpoint and no NAT gateway, and lock it down so nobody can launch compute there.

What actually matters for that workspace:

- The browser_authentication private endpoint (and its privatelink.azuredatabricks.net DNS records) is what carries the SSO callback for every workspace in the region. Login traffic goes from the user's browser over your private network to that endpoint - it's inbound to Databricks, so it doesn't use the workspace's subnets or any outbound path.

- Still give it the normal VNet injection setup (two delegated subnets, NSG), since the workspace deployment requires it. The subnets can be small, since they'll stay empty.

- Protect it from deletion (Azure resource lock) - if it goes, browser login breaks for every Private Link workspace in France Central.

- Make sure no one can create compute there: grant no users/groups workspace access beyond admins, no cluster-create entitlement, and no compute policies. That keeps it a pure auth workspace, which is exactly the pattern the docs describe: https://learn.microsoft.com/en-us/azure/databricks/security/network/front-end/front-end-private-conn...

If you ever do run a cluster there, it'll fail to start without outbound - that's your signal that it's no longer "auth-only" and needs a NAT gateway like your other workspaces.

View solution in original post

Dia75
New Contributor II

Hi @SumeshKashyap ,
Thank you for the detailed explanation

I've also tested this configuration through a technical spike and confirmed that the dedicated browser_authentication workspace works without a NAT Gateway.

Your explanation confirms my findings.
Thanks again for your help!

View solution in original post

2 REPLIES 2

SumeshKashyap
Valued Contributor III

Hi @Dia75 

No. The explicit-outbound requirement is about the cluster VMs in the injected subnets: with SCC they have no public IPs, and after Azure's default outbound access retirement they need a NAT gateway (or firewall/UDR) to reach the control plane relay, artifact storage, etc. A browser_authentication workspace never starts compute, so nothing ever sits in those subnets to need egress. Deploy it with VNet injection + the private endpoint and no NAT gateway, and lock it down so nobody can launch compute there.

What actually matters for that workspace:

- The browser_authentication private endpoint (and its privatelink.azuredatabricks.net DNS records) is what carries the SSO callback for every workspace in the region. Login traffic goes from the user's browser over your private network to that endpoint - it's inbound to Databricks, so it doesn't use the workspace's subnets or any outbound path.

- Still give it the normal VNet injection setup (two delegated subnets, NSG), since the workspace deployment requires it. The subnets can be small, since they'll stay empty.

- Protect it from deletion (Azure resource lock) - if it goes, browser login breaks for every Private Link workspace in France Central.

- Make sure no one can create compute there: grant no users/groups workspace access beyond admins, no cluster-create entitlement, and no compute policies. That keeps it a pure auth workspace, which is exactly the pattern the docs describe: https://learn.microsoft.com/en-us/azure/databricks/security/network/front-end/front-end-private-conn...

If you ever do run a cluster there, it'll fail to start without outbound - that's your signal that it's no longer "auth-only" and needs a NAT gateway like your other workspaces.

Dia75
New Contributor II

Hi @SumeshKashyap ,
Thank you for the detailed explanation

I've also tested this configuration through a technical spike and confirmed that the dedicated browser_authentication workspace works without a NAT Gateway.

Your explanation confirms my findings.
Thanks again for your help!