What is networking in Azure HorizonDB?
Imagine your team has just moved an order-processing database to Azure HorizonDB. On day one a developer asks for “temporary” access from home, someone ticks Allow Azure services to get a Function App working, and three months later the security review finds a production database that any Azure customer’s virtual machine can at least reach. Nobody did anything wrong – it was just the fastest way to get connected.
HorizonDB gives you two ways to let clients in, and they can be used together. Public access is a public endpoint protected by firewall rules: only IPv4 addresses you list can even attempt to connect. Private endpoints use Azure Private Link to give the cluster a private IP address inside your virtual network, so traffic from your apps, peered VNets and on-premises network never touches the internet – and you can switch public access off completely.
This is the fifth article in my Azure HorizonDB series. In Article 1 I explained the architecture, in Article 2 we created the demo cluster (with public access and no firewall rules), in Article 3 we tested high availability and in Article 4 we ran a point-in-time restore. This time we open the cluster up – first with a firewall rule, then with a private endpoint and private DNS – and look at how name resolution really works.
What changed at general availability
HorizonDB became generally available on 17 November 2026. Private endpoint support was announced at Ignite as part of GA, together with private DNS integration and the option to disable public access. The networking pages on Microsoft Learn were updated on 17 November 2026. There is still no VNet injection (the “private access” mode you may know from Azure Database for PostgreSQL Flexible Server) – a private endpoint is the only way to put HorizonDB on a private IP.
Step 1 – Understand the connectivity model
Open your cluster and go to Settings → Networking. Learn calls the connectivity method Public access (allowed IP addresses) and private endpoints – it is a single mode, so you don’t choose between “public” and “private” at creation like you do with Flexible Server. The Networking page has three tabs: Overview, Public access and Private endpoints.

Figure 1: The Networking Overview tab – public access is on, no private endpoints yet, and the two connection endpoints (FQDNs redacted)
The Overview tab also lists the two connection endpoints you met in Article 2. They keep the same FQDN whether a client connects publicly or privately – DNS decides which IP the name resolves to:
| Endpoint | FQDN format | Role |
|---|---|---|
| Read-write (cluster) | <cluster>.rw.<cluster_id>.<region>.horizondb.azure.com | Primary – reads and writes |
| Read-only (pool) | <pool>.<cluster>.ro.<cluster_id>.<region>.horizondb.azure.com | Readers in the pool, e.g. defaultpool |
Here is how the two access methods compare:
| Public access + firewall rules | Private endpoint (Private Link) | |
|---|---|---|
| Client reaches | Public IP of the cluster | Private IP in your subnet |
| Who can connect | IPv4 addresses/ranges you allow | Anything that can route to the subnet: the VNet, peered VNets, on-premises via VPN/ExpressRoute |
| Default | On, with no IPs allowed | None |
| DNS work | None | Private DNS zone privatelink.horizondb.azure.com linked to client VNets |
| Scope | Whole cluster (portal assigns rules to a pool) | One endpoint per private endpoint (read-write or read-only) |
| Extra cost | Free | Private endpoint per hour + data processed, plus the DNS zone |
| Good for | Dev/test, admin from a fixed office IP | Production and anything with sensitive data |
Whichever path a client uses, it still has to authenticate. My demo cluster is Microsoft Entra-only, so a firewall rule on its own lets nobody in – it only lets the packets reach the login step. Connection encryption (TLS) is always enforced.
Step 2 – Allow your IP address with a firewall rule
Switch to the Public access tab. On my new cluster public access is Enabled, the firewall rule list is empty and the “Allow Azure services” check box is cleared – which matches the docs: by default, no IP addresses are allowed.

Figure 2: Public access tab of the new cluster – public access is Enabled but the firewall rule list is empty, so nothing can connect
Add your client IP
- Click + Add current client IP address. The portal fills a rule called
ClientIPAddress_1with your public IP as both start and end address. - For a range (an office NAT pool, for example), type a name, a Start IP address and an End IP address in the empty row instead.
- Leave Pool on
defaultpool(the only pool on a portal-created cluster) and click Save.

Figure 3: A firewall rule for my own public IP, added with “Add current client IP address” (IP redacted)
Saving took about 20 seconds in my test (“Successfully updated the connection security settings”). Learn warns that a new rule can take up to five minutes to take effect, so don’t panic if the first connection attempt fails.
Two things the portal shows that the docs don’t mention: the toolbar has Save/Discard rather than saving each rule on its own, and each rule has a Pool column. Learn still describes firewall rules as cluster-level (“apply to all databases on the cluster”), so with one pool it makes no difference – keep an eye on it if you add pools later.
Rules to remember
- IPv4 only – an IPv6 rule fails validation.
- Outbound TCP 5432 must be open on the client’s network and local firewall.
- The IP the portal detects may not be the IP your traffic really leaves from (proxies, VPN split tunnelling). If “Add current client IP” doesn’t work, ask your network team for the real egress IP.
- A rejected connection shows an error such as
no pg_hba.conf entry for host "x.x.x.x"– that usually means a missing firewall rule, not a wrong password. - Rules control access to the whole cluster, not individual databases or tables. Use PostgreSQL roles for that.
Why I leave “Allow Azure services” off
The check box Allow public access from any Azure service within Azure to this cluster is tempting when an App Service or Function App can’t connect. Learn is clear about what it does: it allows connections from all Azure IP addresses, including other customers’ subscriptions. Your authentication still protects you, but you’ve thrown away the network layer. For an Azure-hosted app, use a private endpoint (Step 4) or, at minimum, a firewall rule for the app’s outbound IPs.
Step 3 – Disable public access when you’re ready
The same tab has a second option: Disabled – Reject all public connections. When you select it, the firewall section collapses to the line “Firewall rules aren’t used when public access is disabled”.

Figure 4: Disabled – Reject all public connections. The firewall rules disappear from the page because they no longer apply
Two important points:
- Creating a private endpoint does not turn off public access. You have to select Disabled and Save yourself (or set
properties.network.publicAccesstoDisabledthrough the REST API / Bicep). - Disable public access after the private endpoint and DNS are working and tested – otherwise you lock out every client, including your own admin tools.
In my demo I only selected Disabled to take the screenshot and clicked Discard, because the cluster is shared by the rest of the series.
Step 4 – Create a private endpoint
A private endpoint is a network interface that gets a private IP from a subnet in your VNet and maps it to one HorizonDB endpoint. You can add one in the create wizard (Networking tab, see Article 2) or later from Networking → Private endpoints → + Create private endpoint.

Figure 5: The Private endpoints tab – create, approve, reject and delete private endpoint connections here
Before you start
- A virtual network and subnet in the region where you want the private endpoint. The private endpoint must be in the same region (and subscription) as its VNet, but it can be in a different region from the cluster. The wizard can’t create a VNet for you, so I created
vnet-horizondb-series(East US 2, 10.0.0.0/16, subnetdefault10.0.0.0/24, Bastion/Firewall/DDoS off) first – a VNet on its own is free. - Permissions on both sides: rights to create the private endpoint and join the subnet, and rights on the cluster to approve the connection. If you have both, the connection is approved automatically.
- An active pool on the cluster. Every portal-created cluster has
defaultpool. Without a pool the connection stays Pending and approval fails withPrivateEndpointRequiresPool.
Basics
Choose the subscription, resource group, a Name and region. The network interface name is filled in for you (<name>-nic). I add -rw or -ro to the name so it’s obvious which endpoint it serves.

Figure 6: Basics – name the private endpoint after the endpoint it reaches (here the read-write endpoint)
Resource – pick the right target sub-resource
The resource type is Microsoft.HorizonDb/clusters and the resource is your cluster. The interesting field is Target sub-resource. It isn’t a fixed value like postgresqlServer for Flexible Server – it lists the endpoints of your cluster:

Figure 7: Resource – the target sub-resource is either the cluster name (read-write) or a pool name such as defaultpool (read-only)
| Target sub-resource | Endpoint you reach | Example |
|---|---|---|
| The cluster’s name | Read-write endpoint (primary) | hdb-series-demo |
| A pool’s name | Read-only endpoint of that pool | defaultpool |
Each private endpoint reaches one endpoint. If your apps use both the read-write and the read-only FQDN, create two private endpoints. I picked hdb-series-demo for the read-write endpoint.
Virtual Network
Select the VNet and subnet. Leave Dynamically allocate IP address unless you have an IP plan that needs a fixed address. Network policy for private endpoints is Disabled by default – NSG rules and user-defined routes only apply to private endpoint traffic if you enable it on the subnet.

Figure 8: Virtual Network – pick the VNet and subnet the private IP comes from
DNS
Keep Integrate with private DNS zone = Yes. The wizard creates (or reuses) the zone privatelink.horizondb.azure.com, links it to your VNet and registers the A record. This is the step people skip and then wonder why the app still resolves a public IP. If your organisation manages Private Link zones centrally in a hub subscription, choose that subscription and resource group here instead of creating a new zone.

Figure 9: DNS – let the wizard create and link the privatelink.horizondb.azure.com private DNS zone
Tags and Review + create
Add tags if you use them, then check the summary on Review + create and click Create.

Figure 10: Review + create – check the link type (Microsoft.HorizonDb/clusters) and the target sub-resource before you create
The deployment took about three minutes (8:58–9:01 PM IST in my test) and created four things – the private endpoint and its NIC, the private DNS zone, the DNS zone group (which keeps the A record in sync with the endpoint’s IP) and the virtual network link:

Figure 11: One wizard, four resources – the private endpoint, the private DNS zone, the DNS zone group and the VNet link
Back on the cluster’s Private endpoints tab, the connection showed Approved straight away. The Networking Overview now counts 1 private endpoint.

Figure 12: The connection was approved automatically because I own both sides
A small portal quirk: the Pool column shows the cluster name for the read-write private endpoint – it’s showing the target sub-resource, not a pool.
Approving connections from another team
If the private endpoint is created by someone without rights on the cluster (another team or tenant), the connection arrives as Pending. The cluster owner approves or rejects it on the Private endpoints tab, or with the CLI shown on Learn:
az horizondb private-endpoint-connection approve \ --resource-group <resource_group> \ --cluster-name <cluster> \ --name <connection> \ --description "Approved for the orders app"
Deleting a connection, or deleting the pool it points to, moves it to Disconnected. A disconnected private endpoint can’t be reused – delete it and create a new one.
Step 5 – Understand how DNS resolution works
Clients keep using the normal FQDN. Microsoft’s public DNS puts a privatelink name in the chain as soon as a private endpoint exists, and the private DNS zone answers that name with the private IP – but only for VNets linked to the zone. I checked public DNS before and after creating the private endpoint (cluster ID shortened to <id>):
# Before the private endpoint (public DNS)hdb-series-demo.rw.<id>.eastus2.horizondb.azure.com CNAME rw.<id>.eastus2.horizondb.azure.com A <public IP># After the private endpoint (public DNS, from the internet)hdb-series-demo.rw.<id>.eastus2.horizondb.azure.com CNAME rw.<id>.eastus2.privatelink.horizondb.azure.com A <public IP> <- same public IP for internet clients# After the private endpoint (from inside the linked VNet)hdb-series-demo.rw.<id>.eastus2.horizondb.azure.com CNAME rw.<id>.eastus2.privatelink.horizondb.azure.com A 10.0.0.x <- answered by the private DNS zone
That’s why you never need a different connection string for private access – and why you should always connect with the FQDN, never with an IP address. In the private DNS zone you can see the A record the zone group created (rw.<cluster_id>.eastus2; a read-only endpoint would add <pool>.ro.<cluster_id>.eastus2):

Figure 13: The private DNS zone now holds an A record rw.<cluster_id>.eastus2 that points to the private endpoint’s IP (redacted)
The zone only answers VNets that are linked to it. The wizard linked vnet-horizondb-series; every other VNet that should connect privately (spoke VNets, the VNet of an App Service with VNet integration) needs its own link:

Figure 14: The zone is linked to the VNet – only linked VNets get the private answer
You can also see the IP and FQDN from the private endpoint itself under Settings → DNS configuration – a quick way to check what clients should resolve:

Figure 15: DNS configuration on the private endpoint – the NIC’s private IP and the FQDN it serves (redacted)
Peered VNets, hub-and-spoke and on-premises
- Peered and spoke VNets: keep one
privatelink.horizondb.azure.comzone (usually in the hub or connectivity subscription) and link it to every VNet that needs access. Don’t create a second zone with the same name in another resource group – the VNets linked to it won’t see the records. - On-premises: your DNS servers don’t know about Azure private DNS zones. Add a conditional forwarder for
horizondb.azure.comto an Azure DNS Private Resolver inbound endpoint (or a DNS forwarder VM) in a VNet linked to the zone. - Two private endpoints for the same endpoint: if they register in the same zone from VNets that can’t reach each other, the second A record replaces the first. Use separate zones (and DNS designs) for isolated networks.
- Custom DNS servers on the VNet: they must forward to Azure DNS (168.63.129.16), otherwise the private zone is never consulted.
The same setup with the Azure CLI
If you create the private endpoint with the CLI or Bicep, the DNS pieces are separate steps. These commands are from the HorizonDB Private Link page on Learn:
az network private-dns zone create \ --resource-group <zone_rg> \ --name privatelink.horizondb.azure.comaz network private-dns link vnet create \ --resource-group <zone_rg> \ --zone-name privatelink.horizondb.azure.com \ --name <link> \ --virtual-network <vnet> \ --registration-enabled falseaz network private-endpoint dns-zone-group create \ --resource-group <pe_rg> \ --endpoint-name <private_endpoint> \ --name <zone_group> \ --private-dns-zone privatelink.horizondb.azure.com \ --zone-name horizondbaz network private-dns record-set a list \ --resource-group <zone_rg> \ --zone-name privatelink.horizondb.azure.com \ --query "[].{Name:name, IPv4Address:aRecords[0].ipv4Address}" \ --output table
One thing to be aware of: the general “Azure Private Endpoint private DNS zone values” page on Learn doesn’t list HorizonDB yet. The HorizonDB networking pages and the portal both use privatelink.horizondb.azure.com, so that’s what I use.
Step 6 – Choose a networking pattern
| Scenario | Pattern | Notes |
|---|---|---|
| Learning, dev/test from your laptop | Public access + one firewall rule for your IP | Remove the rule when you finish; Entra authentication still required |
| Admin access from a fixed office IP | Public access + office NAT range | Prefer a VPN into a VNet with a private endpoint for production |
| App Service / Functions / Container Apps | App with VNet integration + private endpoint + private DNS zone linked to the integration VNet | Don’t use “Allow Azure services” |
| Hub-and-spoke landing zone | Private endpoint in a spoke (or shared services) VNet, central privatelink zone linked to all spokes, public access Disabled | Two private endpoints if apps use read-write and read-only |
| On-premises apps or users | Private endpoint + VPN/ExpressRoute + DNS Private Resolver | Conditional forwarder for horizondb.azure.com |
| Read scale-out from reporting tools | Separate private endpoint for the pool’s read-only endpoint | Recreate it if the pool is deleted or renamed |
My recommendation
For anything beyond a sandbox I go straight to private endpoint + private DNS + public access Disabled. It costs about INR 700 a month per private endpoint plus a few rupees for the DNS zone, and it removes a whole class of mistakes – stale developer IPs, “temporary” rules and the Allow-Azure-services box. Keep public access with a single firewall rule only for short-lived dev/test clusters like my demo, and delete the rule when you’re done.
Governance and security checklist
- Decide the pattern per environment up front and write it in your landing zone standards (dev = public + named IPs, prod = private only).
- Keep “Allow public access from any Azure service within Azure” off.
- Name firewall rules after the person or site (
office-hyd,praveen-laptop) so stale rules are easy to spot, and review them monthly. - Use one central
privatelink.horizondb.azure.comzone per DNS boundary; restrict who can edit it (Private DNS Zone Contributor) and who can create private endpoints into your subnets. - Disable public access on production clusters once private connectivity is tested.
- Create Activity Log alerts for changes to the cluster’s networking settings and for private endpoint connections being approved or rejected.
- Combine network controls with Microsoft Entra authentication and least-privilege PostgreSQL roles – networking decides who can reach the cluster, identity decides who gets in (Article 6).
Pricing and limitations
Networking itself is free – firewall rules and the public endpoint cost nothing extra. Private Link and private DNS have their own small charges (Azure retail prices API, East US 2, checked 4 December 2026):
| Item | Price (INR) | Approx. USD |
|---|---|---|
| Private endpoint | ₹0.93 per hour (≈ ₹680 per month) | $0.01/hour |
| Data processed through the private endpoint | ₹0.93 per GB inbound and outbound (first 1 PB) | $0.01/GB |
| Private DNS zone | ₹46.45 per zone per month (first 25 zones), charged daily | $0.50/month |
| Private DNS queries | ₹37.16 per million | $0.40/million |
| Virtual network | Free | Free |
My demo – a VNet, one private endpoint for about 10 minutes and the DNS zone for under an hour – cost a few rupees. I deleted the private endpoint, DNS zone and VNet and removed the firewall rule right after the screenshots.
| Limitation | Detail |
|---|---|
| No VNet injection | Private endpoints are the only private option |
| One endpoint per private endpoint | Read-write and read-only need separate private endpoints |
| Pool required | Private endpoint connections need an active pool; deleting the pool disconnects all of them |
| Firewall rules | IPv4 only; up to five minutes to take effect |
| Public access | Not disabled automatically when you add a private endpoint |
| Private endpoint region | Same region and subscription as its VNet (cluster can be elsewhere) |
| Network limits | Normal Azure limits apply, such as private endpoints per VNet |
Summary
In this article, we learnt how Azure HorizonDB controls network access with public access and firewall rules, how to disable public access, how to create a private endpoint for the read-write endpoint with private DNS integration, how the privatelink CNAME and private DNS zone make the same FQDN resolve to a private IP, and how to choose a networking pattern for each environment.
| Topic | What to Remember |
|---|---|
| Connectivity model | One mode: public access (allowed IPs) and private endpoints, used together; no VNet injection |
| Default | Public access on, no IPs allowed – nothing can connect until you add a rule or a private endpoint |
| Firewall rules | IPv4 only, up to 5 minutes to apply, outbound TCP 5432; authentication still required |
| Allow Azure services | Allows every Azure IP, including other customers – leave it off |
| Disable public access | Separate step on the Public access tab; adding a private endpoint doesn’t do it |
| Target sub-resource | Cluster name = read-write endpoint; pool name (defaultpool) = read-only endpoint; one per private endpoint |
| Private DNS | Zone privatelink.horizondb.azure.com, linked to every client VNet; on-premises needs a forwarder |
| FQDNs | Same connection string for public and private access – always connect by FQDN |
| Cost | Private endpoint ≈ ₹680/month + ₹0.93/GB; DNS zone ₹46/month; firewall rules free |
Do you like this article? If you want to get more updates about these kind of articles, you can join my Learning Groups
Discover more from Praveen Kumar Sreeram's Blog
Subscribe to get the latest posts sent to your email.