diff --git a/docs/content/services/database/redis-cache/_index.md b/docs/content/services/database/redis-cache/_index.md new file mode 100644 index 000000000..72ff70664 --- /dev/null +++ b/docs/content/services/database/redis-cache/_index.md @@ -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 >}} + +

diff --git a/docs/content/services/database/redis-cache/code/redis-1/redis-1.azcli b/docs/content/services/database/redis-cache/code/redis-1/redis-1.azcli new file mode 100644 index 000000000..3e449c7e1 --- /dev/null +++ b/docs/content/services/database/redis-cache/code/redis-1/redis-1.azcli @@ -0,0 +1 @@ +:: under-development diff --git a/docs/content/services/database/redis-cache/code/redis-1/redis-1.kql b/docs/content/services/database/redis-cache/code/redis-1/redis-1.kql new file mode 100644 index 000000000..171f317e9 --- /dev/null +++ b/docs/content/services/database/redis-cache/code/redis-1/redis-1.kql @@ -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 diff --git a/docs/content/services/database/redis-cache/code/redis-1/redis-1.ps1 b/docs/content/services/database/redis-cache/code/redis-1/redis-1.ps1 new file mode 100644 index 000000000..133b22465 --- /dev/null +++ b/docs/content/services/database/redis-cache/code/redis-1/redis-1.ps1 @@ -0,0 +1 @@ +# under-development