azure-cache-redis
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseAzure Cache for Redis Skill
Azure Cache for Redis 技能指南
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.
本技能指南为Azure Cache for Redis提供专业指导,涵盖故障排除、最佳实践、决策制定、架构与设计模式、安全、配置、集成与编码模式以及部署。它结合了本地快速参考内容与远程文档获取功能。
How to Use This Skill
如何使用本技能指南
IMPORTANT for Agent: Use the Category Index below to locate relevant sections. For categories with line ranges (e.g.,), useL35-L120with the specified lines. For categories with file links (e.g.,read_file), use[security.md](security.md)on the linked reference fileread_file
IMPORTANT for Agent: Ifis more than 3 months old, suggest the user pull the latest version from the repository. Ifmetadata.generated_attools are not available, suggest the user install it: Installation Guidemcp_microsoftdocs
This skill requires network access to fetch documentation content:
- Preferred: Use with query string
mcp_microsoftdocs:microsoft_docs_fetch. Returns Markdown.from=learn-agent-skill - Fallback: Use with query string
fetch_webpage. Returns Markdown.from=learn-agent-skill&accept=text/markdown
Agent 重要提示:使用下方的分类索引查找相关章节。对于带有行范围的分类(例如),使用L35-L120工具读取指定行内容;对于带有文件链接的分类(例如read_file),使用[security.md](security.md)工具读取链接的参考文件read_file
本技能指南需要网络访问权限来获取文档内容:
- 推荐方式:使用工具,携带查询字符串
mcp_microsoftdocs:microsoft_docs_fetch,返回Markdown格式内容。from=learn-agent-skill - 备选方式:使用工具,携带查询字符串
fetch_webpage,返回Markdown格式内容。from=learn-agent-skill&accept=text/markdown
Category Index
分类索引
| Category | Lines | Description |
|---|---|---|
| Troubleshooting | L36-L46 | Diagnosing and fixing Azure Cache for Redis issues: client and connectivity errors, data loss, server problems, and performance/latency troubleshooting using tools like redis-cli and monitoring. |
| Best Practices | L47-L61 | Guidance on resilient client usage, scaling, memory/CPU tuning, performance testing, failover handling, and Kubernetes/Enterprise tier best practices for Azure Cache for Redis. |
| Decision Making | L62-L71 | Guidance on sizing and capacity, network isolation, reservations, and planning or executing migrations to and from Azure Cache for Redis (including VNets and Private Link). |
| Architecture & Design Patterns | L72-L76 | Guidance on designing highly available Azure Cache for Redis deployments, covering redundancy, failover, clustering, and resilience best practices. |
| Security | L77-L89 | Securing Azure Cache for Redis: auth (Entra, policies, managed identities), TLS config, disk encryption, VNets/Private Link, and enforcing security via Azure Policy. |
| Configuration | L90-L103 | Configuring 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 Patterns | L104-L115 | Managing Azure Cache for Redis via CLI/PowerShell, routing Redis events to webhooks/endpoints, and importing/exporting data through Blob storage, including clustered premium provisioning. |
| Deployment | L116-L122 | Scaling and upgrading Azure Cache for Redis instances, and deploying them using ARM or Bicep templates, including safe scale operations and Redis version upgrades. |
| 分类 | 行范围 | 描述 |
|---|---|---|
| 故障排除 | L36-L46 | 诊断并修复Azure Cache for Redis问题:客户端与连接错误、数据丢失、服务器问题,以及使用redis-cli和监控工具排查性能/延迟问题。 |
| 最佳实践 | L47-L61 | 提供Azure Cache for Redis的弹性客户端使用、扩容、内存/CPU调优、性能测试、故障转移处理以及Kubernetes/企业层最佳实践指导。 |
| 决策制定 | L62-L71 | 提供Azure Cache for Redis的规模与容量规划、网络隔离、预留实例选择,以及迁移规划与执行(包括VNet和Private Link)的指导。 |
| 架构与设计模式 | L72-L76 | 指导设计高可用的Azure Cache for Redis部署,涵盖冗余、故障转移、集群化与弹性最佳实践。 |
| 安全 | L77-L89 | 加固Azure Cache for Redis的安全:身份验证(Entra、策略、托管标识)、TLS配置、磁盘加密、VNet/Private Link,以及通过Azure Policy强制执行安全规则。 |
| 配置 | L90-L103 | 配置Azure Cache for Redis的行为:服务器设置、重启/清空、异地复制、副本、持久化、区域冗余,以及通过Azure Monitor和诊断配置监控/指标。 |
| 集成与编码模式 | L104-L115 | 通过CLI/PowerShell管理Azure Cache for Redis,将Redis事件路由到Webhook/端点,以及通过Blob存储导入/导出数据,包括高级集群实例的配置。 |
| 部署 | L116-L122 | 扩容与升级Azure Cache for Redis实例,以及使用ARM或Bicep模板进行部署,包括安全扩容操作与Redis版本升级。 |
Troubleshooting
故障排除
| Topic | URL |
|---|---|
| Use redis-cli to debug Azure Cache for Redis | https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-how-to-redis-cli-tool |
| FAQ for monitoring and troubleshooting Azure Redis | https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-monitor-troubleshoot-faq |
| Troubleshoot Redis client issues for Azure Cache | https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-troubleshoot-client |
| Troubleshoot connectivity issues with Azure Cache for Redis | https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-troubleshoot-connectivity |
| Diagnose and resolve data loss in Azure Redis | https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-troubleshoot-data-loss |
| Troubleshoot Azure Cache for Redis server issues | https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-troubleshoot-server |
| Troubleshoot latency and timeout issues in Azure Redis | https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-troubleshoot-timeouts |
| 主题 | 链接 |
|---|---|
| 使用redis-cli调试Azure Cache for Redis | https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-how-to-redis-cli-tool |
| Azure Redis监控与故障排除常见问题 | https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-monitor-troubleshoot-faq |
| 排查Azure Cache for Redis客户端问题 | https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-troubleshoot-client |
| 排查Azure Cache for Redis连接问题 | https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-troubleshoot-connectivity |
| 诊断并解决Azure Redis数据丢失问题 | https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-troubleshoot-data-loss |
| 排查Azure Cache for Redis服务器问题 | https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-troubleshoot-server |
| 排查Azure Redis延迟与超时问题 | https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-troubleshoot-timeouts |
Best Practices
最佳实践
Decision Making
决策制定
| Topic | URL |
|---|---|
| Plan and execute migrations to Azure Cache for Redis | https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-migration-guide |
| Choose Azure Redis network isolation options | https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-network-isolation |
| Plan Azure Cache for Redis capacity and usage | https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-planning-faq |
| Choose and manage Azure Redis reservations | https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-reserved-pricing |
| Migrate Azure Redis VNets to Private Link | https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-vnet-migration |
| Plan migration from Azure Cache for Redis to Managed Redis | https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/retirement-faq |
| 主题 | 链接 |
|---|---|
| 规划并执行向Azure Cache for Redis的迁移 | https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-migration-guide |
| 选择Azure Redis网络隔离选项 | https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-network-isolation |
| 规划Azure Cache for Redis的容量与使用 | https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-planning-faq |
| 选择与管理Azure Redis预留实例 | https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-reserved-pricing |
| 将Azure Redis VNet迁移到Private Link | https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-vnet-migration |
| 规划从Azure Cache for Redis到Managed Redis的迁移 | https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/retirement-faq |
Architecture & Design Patterns
架构与设计模式
| Topic | URL |
|---|---|
| Design high availability for Azure Cache for Redis | https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-high-availability |
| 主题 | 链接 |
|---|---|
| 设计高可用的Azure Cache for Redis | https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-high-availability |
Security
安全
Configuration
配置
Integrations & Coding Patterns
集成与编码模式
| 主题 | 链接 |
|---|---|
| 通过CLI将Azure Redis事件路由到Web端点 | https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-event-grid-quickstart-cli |
| 通过门户将Azure Redis事件路由到Webhook | https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-event-grid-quickstart-portal |
| 通过PowerShell将Azure Redis事件路由到Web端点 | https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-event-grid-quickstart-powershell |
| 通过Blob存储导入导出Azure Redis数据 | https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-how-to-import-export-data |
| 使用Azure CLI脚本管理Redis缓存 | https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cli-samples |
| 使用PowerShell管理Azure Cache for Redis | https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/how-to-manage-redis-cache-powershell |
| 使用Azure CLI创建与管理Redis缓存 | https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/scripts/create-manage-cache |
| 通过CLI配置高级版集群Redis缓存 | https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/scripts/create-manage-premium-cache-cluster |
Deployment
部署
| Topic | URL |
|---|---|
| Scale Azure Cache for Redis instances safely | https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-how-to-scale |
| Upgrade Redis server version for Azure Cache | https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-how-to-upgrade |
| Deploy Azure Cache for Redis with ARM templates | https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/redis-cache-arm-provision |
| Deploy Azure Cache for Redis using Bicep templates | https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/redis-cache-bicep-provision |
| 主题 | 链接 |
|---|---|
| 安全扩容Azure Cache for Redis实例 | https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-how-to-scale |
| 升级Azure Cache的Redis服务器版本 | https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/cache-how-to-upgrade |
| 使用ARM模板部署Azure Cache for Redis | https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/redis-cache-arm-provision |
| 使用Bicep模板部署Azure Cache for Redis | https://learn.microsoft.com/en-us/azure/azure-cache-for-redis/redis-cache-bicep-provision |