Databases Cache and in-memory data field-manual-complete

Redis private endpoint

A Redis private endpoint gives your application a private IP path to Redis inside an Azure virtual network. Instead of letting clients reach the cache through its public endpoint, you attach a private endpoint to a subnet and connect through Private Link. The cache remains a managed Azure service, but traffic from approved networks resolves to private address space. This is most useful when security policy, compliance rules, or network design require Redis to behave like an internal dependency rather than an internet-exposed service.

Aliases
Redis Private Endpoint, Azure Redis private endpoint, Redis endpoint over Private Link, Private Redis endpoint
Difficulty
intermediate
CLI mappings
5
Last verified
2026-05-21

Microsoft Learn

A Redis private endpoint is a network interface in a virtual network that connects privately to Azure Managed Redis or Azure Cache for Redis through Azure Private Link. It lets clients reach the cache over private IP addressing instead of sending Redis traffic across the public internet.

Microsoft Learn: Azure Managed Redis with Azure Private Link2026-05-21

Technical context

In Azure architecture, Redis private endpoint sits at the network boundary between application subnets and the managed Redis resource. It is created as a private endpoint resource with a network interface, a private connection to the Redis resource ID, and DNS records that resolve the Redis hostname to the private endpoint. Operators also manage subnet policies, private DNS zones, public network access, firewall behavior, and client routing. The cache remains controlled through ARM, while application data-plane traffic enters through the private link connection.

Why it matters

Redis private endpoint matters because Redis often carries session data, tokens, personalization, rate-limit counters, or fast application state. A public network path increases the number of controls that must be perfect: firewall rules, secrets, client locations, and monitoring. Private endpoints reduce exposure by moving access into a virtual network boundary and letting teams disable or restrict public access where supported. They also make Redis connectivity more predictable for workloads running in AKS, App Service with VNet integration, virtual machines, and private application platforms. The operational value is not just security; it is a clearer boundary for ownership, diagnostics, and change control.

Where you see it

Signals, screens, and Azure surfaces where this term usually becomes operational.

Signal 01

In the portal, Redis private endpoints appear under the cache Networking or Private endpoint blade, showing connection state, target resource, subnet, and private DNS status.

Signal 02

In CLI output, az network private-endpoint show exposes the endpoint ID, network interface, subnet, group ID, connection status, and private link resource target. for diagnostics.

Signal 03

In troubleshooting, operators notice it through DNS lookups resolving Redis hostnames to private IPs, failed private endpoint approvals, or application connection errors after network changes.

When this becomes relevant

Specific situations where this term helps solve real Azure design, operations, migration, security, reliability, cost, or governance problems.

  • Move Redis access for AKS, App Service, or VM workloads off public endpoints and into approved virtual networks.
  • Satisfy policy requirements that block public network access to data services in production subscriptions.
  • Replace brittle Redis firewall allowlists with private connectivity tied to subnet, DNS, and connection approval.
  • Connect a hub-spoke application estate to Redis while keeping the cache managed by Azure rather than self-hosted.
  • Troubleshoot why one workload resolves Redis to a private IP while another still uses the public endpoint.
  • Prepare a regulated workload migration where auditors require evidence of private endpoint state and public access posture.
  • Reduce accidental exposure from developer-created Redis caches by enforcing private endpoint deployment through policy or IaC.
  • Standardize private DNS and endpoint naming so Redis connectivity survives landing-zone growth across regions.

Real-world case studies

Different enterprise-style examples that show the term being used to hit measurable objectives.

Case study 01

Manufacturing IoT platform removes Redis from public network exposure

Scenario, objectives, solution, measured impact, and takeaway.

Scenario

A manufacturing IoT platform used Redis for device-command throttling across several plants. Security scanning flagged the cache because production access still depended on public endpoint firewall rules.

Business/Technical Objectives
  • Move Redis traffic onto private network paths for plant telemetry services.
  • Disable public access without interrupting device command processing.
  • Produce evidence for the annual industrial security audit.
  • Standardize DNS resolution across AKS and VM-based collectors.
Solution Using Redis private endpoint

Network engineers created Redis private endpoints in the application spoke VNets and linked the required private DNS zones to the hubs that served AKS and VM collectors. They used Azure CLI to capture Redis resource IDs, endpoint connection status, subnet placement, private IP addresses, and DNS zone group details. Public access was disabled only after staged tests proved each collector resolved the normal Redis hostname to the private endpoint. Azure Monitor and application logs watched command throttling errors, device backlog, and connection latency during cutover. The final runbook documented endpoint owners, DNS links, rollback steps, and the exact command output used for audit evidence.

Results & Business Impact
  • Public Redis exposure findings dropped to zero in the next audit scan.
  • Device command backlog stayed below the five-minute service target during cutover.
  • DNS troubleshooting time fell by sixty percent because every endpoint had documented zone ownership.
  • Firewall allowlist maintenance was removed from the monthly plant onboarding checklist.
Key Takeaway for Glossary Readers

A Redis private endpoint turns cache access into a governed network dependency instead of an internet-facing exception list.

Case study 02

Media streaming service fixes inconsistent Redis routing across microservices

Scenario, objectives, solution, measured impact, and takeaway.

Scenario

A media streaming service ran recommendation, entitlement, and playback APIs in different subnets. Some services used private Redis routing while others still resolved the public endpoint after a rushed migration.

Business/Technical Objectives
  • Make Redis name resolution consistent across all playback microservice subnets.
  • Cut authentication error spikes caused by mixed public and private connection paths.
  • Keep cache latency within the playback startup budget.
  • Create a repeatable validation script for future services.
Solution Using Redis private endpoint

The platform team used Azure CLI to list private endpoints, inspect DNS zone groups, and compare subnet links across the service VNets. They found that one entitlement subnet was missing the private DNS zone link and another playback subnet used a stale custom DNS forwarder. The fix kept application connection strings unchanged, repaired the DNS links, and validated from each workload subnet with container-based probes. Public access stayed enabled during testing, then was disabled after all probes resolved the Redis hostname to the private IP. Dashboards tracked startup latency, Redis connection errors, entitlement failures, and DNS response results for forty-eight hours.

Results & Business Impact
  • Redis connection errors during playback startup fell by seventy-two percent.
  • All six production subnets resolved the Redis hostname to the documented private endpoint IP.
  • P95 playback startup time improved by one hundred eighty milliseconds after routing drift was removed.
  • New microservice onboarding gained a preflight DNS and endpoint validation step.
Key Takeaway for Glossary Readers

Private endpoints only deliver value when DNS and workload subnets are validated from the client side, not just configured in the portal.

Case study 03

Public sector benefits portal meets private data-service policy deadline

Scenario, objectives, solution, measured impact, and takeaway.

Scenario

A public sector benefits portal cached eligibility lookups in Redis during seasonal enrollment. A new landing-zone policy required production data services to use private endpoints before the next enrollment window.

Business/Technical Objectives
  • Meet the private endpoint policy deadline before open enrollment.
  • Avoid downtime for eligibility checks during network cutover.
  • Document approval state, DNS, and public access posture for governance.
  • Preserve support access through approved jump hosts.
Solution Using Redis private endpoint

The cloud governance team deployed a Redis private endpoint through infrastructure as code and used Azure CLI to validate the endpoint resource, connection approval, network interface, private IP, DNS zone group, and cache public network access setting. Application teams tested eligibility APIs from App Service instances using VNet integration and from support jump hosts in the operations subnet. Public access remained enabled until connection tests passed from every approved path, then the policy assignment enforced private-only access. The runbook included emergency rollback, DNS verification commands, and an owner matrix for the cache, VNet, and DNS zone.

Results & Business Impact
  • The portal passed the policy deadline without an enrollment freeze or emergency exception.
  • Eligibility API failed-connection alerts stayed flat during the cutover window.
  • Governance evidence collection dropped from two days of screenshots to thirty minutes of CLI exports.
  • Support engineers retained approved private access while ad hoc public troubleshooting was removed.
Key Takeaway for Glossary Readers

For regulated portals, Redis private endpoint adoption is as much about evidence and ownership as it is about connectivity.

Why use Azure CLI for this?

I use Azure CLI for Redis private endpoints because networking mistakes are hard to spot from one portal blade. CLI lets me inspect the Redis resource ID, private endpoint connection state, subnet, private DNS zone, network interface, public network access setting, and effective resource group placement in one repeatable workflow. It is also the fastest way to compare dev, staging, and production. When a developer says Redis works from one pod but not another, CLI output gives a clean evidence trail: which endpoint exists, what it targets, whether the connection is approved, and which DNS records clients should resolve. across estates.

CLI use cases

  • Create a private endpoint that targets the Redis resource ID with the correct group ID for the cache type.
  • Show private endpoint connection status and confirm whether approval is pending, approved, rejected, or disconnected.
  • List private DNS zone groups and verify that the Redis hostname resolves to the expected private IP.
  • Export endpoint, subnet, network interface, and Redis public access settings for compliance evidence.
  • Delete stale private endpoints after confirming no production workload still depends on their DNS records.

Before you run CLI

  • Confirm tenant, subscription, resource group, Redis resource ID, cache type, VNet, subnet, and region before creating anything.
  • Check permissions for both network resources and the Redis resource because private endpoint creation crosses ownership boundaries.
  • Review public network access, DNS zone ownership, and client routing before cutting production traffic to the private path.
  • Understand destructive risk: deleting an endpoint or DNS record can instantly break otherwise healthy Redis clients.
  • Use JSON output when capturing evidence so connection IDs, states, subnets, and private IPs are preserved exactly.

What output tells you

  • The private connection resource ID confirms the endpoint is attached to the intended Redis cache, not a similarly named resource.
  • Group ID distinguishes Azure Cache for Redis from Azure Managed Redis connection targets and prevents invalid endpoint wiring.
  • Connection status tells you whether the endpoint is usable or still waiting for approval or provider-side completion.
  • Subnet and network interface fields show where the private IP lives and which virtual network clients must reach.
  • DNS zone group output shows whether name resolution is automated or must be handled by separate DNS configuration.

Mapped Azure CLI commands

Redis private endpoint CLI Commands

direct
az network private-endpoint create --name <endpoint-name> --resource-group <resource-group> --vnet-name <vnet-name> --subnet <subnet-name> --private-connection-resource-id <redis-resource-id> --group-ids redisCache --connection-name <connection-name>
az network private-endpointsecureDatabases
az network private-endpoint show --name <endpoint-name> --resource-group <resource-group>
az network private-endpointdiscoverDatabases
az network private-endpoint-connection list --id <redis-resource-id>
az network private-endpoint-connectiondiscoverDatabases
az network private-dns zone list --resource-group <dns-resource-group>
az network private-dns zonediscoverDatabases
az redis show --name <cache-name> --resource-group <resource-group> --query "{hostName:hostName,publicNetworkAccess:publicNetworkAccess,provisioningState:provisioningState}"
az redisdiscoverDatabases

Architecture context

Architecturally, Redis private endpoint is the design choice that says Redis belongs inside the application network path. I expect it in hub-spoke designs, regulated workloads, private AKS clusters, App Service VNet integration, and landing zones where public data-service access is blocked by policy. The private endpoint should be placed in a subnet that aligns with routing and DNS ownership, not randomly in the cache resource group. DNS is usually the fragile part: clients must keep using the normal Redis hostname while private DNS maps it to the private endpoint. Treat the endpoint, DNS zone, public access setting, and client subnet as one deployable unit.

Security

Security impact is direct. A private endpoint reduces internet exposure by letting Redis clients connect through private IP addressing and Private Link. It does not remove the need for TLS, authentication, access keys or Microsoft Entra authentication where supported, secret rotation, and least-privilege control-plane access. Operators must restrict who can approve private endpoint connections, who can change DNS zones, and who can re-enable public access. Network security groups and route tables should be reviewed for the subnet path. Compliance evidence should show the Redis resource, endpoint connection status, DNS mapping, and public network access posture together. Review exceptions after incidents.

Cost

A Redis private endpoint adds cost through the Private Link endpoint, private DNS management, operational labor, and sometimes duplicated endpoints across VNets or regions. The Redis SKU cost does not automatically change, but the secure-network architecture around it can. Hub-spoke estates may need more endpoints, DNS automation, and monitoring evidence. The cost is usually justified when it prevents public exposure, audit exceptions, or complex firewall allowlists. FinOps owners should track endpoints that no longer have active clients, duplicate private DNS zones, and test environments that keep private endpoints running after the Redis cache is retired. Review unused endpoints during monthly cleanup.

Reliability

Redis private endpoint improves reliability by giving clients a stable private network path, but it introduces dependencies that must be monitored. DNS records, subnet availability, private endpoint connection approval, routing, and client network integration can all break access even when Redis itself is healthy. For zone- or region-sensitive applications, place related application components and private endpoints according to the landing-zone network design, then test failover and redeployment. Keep runbooks for DNS rollback, public access exceptions, and endpoint recreation. During incidents, separate Redis service health from name resolution, private endpoint state, and virtual network reachability. Test again after DNS or subnet changes.

Performance

Redis private endpoint usually improves network predictability rather than raw Redis speed. Clients stay on private Azure networking paths, which can reduce exposure to public routing surprises, but DNS mistakes or forced cross-region paths can add latency. The endpoint does not increase Redis throughput; SKU, shard design, connection pooling, and command patterns still dominate performance. Operators should test latency from each application subnet after DNS cutover and compare it with baseline public endpoint behavior. Watch for connection storms when private DNS changes propagate. Performance validation should include AKS pods, App Service instances, and any jump hosts used for operational tooling.

Operations

Operators manage Redis private endpoints through inventory, DNS validation, connection approval, policy enforcement, and troubleshooting. They use Azure CLI to show the private endpoint, network interface, private link service connection, Redis resource ID, subnet, and private DNS zone group. Good runbooks include the expected Redis hostname, private IP, DNS zone, public access setting, client subnet, and owner. After deployment, operators test name resolution from the workload network, not just from Cloud Shell. During change windows, they watch failed connections, latency, firewall logs, and application errors to confirm the private path is actually being used. Keep evidence linked to change records.

Common mistakes

  • Creating the private endpoint but forgetting private DNS, so clients keep resolving the Redis hostname publicly.
  • Using the wrong group ID for the Redis resource type and producing a connection that never becomes usable.
  • Disabling public access before workload subnets, DNS, and client libraries have been tested through the private path.
  • Assuming a private endpoint replaces TLS or authentication when it only changes the network path.
  • Deleting a shared private DNS zone during cleanup and breaking multiple Redis clients across spokes.