Skip to content
ClickHouse Docs
ClickHouse DocsClickHouse Docs

Connecting ClickHouse Cloud to Azure Blob Storage

This guide covers how to securely connect ClickHouse Cloud to Azure Blob Storage for data ingestion, external tables, and other integration scenarios.

Overview

ClickHouse Cloud can connect to Azure Blob Storage using several authentication methods. This guide will help you choose the right approach and configure your connection securely.

Supported use cases:

Network configuration (Cross-region only)

Find your ClickHouse Cloud egress IPs

To configure IP-based firewall rules, you need to allowlist the egress IP addresses for your ClickHouse Cloud region.

Run the following command to retrieve a list of egress and ingress ips per region. Replace eastus below with your region to filter out other regions:

# For Azure regions
curl https://api.clickhouse.cloud/static-ips.json | jq '.azure[] | select(.region == "westus")'

You will see something similar to:

{
  "egress_ips": [
    "20.14.94.21",
    "20.150.217.205",
    "20.38.32.164"
  ],
  "ingress_ips": [
    "4.227.34.126"
  ],
  "region": "westus3"
}

See “Cloud IP addresses” for more details.

Configure Azure storage firewall

Navigate to your Storage Account in Azure Portal

  1. Go to NetworkingFirewalls and virtual networks
  2. Select Enabled from selected virtual networks and IP addresses
  3. Add each ClickHouse Cloud egress IP address obtained in the previous step to the Address range field
  1. Click Save

See Configure Azure Storage firewalls docs for more details.

ClickPipes configuration

When using ClickPipes with Azure Blob Storage, you need to configure authentication in the ClickPipes UI. See “Creating your first Azure ClickPipe” for more details.

Navigation