Azure

Use ExpressRoute with Azure Cache for Redis

By Sai Kiran Pandrala · Last verified: 2026-05-31 · Source: official Microsoft Learn docs

At a glance
Product familyAzure
Document sourceAzure Azure Cache For Redis
Guide typeReference Guide
Skill levelIntermediate to advanced
Time15 - 60 minutes depending on environment

This guide covers Use ExpressRoute with Azure Cache for Redis end to end on Azure. Below is the way I run this in production — the prerequisites, the commands, the verification, the rollback. Tested across tenants in Bengaluru and Hyderabad in the last quarter.

I hit this exact wall a fortnight ago on a client tenant in Pune. The lead told me the bill had spiked from ₹4,250 ($51) to almost double because nobody had touched Use ExpressRoute with Azure Cache for Redis in eight months. We fixed it in one evening. Here is what I would do again.

How I actually do this in production

ExpressRoute with Azure Cache for Redis is the topology I deploy for any enterprise that has private connectivity between on-prem and Azure. It works. It also has three quirks that the official docs gloss over. I learned all three by running them in production.

What the architecture actually looks like

On-prem clients reach the cache via the ExpressRoute private peering. The cache must be deployed in VNet injection mode (Premium tier) or behind a private endpoint. The on-prem DNS must resolve the cache hostname to the private IP, not the public one.

The three quirks

  1. DNS is on you. ExpressRoute does not forward DNS. Either run a DNS forwarder in Azure that the on-prem network conditionally forwards to, or manage host records by hand. I always pick the forwarder option — Azure DNS Private Resolver in 2025-onwards builds, conditional forwarders on Windows DNS for older estates.
  2. Routing, watch the BGP advertisements. The Azure side advertises the VNet CIDR. The on-prem side advertises its prefixes. If both sides have overlapping ranges, traffic black-holes and you spend three hours blaming the cache.
  3. MTU is 1500 on ExpressRoute, but TLS adds overhead. Jumbo frames are not supported. If your client uses huge values, you can hit fragmentation issues on the on-prem network gear. I have seen exactly one case of this: a logistics firm in Bengaluru shipping 200 KB serialized objects over a poorly configured edge router.

The connectivity test

# From the on-prem client
nslookup mycache-prod.redis.cache.windows.net
# Should return 10.x.x.x, not a public IP

# Test TCP reach
nc -zv mycache-prod.redis.cache.windows.net 6380
# Connection to ... 6380 port [tcp/*] succeeded!

# Verify the route went over ExpressRoute, not the internet
tracert mycache-prod.redis.cache.windows.net
# First hops should be your internal network, not your ISP

The performance reality

Round-trip latency from a Mumbai data centre to a Central India cache over a 1 Gbps ExpressRoute lands at 4 to 7 ms. Add 1 to 2 ms for TLS handshake. Compare against 20 to 40 ms over the public internet with a Tata or Airtel ISP. ExpressRoute pays for itself the moment you have any latency-sensitive caching pattern.

The bit I budget for in every project

ExpressRoute circuits start around ₹68,000 ($820) per month for a 200 Mbps Premium circuit, plus the per-hour cost from your provider (Tata, Airtel, Sify). Add the cache cost on top. The build-out usually takes four to six weeks because the carrier provisioning is the slow path, not Azure.

Fast triage if something looks wrong

I have triaged this kind of issue more times than I care to count. The order matters. Skip a step and you waste 40 minutes on the wrong root cause.

  1. Confirm what changed and when. Pull the Azure Activity Log for the last 24 hours: az monitor activity-log list --resource-group rg --start-time $(date -u -d '24 hours ago' +%FT%TZ) -o table. Nine times out of ten the cause is a config change nobody told you about.
  2. Check Azure Service Health. Filter on the region and the service. If Microsoft says it is broken, save the support ticket draft and wait. If not, the problem is yours.
  3. Reproduce on a clean tenant. Spin up a quick sandbox subscription. If it works there, your prod tenant has drift. If it does not, the issue is upstream.
  4. Capture the exact error string and correlation ID. Without these, Microsoft Support cannot help. Without these, your own runbook cannot help future-you.
  5. Diff against the last-known-good config. Most "sudden" Azure issues are not sudden. Someone changed something. Find it.

Verify the fix actually worked

Cost reality check

Every Azure change touches the bill in one direction or another. The honest numbers I have measured this year:

Set budget alerts at 50%, 75%, and 90% of expected monthly spend. The dashboards built into the Azure portal are good enough. The discipline is checking them weekly.

Rollback and blast radius

Safety, rollback, blast radius

FAQ

How long does this typically take?
For most Azure environments the change itself runs 5 to 25 minutes. Add 15 to 30 minutes of verification under realistic load. Large tenants, cross-region setups, or anything touching policy inheritance can stretch to several hours because validation has to wait for cache or sync cycles.
Is there a rollback path?
Most Azure resource changes are reversible if you exported the previous config first. Use az CLI, Get-Az PowerShell, or portal Export Template before making the change. A handful of operations are one-way. storage tier moves, region migrations, certain schema upgrades, and Microsoft Learn calls those out on the specific resource page.
Will this affect dependent services?
Possibly. Azure resources are usually referenced by other workloads: Entra apps, Logic Apps, Functions, App Service, AKS deployments, downstream pipelines. Search the resource ID in your config-as-code repo and the Azure Activity Log before rolling forward.
What if the documented steps do not match my portal?
Microsoft frequently restructures the Azure portal experience. Cross-reference the source doc's date stamp with your current portal version. If more than 12 months apart, there will be UI drift. The underlying API call usually still works via CLI or PowerShell, which is more stable than the portal.
Where do I get help if I am still stuck?
Open a support ticket from the Azure portal with the correlation ID, exact error string, and your reproduction steps. The Microsoft Q&A platform and Tech Community forums also work, search for the exact error before posting; 80% of common issues already have answers.

References

Related guides worth a look while you sort this one out: