Ensure that email or webhook-based alert notifications are enabled for your Microsoft Azure virtual machine scale sets in order to get notified for successful or failed autoscale actions. Email notifications can be sent to any valid email address that you configure. Administrators and co-administrators of the Azure subscription where the virtual machine scale set is running will also be notified. Webhooks allow you to route the autoscale alert notifications to other systems for post-processing or custom notifications. For example, routing notifications to services that can handle an incoming web request to send SMS messages or notify a DevOps team using chat or messaging apps.
efficiency
Autoscale alert notifications can increase the reliability and availability of the applications deployed within your Azure virtual machine scale sets by allowing you to act fast and mitigate scaling issues such as failed VM instance launches.
Note: Autoscale notifications cannot be enabled for virtual machine scale sets configured with manual scaling.
Audit
To determine if your Azure virtual machine scale sets are configured to send autoscale alert notifications, perform the following actions:
Remediation / Resolution
To enable autoscale alert notifications for your Azure virtual machine scale sets, perform the following actions:
References
- Azure Official Documentation
- What are virtual machine scale sets?
- Best practices for Autoscale
- Use autoscale actions to send email and webhook alert notifications in Azure Monitor
- Azure Command Line Interface (CLI) Documentation
- az account
- az vmss
- az monitor autoscale
- az monitor autoscale show
- az monitor autoscale update