Azure Managed Redis provides a managed Redis Enterprise deployment that applications access through Redis client libraries and APIs. Microsoft operates the infrastructure, distributes data across shards, and manages node health and replacement. Applications running inside or outside Azure can use the service, provided they have network connectivity and permission to access the cache.
The most common deployment places Redis between application compute and an authoritative database. With the cache-aside pattern, an application checks Redis first, reads the database on a cache miss, and caches the result with an appropriate expiration. Updates require an explicit invalidation or refresh strategy. Use expiration jitter and coordinated cache filling where necessary to avoid many application instances simultaneously reloading the same data after expiration.
Choose a tier according to both dataset size and processing requirements. Memory Optimized provides more memory relative to compute, Balanced targets workloads requiring a mix of both, and Compute Optimized provides more compute relative to memory. Flash Optimized moves less frequently accessed data to local NVMe storage, trading some access performance for larger dataset capacity. Confirm regional availability, SKU status, and feature compatibility before selecting a configuration, and benchmark realistic commands, value sizes, connection counts, and concurrency.
High availability is a deployment choice, not something to assume for every instance. When enabled, primary and replica shards are distributed across at least two nodes, with zone redundancy in regions that support multiple availability zones. High availability is required for SLA eligibility. Applications must still tolerate transient disconnects during maintenance or failover by reusing connections, setting bounded timeouts, and implementing retries with backoff. Retry non-idempotent commands carefully because a lost response does not prove that a command failed.
Use TLS and preferably private endpoints for application connectivity. Microsoft Entra ID authentication avoids distributing shared access keys, but clients must support token acquisition and renewal. Authorize application identities for Redis data access separately from Azure resource-management permissions. Fine-grained Entra-based data RBAC is available in preview; validate its restrictions for module-enabled instances before using a shared cache as a tenant security boundary. IP filtering for public endpoints is also available in preview.
Redis supports shared sessions, counters, sorted-set leaderboards, messaging patterns, and search workloads in addition to ordinary key-value caching. Select required Redis modules when creating the instance because modules cannot be manually added afterward. Redis 8 is available in preview with additional JSON, query, security, and vector capabilities; validate version-specific commands and client compatibility before adopting it in production. Active geo-replication supports reads and writes through regional instances, but applications must account for asynchronous cross-region convergence rather than assume globally synchronous writes.
Keep authoritative business records in a persistent database. Optional persistence helps recover cache data after infrastructure failures, but it does not protect against accidental deletion or corruption. Import and export provide a separate backup mechanism through Azure Blob Storage, and scheduling exports requires external automation. Monitor memory pressure, evictions, latency, connections, and throughput, then test recovery and cache-repopulation behavior. For migrations from Azure Cache for Redis Basic, Standard, or Premium, built-in DNS migration tooling can preserve the existing hostname and access key during cutover and supports data retention; validate its prerequisites and application behavior before switching traffic.