If I remove a vm (that is currently off) will the load balancer keep working sending all traffic to the other server?

Chris Rotberg 20 Reputation points
2023-10-08T21:19:45.62+00:00

I have two virtual machines, one if off and the traffic is being directed to the one that is working. I want to delete the virtual machine that is shut down, can I do that and will the load balancer keep sending traffic to the virtual machine that is running?

Thank You

Azure DNS
Azure DNS
An Azure service that enables hosting Domain Name System (DNS) domains in Azure.
625 questions
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,460 questions
Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,258 questions
Azure Load Balancer
Azure Load Balancer
An Azure service that delivers high availability and network performance to applications.
416 questions
{count} votes

Accepted answer
  1. AlineDutra-MSFT 250 Reputation points Microsoft Employee
    2023-10-09T08:33:56.1766667+00:00

    Hello @Chris Rotberg ,

    Welcome to Microsoft Q&A Platform. Thank you for reaching out & hope you are doing well.

    I understand that you would like to remove an already shut down VM from the Backend Pool of your Azure Load Balancer, which seems to have other VM running and healthy at the moment, and you want to ensure that the traffic would still be forwarding to the VM which is running. Is that correct?

    If so, there is not problem and you can remove it and it would not cause any down time. Since the VM is down so it not responding to the health probes anymore and it is not a part of the Load Balancer distribution, so all the traffic is already being balanced/distributed only between the others VMs on the Backend Pool (in your case, only one additional).

    • Health Probes:

    https://video2.skills-academy.com/en-us/azure/load-balancer/load-balancer-custom-probe-overview

    • Distribution Mode:

    https://video2.skills-academy.com/en-us/azure/load-balancer/distribution-mode-concepts

    • Load Balancing Algorithm:

    https://video2.skills-academy.com/en-us/azure/load-balancer/concepts

    • Azure Monitor:

    https://video2.skills-academy.com/en-us/azure/load-balancer/load-balancer-insights#functional-dependency-view

    Kindly let us know if the above helps or you need further assistance on this issue.

    Regards,

    Aline Dutra


    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful