<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/dcp-snowflake-s-bridge-to-on-prem-data-dzog5gt5e" -->

---
title: DCP: Snowflake’s Bridge to On-Prem Data | daily.dev
description: A hands-on walkthrough builds Snowflake's Data Connectivity Proxy (DCP) end to end using a home lab: standing up a Linux host, running a seeded Postgres...
canonical: https://daily.dev/posts/dcp-snowflake-s-bridge-to-on-prem-data-dzog5gt5e
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: DCP: Snowflake’s Bridge to On-Prem Data | daily.dev
og:description: A hands-on walkthrough builds Snowflake's Data Connectivity Proxy (DCP) end to end using a home lab: standing up a Linux host, running a seeded Postgres...
og:url: https://daily.dev/posts/dcp-snowflake-s-bridge-to-on-prem-data-dzog5gt5e
og:image: https://api.daily.dev/og/posts/DzOG5gT5e.png
og:image:alt: DCP: Snowflake’s Bridge to On-Prem Data
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# DCP: Snowflake’s Bridge to On-Prem Data

**[Snowflake Community](https://daily.dev/sources/snowflake_comm)** · 12 min read · 0 upvotes · 0 comments

## Summary

A hands-on walkthrough builds Snowflake's Data Connectivity Proxy (DCP) end to end using a home lab: standing up a Linux host, running a seeded Postgres container with logical replication enabled, deploying the DCP agent, wiring up the Snowflake-side DCP object, network rule, and external access integration, and finally pointing an Openflow PostgreSQL connector at the private database. DCP lets Snowflake reach on-prem or firewalled databases via outbound-only connections, with no inbound ports, VPN, or public IP required. The piece is scoped to Openflow use, not arbitrary SQL from a virtual warehouse, and covers common pitfalls like stale DHCP leases, container network namespace isolation, telemetry hostname reachability, and EAI-to-DCP linkage.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://medium.com/snowflake/dcp-snowflakes-bridge-to-on-prem-data-21f9680a1d5c>

## Questions this post answers

### How does Snowflake's Data Connectivity Proxy (DCP) connect to an on-prem database without opening inbound ports?

The DCP agent makes only outbound connections: one to Snowflake's control plane and one per active data connection to the target database, so no inbound port needs to be forwarded on the router. It authenticates using a bootstrap JWT, receives an mTLS certificate pair, and opens a tunnel to Snowflake's relay, which Openflow connectors then route through.

_Teams wiring private databases into cloud platforms can find deployment patterns like this one on daily.dev._

### Is Snowflake DCP usable for arbitrary SQL queries from a virtual warehouse?

No, DCP is documented as available for use with Snowflake Openflow only, not for arbitrary SQL issued from a virtual warehouse. That means the connectivity path is scoped to Openflow connectors reading from the private database rather than general-purpose querying.

_Anyone scoping Snowflake connectivity options can track platform capability details like this on daily.dev._

### Why does logical replication fail when connecting a Postgres container to Snowflake Openflow's PostgreSQL connector?

The Openflow PostgreSQL connector replicates via logical replication rather than polling, and the wal_level setting defaults to replica on the stock Postgres Docker image, which blocks logical replication. It must be changed to logical, followed by a container restart, plus a replication-capable role and a publication covering the target table, which itself needs a primary key.

_Engineers debugging replication setups for cloud data pipelines can find configuration gotchas like this on daily.dev._

## Similar posts on daily.dev

- [Private Data, Public Cloud — No Compromises](https://daily.dev/posts/private-data-public-cloud-no-compromises-plqkutudl) · Snowflake Community · 0 upvotes · 0 comments
- [Snowflake and Lumen: Private Connectivity for AI](https://daily.dev/posts/snowflake-and-lumen-private-connectivity-for-ai-tyqzrdj0f) · Snowflake · 0 upvotes · 0 comments
- [Snowflake Postgres: Low-Latency CDC for Real-Time AI Analytics](https://daily.dev/posts/snowflake-postgres-low-latency-cdc-for-real-time-ai-analytics-dtuy0xw6k) · Snowflake Community · 1 upvotes · 0 comments
- [How We Pushed CDC into Postgres](https://daily.dev/posts/how-we-pushed-cdc-into-postgres-gk0os0oyc) · Hacker News · 1 upvotes · 0 comments

---

Tags: [#security](https://daily.dev/tags/security), [#docker](https://daily.dev/tags/docker), [#postgresql](https://daily.dev/tags/postgresql), [#snowflake](https://daily.dev/tags/snowflake)

[View this post on daily.dev](https://daily.dev/posts/dcp-snowflake-s-bridge-to-on-prem-data-dzog5gt5e)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"DCP: Snowflake’s Bridge to On-Prem Data","url":"https://daily.dev/posts/dcp-snowflake-s-bridge-to-on-prem-data-dzog5gt5e","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/dcp-snowflake-s-bridge-to-on-prem-data-dzog5gt5e"},"datePublished":"2026-09-18T14:23:06.216Z","dateModified":"2026-09-18T14:23:28.420Z","description":"A hands-on walkthrough builds Snowflake's Data Connectivity Proxy (DCP) end to end using a home lab: standing up a Linux host, running a seeded Postgres...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/9eea95cc70c518b56c479ba73bd05c5b?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/9eea95cc70c518b56c479ba73bd05c5b?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Snowflake Community","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Snowflake Community","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/3eb5260f70bb4653be0f9581c0d937c8","url":"https://daily.dev/sources/snowflake_comm"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/dcp-snowflake-s-bridge-to-on-prem-data-dzog5gt5e","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"security,docker,postgresql,snowflake","timeRequired":"PT12M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Snowflake Community","item":"https://daily.dev/sources/snowflake_comm"},{"@type":"ListItem","position":3,"name":"DCP: Snowflake’s Bridge to On-Prem Data"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/dcp-snowflake-s-bridge-to-on-prem-data-dzog5gt5e#faq","mainEntity":[{"@type":"Question","name":"How does Snowflake's Data Connectivity Proxy (DCP) connect to an on-prem database without opening inbound ports?","acceptedAnswer":{"@type":"Answer","text":"The DCP agent makes only outbound connections: one to Snowflake's control plane and one per active data connection to the target database, so no inbound port needs to be forwarded on the router. It authenticates using a bootstrap JWT, receives an mTLS certificate pair, and opens a tunnel to Snowflake's relay, which Openflow connectors then route through. Teams wiring private databases into cloud platforms can find deployment patterns like this one on daily.dev."}},{"@type":"Question","name":"Is Snowflake DCP usable for arbitrary SQL queries from a virtual warehouse?","acceptedAnswer":{"@type":"Answer","text":"No, DCP is documented as available for use with Snowflake Openflow only, not for arbitrary SQL issued from a virtual warehouse. That means the connectivity path is scoped to Openflow connectors reading from the private database rather than general-purpose querying. Anyone scoping Snowflake connectivity options can track platform capability details like this on daily.dev."}},{"@type":"Question","name":"Why does logical replication fail when connecting a Postgres container to Snowflake Openflow's PostgreSQL connector?","acceptedAnswer":{"@type":"Answer","text":"The Openflow PostgreSQL connector replicates via logical replication rather than polling, and the wal_level setting defaults to replica on the stock Postgres Docker image, which blocks logical replication. It must be changed to logical, followed by a container restart, plus a replication-capable role and a publication covering the target table, which itself needs a primary key. Engineers debugging replication setups for cloud data pipelines can find configuration gotchas like this on daily.dev."}}]}
```

