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

namespaces

Summary

RecommendationImpactCategoryAutomation AvailableIn Azure Advisor
Ensure zone redundancy is enabled in supported regionsHighHigh AvailabilityYesNo
Enable auto-inflate on Event Hub Standard tierHighScalabilityYesNo

Details


Ensure zone redundancy is enabled in supported regions

Impact:  High Category:  High Availability

APRL GUID:  84636c6c-b317-4722-b603-7b1ffc16384b

Description:

When using the Azure portal, zone redundancy is automatically enabled. However, some Infrastructure as Code (IaC) tools may default this to false. To ensure replication of metadata and events across data centers in an availability zone, always verify that zone redundancy is enabled.

Potential Benefits:

Enhanced fault tolerance for Event Hub
Learn More:
Azure Event Hubs - Geo-disaster recovery

ARG Query:

Click the Azure Resource Graph tab to view the query

// 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 = "84636c6c-b317-4722-b603-7b1ffc16384b", name, id, tags, param1 = "ZoneRedundant: False"
| order by id asc



Enable auto-inflate on Event Hub Standard tier

Impact:  High Category:  Scalability

APRL GUID:  fbfef3df-04a5-41b2-a8fd-b8541eb04956

Description:

Enable auto-inflate on Event Hub Standard tier namespaces to automatically scale up throughput units (TUs), meeting usage needs and preventing data ingress or egress throttle scenarios by adjusting to allowed rates.

Potential Benefits:

Prevents throttling by autoscaling TUs
Learn More:
Azure Event Hubs - Automatically scale throughput units

ARG Query:

Click the Azure Resource Graph tab to view the query

// Azure Resource Graph Query
// Find Event Hub namespace instances that are Standard tier and do not have Auto Inflate enabled
resources
| where type == "microsoft.eventhub/namespaces"
| where sku.tier == "Standard"
| where properties.isAutoInflateEnabled == "false"
| project recommendationId = "fbfef3df-04a5-41b2-a8fd-b8541eb04956", name, id, tags, param1 = "AutoInflateEnabled: False"