Area: Ingestion Issues
Sub-Area: Snowflake Connector Connectivity
Applies to: Cloud
Issue
Snowflake ingestion that runs from DataHub Cloud fails to connect because your Snowflake account restricts which IP addresses can connect.
UI ingestion on DataHub Cloud (the default, DataHub-hosted executor) connects to your sources from DataHub's infrastructure. A source behind a firewall or IP allowlist, such as Snowflake, may need DataHub's egress IPs allowlisted. A Remote Executor connects from your own network instead.
You Might Be Asking
- Why does my Snowflake ingestion fail to connect even though my credentials are correct?
- What IP addresses does DataHub Cloud use to connect to Snowflake?
- Can I avoid IP allowlisting by using a Remote Executor?
- Does a Remote Executor need inbound firewall rules or a VPN?
Cause
Ingestion sources that use the default DataHub-hosted executor connect from DataHub's infrastructure. If your Snowflake account only accepts connections from IPs you control, those connections are refused until DataHub's egress IPs are allowed.
Solution
You have two options.
Option 1: Allowlist DataHub's egress IPs
- Contact DataHub Support to get the egress IPs for your deployment. The IPs are specific to each deployment.
- Ask your Snowflake administrator to add those IPs to the network policy that applies to the Snowflake user DataHub connects with.
- Run the ingestion source again.
Before you activate any new network policy at account level, check which other users and tools connect to Snowflake. A policy that lists only DataHub's IPs would block them.
Option 2: Run ingestion through a Remote Executor
A Remote Executor connects to Snowflake from your own network, so Snowflake sees your IPs, not DataHub's. It makes outbound connections only, so you need no inbound ports and no VPN.
The executor needs outbound HTTPS (port 443) to these endpoints:
-
https://<your-company>.acryl.io/*(the DataHub API) -
https://sqs.*.amazonaws.com/*(task dispatch, not needed when the executor uses the Kafka channel) - a Python package index
- the container registry that hosts the executor image
To deploy one, follow the Remote Executor setup guide. You need a user with the Manage Metadata Ingestion privilege and a Remote Executor access token. Then create an executor pool and assign the Snowflake source to it. In Manage Data Sources, edit the source, expand Advanced Settings on the Connection Details page, and choose the Executor Pool.