For one my project, I need active-standby loadbalancer in Azure. In the backend, I have two VM instances (primary/secondary manner). Load balancer will send traffic to only one instance (primary). If primary fails, it will send to traffic to secondary instance.
Azure load balancer uses 5 tuple has algorithm based. How can configure it to communicate with the primary and if primary fails, only then to communicate with secondary.
Update: Azure "Traffic Manager" is the solution for distributing traffic in active-standby manner (priority based routing). Relevant links below: