This repository has been archived by the owner on May 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 133
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
59 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
+++ | ||
title = "Redis Cache" | ||
description = "Best practices and resiliency recommendations for Redis Cache and associated resources and settings." | ||
date = "10/2/23" | ||
author = "ejhenry" | ||
msAuthor = "ejhenry" | ||
draft = false | ||
+++ | ||
|
||
The presented resiliency recommendations in this guidance include Redis Cache and associated resources and settings. | ||
|
||
## Summary of Recommendations | ||
|
||
{{< table style="table-striped" >}} | ||
| Recommendation | Category | Impact | State | ARG Query Available | | ||
| :------------------------------------------------ | :---------------------------------------------------------------------: | :------: | :------: | :-----------------: | | ||
| [REDIS-1 - Enable zone redundancy for Azure Cache for Redis](#redis-1---enable-zone-redundancy-for-azure-cache-for-redis) | High Availability | High | Preview | Yes | | ||
{{< /table >}} | ||
|
||
{{< alert style="info" >}} | ||
|
||
Definitions of states can be found [here]({{< ref "../../../_index.md#definitions-of-terms-used-in-aprl">}}) | ||
|
||
{{< /alert >}} | ||
|
||
## Recommendations Details | ||
|
||
### REDIS-1 - Enable zone redundancy for Azure Cache for Redis | ||
|
||
**Category: Availability** | ||
|
||
**Impact: High** | ||
|
||
**Recommendation/Guidance** | ||
|
||
Azure Cache for Redis supports zone redundancy in its Premium and Enterprise tiers. A zone-redundant cache runs on VMs spread across multiple Availability Zones. Zone redundancy provides higher resilience and availability. | ||
|
||
**Resources** | ||
|
||
- [Enable zone redundancy for Azure Cache for Redis](https://learn.microsoft.com/azure/azure-cache-for-redis/cache-how-to-zone-redundancy) | ||
|
||
**Resource Graph Query/Scripts** | ||
|
||
{{< collapse title="Show/Hide Query/Script" >}} | ||
|
||
{{< code lang="sql" file="code/redis-1/redis-1.kql" >}} {{< /code >}} | ||
|
||
{{< /collapse >}} | ||
|
||
<br><br> |
1 change: 1 addition & 0 deletions
1
docs/content/services/database/redis-cache/code/redis-1/redis-1.azcli
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
:: under-development |
7 changes: 7 additions & 0 deletions
7
docs/content/services/database/redis-cache/code/redis-1/redis-1.kql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
// Azure Resource Graph Query | ||
// Find Cache for Redis instances with one or no Zones selected | ||
resources | ||
| where type == "microsoft.cache/redis" | ||
| where array_length(zones) <= 1 or isnull(zones) | ||
| project recommendationId = "redis-1", name, id, param1 = "AvailabilityZones: Single Zone" | ||
| order by id asc |
1 change: 1 addition & 0 deletions
1
docs/content/services/database/redis-cache/code/redis-1/redis-1.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# under-development |