1---2name: azure-managed-redis3description: Expert knowledge for Azure Managed Redis development including troubleshooting, best practices, decision making, architecture & design patterns, security, configuration, integrations & coding patterns, and deployment. Use when using Redis SDKs, Entra ID auth, clustering/sharding, geo-replication, or ARM/Bicep deployments, and other Azure Managed Redis related development tasks. Not for Azure Cache for Redis (use azure-cache-redis).4---5# Azure Managed Redis Skill
6
7This skill provides expert guidance for Azure Managed Redis. Covers troubleshooting, best practices, decision making, architecture & design patterns, security, configuration, integrations & coding patterns, and deployment. It combines local quick-reference content with remote documentation fetching capabilities.
8
9## How to Use This Skill
10
11> **IMPORTANT for Agent**: Use the **Category Index** below to locate relevant sections. For categories with line ranges (e.g., `L35-L120`), use `read_file` with the specified lines. For categories with file links (e.g., `[security.md](security.md)`), use `read_file` on the linked reference file
12
13> **IMPORTANT for Agent**: If `metadata.generated_at` is more than 3 months old, suggest the user pull the latest version from the repository. If `mcp_microsoftdocs` tools are not available, suggest the user install it: [Installation Guide](https://github.com/MicrosoftDocs/mcp/blob/main/README.md)
14
15This skill requires **network access** to fetch documentation content:
16- **Preferred**: Use `mcp_microsoftdocs:microsoft_docs_fetch` with query string `from=learn-agent-skill`. Returns Markdown.
17- **Fallback**: Use `fetch_webpage` with query string `from=learn-agent-skill&accept=text/markdown`. Returns Markdown.
18
19## Category Index
20
21| Category | Lines | Description |
22|----------|-------|-------------|
23| Troubleshooting | L36-L46 | Diagnosing and fixing Redis issues: using diagnostic commands, handling common errors, client and connectivity problems, data loss, server performance, latency, and timeouts. |
24| Best Practices | L47-L63 | Best practices for connecting, scaling, monitoring, and optimizing Azure Managed Redis, including memory, performance, resiliency, Kubernetes hosting, and common FAQ patterns. |
25| Decision Making | L64-L76 | Guidance on when and how to migrate to Azure Managed Redis, comparing legacy/Redis Enterprise tiers, planning deployments, and optimizing costs with reservations. |
26| Architecture & Design Patterns | L77-L81 | Internal design of Azure Managed Redis: cluster topology, sharding, persistence, networking, and how architecture impacts performance, scaling, and reliability. |
27| Security | L82-L91 | Securing Azure Managed Redis: ACL data access, Entra ID auth, disk encryption with CMK, Zero Trust hardening, Azure Policy compliance, and TLS configuration. |
28| Configuration | L92-L111 | Configuring Azure Managed Redis instances: settings, scaling, persistence, modules, networking, geo-replication, maintenance, monitoring, alerts, metrics, logs, and admin via CLI/PowerShell. |
29| Integrations & Coding Patterns | L112-L125 | Client integration patterns for Azure Managed Redis: language SDKs (.NET, Go, Node, Python), Entra ID auth, ASP.NET caching, data import/export, tools, and semantic routing. |
30| Deployment | L126-L134 | Guides for migrating to Azure Managed Redis (self-service, tier upgrades, Redis Enterprise conversion) and deploying new instances using ARM templates or Bicep. |
31
32### Troubleshooting
33| Topic | URL |
34|-------|-----|
35| Use Redis diagnostic commands in Azure Managed Redis | https://learn.microsoft.com/en-us/azure/redis/common-redis-commands |
36| Monitor and troubleshoot Redis: common error FAQs | https://learn.microsoft.com/en-us/azure/redis/monitor-troubleshoot-faq |
37| Troubleshoot Azure Managed Redis client-side issues | https://learn.microsoft.com/en-us/azure/redis/troubleshoot-client |
38| Troubleshoot connectivity issues in Azure Managed Redis | https://learn.microsoft.com/en-us/azure/redis/troubleshoot-connectivity |
39| Diagnose and resolve data loss in Managed Redis | https://learn.microsoft.com/en-us/azure/redis/troubleshoot-data-loss |
40| Diagnose Azure Managed Redis server performance issues | https://learn.microsoft.com/en-us/azure/redis/troubleshoot-server |
41| Resolve latency and timeout problems in Managed Redis | https://learn.microsoft.com/en-us/azure/redis/troubleshoot-timeouts |
42
43### Best Practices
44| Topic | URL |
45|-------|-----|
46| Use client libraries effectively with Azure Managed Redis | https://learn.microsoft.com/en-us/azure/redis/best-practices-client-libraries |
47| Design resilient connections to Azure Managed Redis | https://learn.microsoft.com/en-us/azure/redis/best-practices-connection |
48| Implement development best practices for Azure Managed Redis | https://learn.microsoft.com/en-us/azure/redis/best-practices-development |
49| Apply Flash Optimized tier best practices in Azure Managed Redis | https://learn.microsoft.com/en-us/azure/redis/best-practices-flash-optimized |
50| Host Kubernetes client apps for Azure Managed Redis | https://learn.microsoft.com/en-us/azure/redis/best-practices-kubernetes |
51| Manage Azure Managed Redis memory efficiently | https://learn.microsoft.com/en-us/azure/redis/best-practices-memory-management |
52| Benchmark Azure Managed Redis performance with memtier | https://learn.microsoft.com/en-us/azure/redis/best-practices-performance |
53| Apply scaling best practices for Azure Managed Redis | https://learn.microsoft.com/en-us/azure/redis/best-practices-scale |
54| Monitor and manage Azure Managed Redis server load | https://learn.microsoft.com/en-us/azure/redis/best-practices-server-load |
55| Follow development guidance for Azure Managed Redis | https://learn.microsoft.com/en-us/azure/redis/development-faq |
56| Understand failover and patching for Managed Redis | https://learn.microsoft.com/en-us/azure/redis/failover |
57| Azure Redis FAQ: patterns and best practices | https://learn.microsoft.com/en-us/azure/redis/faq |
58| Manage Azure Managed Redis: common FAQs and tips | https://learn.microsoft.com/en-us/azure/redis/management-faq |
59
60### Decision Making
61| Topic | URL |
62|-------|-----|
63| Choose migration options to Azure Managed Redis | https://learn.microsoft.com/en-us/azure/redis/migrate/migrate-basic-standard-premium-options |
64| Plan migration from Basic/Standard/Premium to Managed Redis | https://learn.microsoft.com/en-us/azure/redis/migrate/migrate-basic-standard-premium-overview |
65| Compare legacy Redis tiers with Azure Managed Redis | https://learn.microsoft.com/en-us/azure/redis/migrate/migrate-basic-standard-premium-understand |
66| Select migration options from Redis Enterprise to Managed Redis | https://learn.microsoft.com/en-us/azure/redis/migrate/migrate-redis-enterprise-options |
67| Plan migration from Redis Enterprise to Managed Redis | https://learn.microsoft.com/en-us/azure/redis/migrate/migrate-redis-enterprise-overview |
68| Understand differences between Redis Enterprise and Managed Redis | https://learn.microsoft.com/en-us/azure/redis/migrate/migrate-redis-enterprise-understand |
69| Evaluate migration approaches to Azure Managed Redis | https://learn.microsoft.com/en-us/azure/redis/migrate/migration-guide |
70| Plan Azure Managed Redis deployments with FAQs | https://learn.microsoft.com/en-us/azure/redis/planning-faq |
71| Optimize Azure Managed Redis costs with reservations | https://learn.microsoft.com/en-us/azure/redis/reserved-pricing |
72
73### Architecture & Design Patterns
74| Topic | URL |
75|-------|-----|
76| Understand Azure Managed Redis internal architecture | https://learn.microsoft.com/en-us/azure/redis/architecture |
77
78### Security
79| Topic | URL |
80|-------|-----|
81| Configure custom Redis ACL-based data access in Azure Managed Redis | https://learn.microsoft.com/en-us/azure/redis/configure-access-permissions |
82| Authenticate to Azure Managed Redis using Microsoft Entra ID | https://learn.microsoft.com/en-us/azure/redis/entra-for-authentication |
83| Set up disk encryption with customer-managed keys for Azure Managed Redis | https://learn.microsoft.com/en-us/azure/redis/how-to-encryption |
84| Secure Azure Managed Redis deployments with Zero Trust practices | https://learn.microsoft.com/en-us/azure/redis/secure-azure-managed-redis |
85| Apply Azure Policy compliance to Redis caches | https://learn.microsoft.com/en-us/azure/redis/security-controls-policy |
86| Configure TLS settings for Azure Managed Redis connections | https://learn.microsoft.com/en-us/azure/redis/tls-configuration |
87
88### Configuration
89| Topic | URL |
90|-------|-----|
91| Configure Azure Managed Redis instance settings | https://learn.microsoft.com/en-us/azure/redis/configure |
92| Enable and use Redis keyspace notifications in Azure Managed Redis | https://learn.microsoft.com/en-us/azure/redis/enable-redis-keyspace-notifications |
93| Monitor Azure Managed Redis with built-in Grafana dashboards | https://learn.microsoft.com/en-us/azure/redis/grafana-dashboards |
94| Configure active geo-replication for Redis caches | https://learn.microsoft.com/en-us/azure/redis/how-to-active-geo-replication |
95| Administer Azure Managed Redis via PowerShell | https://learn.microsoft.com/en-us/azure/redis/how-to-manage-redis-cache-powershell |
96| Configure data persistence for Azure Managed Redis | https://learn.microsoft.com/en-us/azure/redis/how-to-persistence |
97| Scale Azure Managed Redis instances across SKUs and tiers | https://learn.microsoft.com/en-us/azure/redis/how-to-scale |
98| Upgrade Redis server versions in Azure Managed Redis | https://learn.microsoft.com/en-us/azure/redis/how-to-upgrade |
99| Configure monitoring and alerts for Azure Managed Redis | https://learn.microsoft.com/en-us/azure/redis/monitor-cache |
100| Reference metrics and logs for Azure Managed Redis monitoring | https://learn.microsoft.com/en-us/azure/redis/monitor-cache-reference |
101| Reference metrics and logs for monitoring Managed Redis | https://learn.microsoft.com/en-us/azure/redis/monitor-cache-reference |
102| Set diagnostic logging for Azure Managed Redis | https://learn.microsoft.com/en-us/azure/redis/monitor-diagnostic-settings |
103| Configure Azure Managed Redis with Private Link | https://learn.microsoft.com/en-us/azure/redis/private-link |
104| Configure Redis modules on Azure Managed Redis | https://learn.microsoft.com/en-us/azure/redis/redis-modules |
105| Configure scheduled maintenance windows for Redis | https://learn.microsoft.com/en-us/azure/redis/scheduled-maintenance |
106| Manage Azure Managed Redis with Azure CLI | https://learn.microsoft.com/en-us/azure/redis/scripts/create-manage-cache |
107
108### Integrations & Coding Patterns
109| Topic | URL |
110|-------|-----|
111| Integrate Azure Functions with Azure Redis services using bindings | https://learn.microsoft.com/en-us/azure/azure-functions/functions-bindings-cache |
112| Use Azure Managed Redis in ASP.NET Core Web APIs | https://learn.microsoft.com/en-us/azure/redis/aspnet |
113| Configure ASP.NET Core output caching with Azure Redis | https://learn.microsoft.com/en-us/azure/redis/aspnet-core-output-cache-provider |
114| Connect .NET apps to Azure Managed Redis with Entra ID | https://learn.microsoft.com/en-us/azure/redis/dotnet |
115| Use Go client libraries with Azure Managed Redis | https://learn.microsoft.com/en-us/azure/redis/go-get-started |
116| Import and export Redis data via Azure Storage | https://learn.microsoft.com/en-us/azure/redis/how-to-import-export-data |
117| Use Redis Insight and redis-cli with Managed Redis | https://learn.microsoft.com/en-us/azure/redis/how-to-redis-access-data |
118| Integrate Node.js TypeScript apps with Azure Managed Redis | https://learn.microsoft.com/en-us/azure/redis/nodejs-get-started |
119| Connect Python applications to Azure Managed Redis | https://learn.microsoft.com/en-us/azure/redis/python-get-started |
120| Implement semantic routing with RedisVL and Azure Managed Redis | https://learn.microsoft.com/en-us/azure/redis/tutorial-semantic-router |
121
122### Deployment
123| Topic | URL |
124|-------|-----|
125| Execute self-service migration to Azure Managed Redis | https://learn.microsoft.com/en-us/azure/redis/migrate/migrate-basic-standard-premium-self-service |
126| Use Azure migration tooling for Redis tier upgrade | https://learn.microsoft.com/en-us/azure/redis/migrate/migrate-basic-standard-premium-with-tooling |
127| Execute migration from Redis Enterprise to Managed Redis | https://learn.microsoft.com/en-us/azure/redis/migrate/migrate-redis-enterprise-self-service |
128| Use tooling to convert Redis Enterprise to Managed Redis | https://learn.microsoft.com/en-us/azure/redis/migrate/migrate-redis-enterprise-with-tooling |
129| Provision Azure Managed Redis with ARM templates | https://learn.microsoft.com/en-us/azure/redis/redis-cache-arm-provision |
130| Deploy Azure Managed Redis using Bicep | https://learn.microsoft.com/en-us/azure/redis/redis-cache-bicep-provision |