Skip to content

Replace Azure Cache for Redis with Azure Managed Redis#109

Draft
msangapu-msft with Copilot wants to merge 3 commits into
mainfrom
copilot/update-redis-usage
Draft

Replace Azure Cache for Redis with Azure Managed Redis#109
msangapu-msft with Copilot wants to merge 3 commits into
mainfrom
copilot/update-redis-usage

Conversation

Copilot AI commented Jul 19, 2026

Copy link
Copy Markdown

Azure Cache for Redis (Microsoft.Cache/redis) is deprecated. This replaces it with Azure Managed Redis (Microsoft.Cache/redisEnterprise) across infrastructure, metadata, and docs.

Infrastructure (infra/resources.bicep)

  • Redis cluster: Microsoft.Cache/redis (Basic C0) → Microsoft.Cache/redisEnterprise (Balanced_B0, capacity 1) with publicNetworkAccess: 'Disabled'
  • Redis database: New explicit Microsoft.Cache/redisEnterprise/databases sub-resource (default, port 10000, AllKeysLRU eviction)
  • Clustering policy: EnterpriseCluster — presents a single endpoint so standard Redis clients (django-redis/redis-py) work without modification
  • Private endpoint: groupIds redisCacheredisEnterprise
  • Private DNS zone: privatelink.redis.cache.windows.netprivatelink.redisenterprise.cache.azure.net
  • Service Connector target: resourceId('Microsoft.Cache/Redis/Databases', ..., '0')redisCacheDb.id
resource redisCache 'Microsoft.Cache/redisEnterprise@2024-10-01' = {
  sku: { name: 'Balanced_B0', capacity: 1 }
  properties: { minimumTlsVersion: '1.2', publicNetworkAccess: 'Disabled' }
}
resource redisCacheDb 'Microsoft.Cache/redisEnterprise/databases@2024-10-01' = {
  parent: redisCache
  name: 'default'
  properties: { evictionPolicy: 'AllKeysLRU', clusteringPolicy: 'EnterpriseCluster', port: 10000 }
}

App config (azureproject/production.py)

No changes — the Service Connector for Azure Managed Redis emits the same AZURE_REDIS_CONNECTIONSTRING app setting.

Metadata & docs

  • azure.yaml + .devcontainer/devcontainer.json: template name updated to python-app-service-postgresql-managed-redis-infra
  • README.md: "Azure Redis Cache" → "Azure Managed Redis"

Copilot AI changed the title [WIP] Update deprecated Azure Cache for Redis to Azure Managed Redis Replace Azure Cache for Redis with Azure Managed Redis Jul 19, 2026
Copilot AI requested a review from msangapu-msft July 19, 2026 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants