Skip to content

Azure Databricks private network gateway for serverless compute

Andrey TaranUpdated 6 min readAnnouncements

Since 14 October, serverless compute on Azure Databricks can reach a database kept only inside a company's private network, with no load balancer or Private Link service built for it. That day Databricks put the private network gateway into public preview on Azure, and it works through one delegated subnet. Serverless reaches whatever that subnet reaches, on-premises systems over ExpressRoute or a VPN included.

A move onto Databricks needs that reach in its first week, because the old databases rarely sit in cloud storage. Location Services' repossession platform ran on Synapse and SQL Server before we moved it onto Databricks, and DealerIQ's TotalLoop ran on Cosmos DB and SQL Server before we moved it onto Lakebase. Both moves used TechFabric Airlift, our migration accelerator, which runs in the client's own Databricks workspace. Both went in waves that could each be rolled back (how we run those waves). A wave you can roll back means the old database keeps running, and keeps being read, until the last wave lands.

So for the whole of a move, the workspace has to reach a database that may live only inside the client's network. Until this month that meant a classic cluster kept alive mostly for where it sat, or one Private Link stack per database. We haven't run the gateway yet. There's no gateway charge until billing starts on or after 1 December 2026. The first thing we'd check is whether it can carry one source's reads while the Private Link path stays in place behind it.

What it changes in a migration

Before the gateway, each private database needed its own Private Link stack, four pieces of Azure work ending in a manual approval (Microsoft's steps). In a migration that isn't a one-off. Every wave that brings a new source brings a new stack and another ticket for the client's network team, and each private endpoint bills by the hour whether a job runs or not (Azure Databricks pricing).

Our Databricks Field Guide's security chapter already recommends the habit we'd bring to it. Run a serverless egress policy in dry-run for two weeks and read the denials before enforcing it, because the first enforced day otherwise finds every package index and webhook nobody listed. We'd give a source's move onto the gateway the same two weeks of test runs before a wave depends on it.

The gateway turns that into a list. One delegated subnet replaces the stacks, and a new source becomes a hostname added to the gateway's destinations. That's the change we care about, because our migrations already start from a list, and the gateway would sit inside the plan rather than beside it as a networking project of its own. The two-week migration readiness assessment that opens one ends in a sequence of waves, so by the end of week two we know which private databases each wave has to read, and in which order the gateway would need them.

It doesn't change the rollback. On our migrations the way back is tested rather than written down, which means the path to the old database has to keep working until the old platform is switched off. So we wouldn't take down a source's Private Link stack the day its gateway route works. We'd take it down at decommissioning, as a dated step in the plan, the same way the old platform itself goes.

How we'd run it beside Private Link

The pilot we'd run never touches the route the migration already uses. A private endpoint rule wins over the gateway (setup guide), so a source that has one keeps using it for as long as the rule exists.

Misbehaves

Holds

Wave plan names the private source

Hostname added to the gateway

Separate test workspace reads through the gateway

Test runs read through the gateway

Migration stays on Private Link

Wave runs on the gateway

Private Link stack removed at decommissioning

How we'd move one migration source onto the gateway: Private Link stays as the way back until the old platform is switched off.

You can't flip a private endpoint rule back once you remove it, because the endpoint behind it gets deleted (endpoint lifecycle). So we'd test from a separate workspace attached to its own network connectivity configuration, with the gateway and the source's hostname there, while the migration's workspace keeps its rule. Only once a wave's test runs hold would the production workspace move over, and its Private Link stack would stay deployed until decommissioning, because it's also the rollback path. That's slower than flipping a rule. It's the version we'd put in front of a client.

Two decisions come before the first run, once the client's region is confirmed as one of the 25 in the preview (gateway overview).

  1. One source by name. We'd list the exact hostname of one source and leave all-traffic mode for later. That mode hands the firewall team's rules the decision on whether a migration job runs, and that's a conversation to have with them in the room.
  2. The gateway in Terraform, held. We'd write the databricks_private_network_gateway resource into the same code as the migration. We'd also put a manual hold on any plan that replaces it, because changing its subnet recreates it and cuts every source behind it in the middle of a wave.

When we'd keep Private Link

If a client has two or three sources already working over Private Link, we'd leave them there, since the stacks exist and the pilot would cost more than it retires. If every byte has to cross the company firewall, the gateway can't promise that, because blob storage always takes the Azure service endpoint path (troubleshooting table). We'd say so in the first meeting with the client's security team. If the security team won't accept serverless at all, a gateway doesn't change that conversation.

For a move with many private sources, we'd judge the pilot on two numbers. The first is how many load balancer and Private Link stacks it would retire over the waves, which we can count from the source list today. The second is the gateway's first bill against those stacks' hourly charges. Microsoft's release notes date billing without giving a rate, so we'd ask the account team for one first.

Frequently asked questions

Should a Databricks migration wait for the private network gateway?

No. A migration that needs private sources this quarter can use Private Link, one stack per source, and move a source onto the gateway later, once a test workspace has shown the gateway route holds. The gateway is in public preview, so we wouldn't make it the only route to anything in production yet.

How long would we run a gateway pilot on one migration source?

Two weeks of test runs on one source before any wave depends on it, the same window our Field Guide gives a serverless egress policy in dry-run. The source's Private Link stack stays deployed through the pilot and the migration, and comes down only when the old platform is switched off.

Can serverless reach on-premises systems through the gateway?

Yes, if the VNet already routes to them, for example over ExpressRoute or a VPN. The gateway reaches whatever the delegated subnet can reach, so on-premises firewalls and network security groups have to allow the gateway subnet's address range.

Does the private network gateway replace Private Link?

No, Microsoft describes it as a complement. Private endpoint rules still take priority and remain the recommended path to specific cloud-managed resources such as object storage, while the gateway covers resources in your VNet or a connected network.