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:ย 

Lakebase CDF/WAL2Delta cannot write to UC managed storage with Private Endpoin

Yogasathyandrun
Contributor II

Hi team,

Iโ€™m currently working with Lakebase Change Data Feed ( #CDF ) and need some guidance on the supported networking architecture.

Current setup

  • Azure Databricks workspace
  • Lakebase PostgreSQL
  • Lakebase CDF / WAL2Delta enabled
  • CDF destination is a Unity Catalog managed Delta table
  • The UC managed storage is backed by Azure Storage
  • The Storage Account has:
    • Public network access disabled
    • Access through Private Endpoint only

With this configuration, Lakebase CDF/WAL2Delta is unable to write the changes to the destination storage.

I understand that the current Lakebase CDF documentation indicates that a destination whose managed storage is reachable only through a private endpoint is not currently supported.

What I need guidance on

I would like to understand the recommended secure architecture for this scenario without relying on manually maintained IP allowlists.

Specifically:

  1. Is there a supported way to allow Lakebase CDF/WAL2Delta โ†’ Azure Storage using Azure Network Security Perimeter (NSP), service tags, resource-based rules, or another service-level mechanism?
  2. Since the CDF writer runs as part of the Databricks-managed Lakebase service, what network identity/source should be used to authorize its access to Azure Storage?
  3. Are the CDF writerโ€™s outbound IPs expected to change? If so, is there a supported mechanism other than manually maintaining IP ranges?
  4. Is there currently any supported alternative to the CDF destination storage requirementโ€”for example, another Databricks-managed storage option or a supported Lakeflow Connect/CDC pattern for Lakebase?
  5. If private-endpoint-only UC managed storage is currently unsupported, what is the recommended production architecture for securing the required CDF destination?

any guidance on the supported architecture or recommended networking pattern would be greatly appreciated.

Thanks!

Data Engineer | Apache Spark | Delta Lake | Databricks
2 REPLIES 2

adnan_alvee
Databricks Employee
Databricks Employee

Hi @Yogasathyandrun ,

Your diagnosis is correct. As of now, Lakebase CDF/WAL2Delta does not support a Unity Catalog destination whose managed storage is reachable only through an Azure private endpoint with public network access disabled.

This is how I would recommend for production today:

  1. Create a dedicated CDF landing catalog/storage account separate from sensitive private-only lakehouse storage.
  2. Keep that storage publicly addressable, as required by the current CDF implementation; disable anonymous access, use encryption, restrict permissions, and isolate it to CDF bronze/history data.
  3. Use Lakeflow pipelines, SQL, or Structured Streaming to copy/process the CDF history into the your private-endpoint-only curated storage. CDF is designed to feed these downstream patterns.
  4. If your company policy absolutely prohibits any publicly addressable CDF destination, native Lakebase CDF should currently be considered blocked, rather than attempting an unsupported NSP, service-tag, or NCC workaround.




Louis_Frolio
Databricks Employee
Databricks Employee

Hello @Yogasathyandrun, I took a look at both internal and external documentation and here is what I found.

Your diagnosis is right, and @adnan_alvee already gave you the production pattern I'd recommend. This is a documented Lakebase CDF limitation, not a Unity Catalog permissions problem. On Azure, CDF doesn't support a destination catalog whose managed storage is reachable only through a private endpoint with public network access disabled. The documented workaround is a separate destination catalog on publicly reachable storage.

Why it works this way: CDF is powered by the wal2delta Postgres extension, which runs inside the Lakebase compute, not on a SQL warehouse or a cluster in your VNet. There's no published egress IP range, service tag, or NCC hook for that writer, and the Lakebase Private Link docs cover inbound traffic only. That answers your first three questions. I couldn't find any public Databricks contract that makes NSP, service tags, resource instance rules, or an IP allowlist a supported path, and since the writer's outbound IPs aren't published I can't tell you whether they're stable. I wouldn't treat a reverse-engineered allowlist or an NCC configuration as a supported workaround. This is Public Preview and networking is the piece most likely to evolve, so your account team is the right channel for a roadmap answer.

On alternatives (question 4): Lakeflow Connect has a PostgreSQL connector in Public Preview, but Lakebase isn't on its documented list of supported sources, so confirm with Databricks before building on it. Synced tables go the other direction (Delta into Lakebase). If native CDF is blocked by policy, the fallback is an incremental pull through Lakehouse Federation or JDBC from compute that can reach your private storage. That isn't true CDC and you'll miss hard deletes without soft-delete flags, so only adopt it if it fits your requirements and is documented as supported for your cloud and source.

On production architecture (question 5): the limitation is specific to the wal2delta writer. Serverless compute supports private connectivity to Azure Storage through NCC private endpoints, and classic compute in a VNet-injected workspace reaches private endpoints directly, so the second hop has no networking problem. Concretely:

  • A dedicated storage account and catalog for CDF landing only. Public network access on because the writer needs it, but anonymous access off, shared key access off, data access only through the Unity Catalog access connector's managed identity, least-privilege grants, encryption, and access monitoring. "Publicly reachable" means the network endpoint is reachable by the managed service, not that the data is publicly readable.
  • A serverless Lakeflow Spark Declarative Pipeline or Structured Streaming job reading lb_<table>_history incrementally into your private-endpoint-only catalog. The CDF docs show both patterns.
  • Treat the landing catalog as a locked-down bronze zone, with retention if you don't need the full audit trail there.

Two quick checks while you're at it: SELECT * FROM wal2delta.tables; shows per-table feed state, and make sure the destination catalog isn't using default storage, which CDF also doesn't support.

Takeaway: only a narrow landing catalog needs to be network-reachable, and identity controls on it still apply in full. If even that's a no-go for your security team, native CDF is blocked for now, as Adnan said.

References:

Hope this helps.

Regards, Louis.