TERMINATE event notification for spot instances

Michał Sobczyk 16 Reputation points
2020-11-17T15:13:07.197+00:00

We are using following feature for regular instances - https://learn.microsoft.com/en-us/azure/virtual-machine-scale-sets/virtual-machine-scale-sets-terminate-notification. Documentations says it is not supported by spot instances and the rest api claims the same "Virtual Machine Scale Sets with extension scheduledEventsProfile must have property priority set to Regular". Is there any workaround for that? We wish to have notification of TERMINATE event before actual termination.

That feature is crucial for connection draining. Any ideas?

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,158 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2021-08-31T04:57:09.937+00:00

    Terminate event notification is supported on SPOT scale-sets as well, a recent change from Microsoft.

    0 comments No comments