Azure VM Scale Set, main and backup pairs.

Barak Pahima 0 Reputation points

Hi community,

I have Azure Scale Set which has set of VMs with Public IP. The protocol of the data that going through the VMs is UDP.

I want to plan failover mechanism in case that one VM fail, another VM will take control. So when scaling up I want to create two VMs as a pair, with one serving as the active VM and the other as a backup. Specifically, I would like to ensure that when the main VM becomes unavailable, the traffic directed to the Public IP address is automatically routed to the backup VM. Is this possible?

I will be glad for your help,


Azure Virtual Machine Scale Sets
Azure Virtual Machine Scale Sets
Azure compute resources that are used to create and manage groups of heterogeneous load-balanced virtual machines.
333 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Michael Durkan 12,276 Reputation points MVP


    its sounds like you need to combine a scale or availability set with a Load Balancer and Health Probe to redirect traffic in the even of a failure:

    Hope this helps,


    Michael Durkan

    • If the reply was helpful please upvote and/or accept as answer as this helps others in the community with similar questions. Thanks!