Azure Proactive Resiliency Library v2
Tools Glossary GitHub GitHub Issues Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Redis

Summary

RecommendationImpactCategoryAutomation AvailableIn Azure Advisor
Enable zone redundancy for Azure Cache for RedisHighHigh AvailabilityYesNo
Schedule updates by setting a maintenance windowMediumHigh AvailabilityNoNo
Configure Private EndpointsMediumSecurityYesNo

Details


Enable zone redundancy for Azure Cache for Redis

Impact:  High Category:  High Availability

APRL GUID:  5a44bd30-ae6a-4b81-9b68-dc3a8ffca4d8

Description:

Azure Cache for Redis offers zone redundancy in Premium and Enterprise tiers, using VMs across multiple Availability Zones to ensure greater resilience and availability.

Potential Benefits:

Higher resilience and availability
Learn More:
Enable zone redundancy for Azure Cache for Redis

ARG Query:

Click the Azure Resource Graph tab to view the query

// Azure Resource Graph Query
// Find Cache for Redis instances with one or no Zones selected
resources
| where type =~ "microsoft.cache/redis"
| where location in~ ("australiaeast", "brazilsouth", "canadacentral", "centralindia", "centralus", "eastasia", "eastus", "eastus2", "francecentral", "germanywestcentral", "israelcentral", "italynorth", "japaneast", "japanwest", "koreacentral", "mexicocentral", "newzealandnorth", "northeurope", "norwayeast", "polandcentral", "qatarcentral", "southafricanorth", "southcentralus", "southeastasia", "spaincentral", "swedencentral", "switzerlandnorth", "uaenorth", "uksouth", "westeurope", "westus2", "westus3", "usgovvirginia", "chinanorth3")
| where array_length(zones) <= 1 or isnull(zones)
| project recommendationId = "5a44bd30-ae6a-4b81-9b68-dc3a8ffca4d8", name, id, tags, param1 = "AvailabilityZones: Single Zone"
| order by id asc



Schedule updates by setting a maintenance window

Impact:  Medium Category:  High Availability

APRL GUID:  cabc1f98-c8a7-44f7-ab24-977982ef3f70

Description:

Azure Cache for Redis allows for specifying maintenance windows. A maintenance window allows you to control the days and times of a week during which the VMs hosting your cache can be updated.

Potential Benefits:

Higher resilience and availability
Learn More:
Schedule Redis Updates

ARG Query:

Click the Azure Resource Graph tab to view the query

// cannot-be-validated-with-arg


Configure Private Endpoints

Impact:  Medium Category:  Security

APRL GUID:  c474fc96-4e6a-4fb0-95d0-a26b3f35933c

Description:

Use private endpoints for secure connection to cache via a private link, avoiding the public internet.

Potential Benefits:

Secure, private VNet ingress, efficient data transfer
Learn More:
Configure private endpoints for Azure Redis Cache

ARG Query:

Click the Azure Resource Graph tab to view the query

// Azure Resource Graph Query
// Find all Azure Redis cache services not protected by private endpoints.
Resources
| where type =~ "microsoft.cache/redis"
| where properties['publicNetworkAccess'] == "Enabled"
| project recommendationId = "c474fc96-4e6a-4fb0-95d0-a26b3f35933c", name, id, tags
| order by id asc