ruper . blog

Insights on Cloud Architecture and Solutions from the Field

Service Health Enhanced Notifications for Azure

February 25, 2024

azure service health notifications azure functions

Azure service issues are anything that could affect your resources availability, from outages and planned maintenance to service transitions and retirements. While rare, the reality is that they occur. To increase the awareness and anticipate such service issues, Azure supplies a free service named Azure Service Health that provides alerts and guidance regarding these occurrences on a timely fashion. Azure Service Health provides personalized alerts and guidance when Azure service issues affect you. It can notify you, help you understand the impact of issues, and keep you updated as the issue is resolved. In some organizations the challenge is to make these alerts reach out to the right people, like the Application Owners, that need to be aware of these occurrences to properly plan in advance and avoid disruptions. Althought, Azure Service Health allows to configure alerts and provides certain integration capabilities with webhooks, in some custom scenarios we need to enhance and further customize the integration with other systems. The Service Health Enhanced Notifications solution aims to enhance the notifications triggered by Azure Service Health alerts.

Benefits

By automating and customizing Azure Service Health notifications, you can ensure timely, targeted alerts for your teams, minimizing downtime and improving operational awareness.

Solution Overview

alt img

The Service Health Enhanced Notifications solution leverages Azure Functions and Azure Storage to automate the collection and distribution of service health events:

  • Event Collection: A timer-triggered Azure Function queries Azure Resource Graph for new service health events, using resource tags to identify impacted applications and owners.
  • Notification Dispatch: Events are placed in a storage queue. Another function dispatches notifications to the appropriate channels—email, ITSM, DevOps, or other systems.
  • Email Delivery: Email notifications are sent via Azure Communication Services, with retry logic for failed deliveries.
  • Custom Integrations: The system is designed to be extended for ITSM tools (like ServiceNow), DevOps platforms (Azure DevOps, GitHub, Jira), or other notification systems.

Getting Started

You can set up the Service Health Enhanced Notifications solution following the step-by-step instructions provided in this GitHub repository.