Skip to content
This repository has been archived by the owner on May 7, 2024. It is now read-only.

Commit

Permalink
add event hub recommendation evhns-1 (#107)
Browse files Browse the repository at this point in the history
Co-authored-by: Luis Alfonso Chaves <[email protected]>
  • Loading branch information
ejhenry and lachaves authored Oct 10, 2023
1 parent 5410eea commit d0ef576
Show file tree
Hide file tree
Showing 4 changed files with 59 additions and 0 deletions.
50 changes: 50 additions & 0 deletions docs/content/services/integration/event-hub/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
+++
title = "Event Hub"
description = "Best practices and resiliency recommendations for Event Hub and associated resources and settings."
date = "10/6/23"
author = "ejhenry"
msAuthor = "ejhenry"
draft = false
+++

The presented resiliency recommendations in this guidance include Event Hub and associated resources and settings.

## Summary of Recommendations

{{< table style="table-striped" >}}
| Recommendation | Category | Impact | State | ARG Query Available |
| :------------------------------------------------ | :---------------------------------------------------------------------: | :------: | :------: | :-----------------: |
| [EVHNS-1 - Enable zone redundancy for Event Hub namespace](#evhns-1---enable-zone-redundancy-for-event-hub-namespace) | 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

### EVHNS-1 - Enable zone redundancy for Event Hub namespace

**Category: Availability**

**Impact: High**

**Recommendation**

Event Hubs supports Availability Zones, providing fault-isolated locations within an Azure region. The Availability Zones support is only available in Azure regions with availability zones. Both metadata and data (events) are replicated across data centers in the availability zone.

**Resources**

- [Azure Event Hubs - Geo-disaster recovery](https://learn.microsoft.com/azure/event-hubs/event-hubs-geo-dr?tabs=portal#availability-zones)

**Resource Graph Query/Scripts**

{{< collapse title="Show/Hide Query/Script" >}}

{{< code lang="sql" file="code/evhns-1/evhns-1.kql" >}} {{< /code >}}

{{< /collapse >}}

<br><br>
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
:: under-development
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// Azure Resource Graph Query
// Find Event Hub namespace instances that are not zone redundant
resources
| where type == "microsoft.eventhub/namespaces"
| where properties.zoneRedundant == false
| project recommendationId = "evhns-1", name, id, param1 = "ZoneRedundant: False"
| order by id asc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# under-development

0 comments on commit d0ef576

Please sign in to comment.