Agent-Skills azure-cache-redis

Expert knowledge for Azure Cache for Redis development including troubleshooting, best practices, decision making, architecture & design patterns, security, configuration, integrations & coding patterns, and deployment. Use when configuring geo-replication, persistence, Private Link/VNet access, Redis events/webhooks, or ARM/Bicep deployments, and other Azure Cache for Redis related development tasks. Not for Azure Managed Redis (use azure-managed-redis), Azure Cosmos DB (use azure-cosmos-db), Azure Table Storage (use azure-table-storage).

install
source · Clone the upstream repo
git clone https://github.com/MicrosoftDocs/Agent-Skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/MicrosoftDocs/Agent-Skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/azure-cache-redis" ~/.claude/skills/microsoftdocs-agent-skills-azure-cache-redis && rm -rf "$T"
manifest: skills/azure-cache-redis/SKILL.md
source content

Azure Cache for Redis Skill

This skill provides expert guidance for Azure Cache for 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.

How to Use This Skill

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

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

This skill requires network access to fetch documentation content:

  • Preferred: Use
    mcp_microsoftdocs:microsoft_docs_fetch
    with query string
    from=learn-agent-skill
    . Returns Markdown.
  • Fallback: Use
    fetch_webpage
    with query string
    from=learn-agent-skill&accept=text/markdown
    . Returns Markdown.

Category Index

CategoryLinesDescription
TroubleshootingL36-L46Diagnosing and fixing Azure Cache for Redis issues: client and connectivity errors, data loss, server-side problems, and performance, latency, and timeout troubleshooting.
Best PracticesL47-L61Guidance on client usage, resilience, scaling, memory/CPU tuning, Kubernetes optimization, failover/patching, and performance testing for Azure Cache for Redis and Enterprise tiers
Decision MakingL62-L71Guidance on sizing and capacity, choosing tiers and reservations, planning migrations (including VNet to Private Link), and selecting network isolation options for Azure Cache for Redis.
Architecture & Design PatternsL72-L76Guidance on designing highly available Azure Cache for Redis deployments, including redundancy options, failover behavior, and resilience best practices.
SecurityL77-L89Securing Azure Cache for Redis: auth (Entra, managed identity), network isolation (VNets, Private Link), TLS config, disk encryption, data access policies, and Azure Policy compliance.
ConfigurationL90-L103Configuring Azure Cache for Redis behavior: server settings, reboot/flush, geo-replication, replicas, persistence, zone redundancy, and monitoring/metrics via Azure Monitor and diagnostics.
Integrations & Coding PatternsL104-L115Managing Azure Cache for Redis via CLI/PowerShell, routing Redis events to webhooks/endpoints, and importing/exporting cache data with Azure Blob Storage
DeploymentL116-L123Scaling, upgrading, region-moving, and ARM/Bicep-based deployment of Azure Cache for Redis instances, including safe resize and version/region migration steps.

Troubleshooting

TopicURL
Use redis-cli to debug Azure Cache for Redishttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-how-to-redis-cli-tool
FAQ for monitoring and troubleshooting Azure Redishttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-monitor-troubleshoot-faq
Troubleshoot Redis client issues for Azure Cachehttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-troubleshoot-client
Troubleshoot connectivity issues with Azure Cache for Redishttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-troubleshoot-connectivity
Diagnose and fix Azure Cache for Redis data losshttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-troubleshoot-data-loss
Troubleshoot Azure Cache for Redis server-side issueshttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-troubleshoot-server
Troubleshoot latency and timeout issues in Azure Redishttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-troubleshoot-timeouts

Best Practices

TopicURL
Use Redis client libraries effectively with Azure Cachehttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-best-practices-client-libraries
Improve Azure Redis connection resiliencehttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-best-practices-connection
Implement development best practices for Azure Redishttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-best-practices-development
Use Azure Redis Enterprise and Flash tiers effectivelyhttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-best-practices-enterprise-tiers
Optimize Kubernetes-hosted clients for Azure Cache for Redishttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-best-practices-kubernetes
Optimize Azure Redis memory managementhttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-best-practices-memory-management
Run performance testing for Azure Cache for Redishttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-best-practices-performance
Scale Azure Cache for Redis effectively and safelyhttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-best-practices-scale
Monitor and manage CPU utilization for Azure Managed Redishttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-best-practices-server-load
Apply development best practices for Azure Redishttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-development-faq
Handle failover and patching in Azure Redis clientshttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-failover

Decision Making

TopicURL
Plan and execute migrations to Azure Cache for Redishttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-migration-guide
Choose Azure Redis network isolation optionshttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-network-isolation
Plan Azure Cache for Redis capacity and usagehttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-planning-faq
Choose and manage Azure Redis reservationshttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-reserved-pricing
Migrate Azure Cache for Redis from VNet injection to Private Linkhttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-vnet-migration
Decide migration path for retiring Azure Cache for Redis tiershttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/retirement-faq

Architecture & Design Patterns

TopicURL
Design high availability for Azure Cache for Redishttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-high-availability

Security

TopicURL
Configure Microsoft Entra authentication for Azure Cache for Redishttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-azure-active-directory-for-authentication
Configure custom data access policies for Azure Redishttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-configure-role-based-access-control
Configure disk encryption for Azure Cache for Redis data at resthttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-how-to-encryption
Configure VNet integration for Premium Azure Redishttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-how-to-premium-vnet
Use managed identity with Azure Cache for Redis and storagehttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-managed-identity
Secure Azure Redis with Private Link and VNetshttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-private-link
Remove TLS 1.0/1.1 and enforce TLS 1.2 for Redishttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-remove-tls-10-11
Configure TLS settings for Azure Cache for Redishttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-tls-configuration
Use Azure Policy built-ins for Azure Cache for Redishttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/policy-reference

Configuration

TopicURL
Reboot, flush, and schedule updates for Azure Redishttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-administration
Configure Azure Cache for Redis server settingshttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-configure
Configure active geo-replication for Enterprise Redishttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-how-to-active-geo-replication
Configure passive geo-replication for Premium Redishttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-how-to-geo-replication
Configure additional replicas for Premium Redis cacheshttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-how-to-multi-replicas
Configure Redis data persistence for Azure Cachehttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-how-to-premium-persistence
Enable zone redundancy for Azure Redis cacheshttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-how-to-zone-redundancy
Configure Azure Monitor insights for Azure Redishttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-insights-overview
Configure diagnostic settings for Azure Redis monitoringhttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-monitor-diagnostic-settings
Reference metrics for monitoring Azure Cache for Redishttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/monitor-cache-reference

Integrations & Coding Patterns

TopicURL
Route Azure Redis events to web endpoints with CLIhttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-event-grid-quickstart-cli
Route Azure Redis events to webhooks via portalhttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-event-grid-quickstart-portal
Route Azure Redis events to web endpoints with PowerShellhttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-event-grid-quickstart-powershell
Import and export Azure Cache for Redis data via Blob storagehttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-how-to-import-export-data
Use Azure CLI scripts to manage Azure Cache for Redishttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cli-samples
Administer Azure Cache for Redis using PowerShellhttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/how-to-manage-redis-cache-powershell
Create and manage Redis caches with Azure CLIhttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/scripts/create-manage-cache
Provision Premium clustered Redis cache via CLIhttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/scripts/create-manage-premium-cache-cluster

Deployment

TopicURL
Scale Azure Cache for Redis instances safelyhttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-how-to-scale
Upgrade Redis server version for Azure Cachehttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-how-to-upgrade
Move Azure Cache for Redis instances across regionshttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-moving-resources
Deploy Azure Cache for Redis with ARM templateshttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/redis-cache-arm-provision
Deploy Azure Cache for Redis using Bicep templateshttps://learn.microsoft.com/en-us/azure/azure-cache-for-redis/redis-cache-bicep-provision