Search code examples
azureazure-virtual-machineazure-load-balancer

Can azure load balancer start/stop VM?


Trying to migrate to windows Azure. Seeing the price of azure i want to start and stop my VM based on the load of the request i receive. My question is: the load balance have the capability to do so or it just distribute the traffic base on rule. If not what can i do?

azure load balance work based on round robin distribution so my server will never have 0 request how can i stop them if i see low traffic? and how i do it after it finish request? I'm currently think of using runbook but i'm not sure is the best way


Solution

  • Azure Load balancer load balances based on hash and the load balancing is not equal. Also, using Load balancer to Stop/Start VM is not the ideal way to do it. You can use the metrics of VM such as CPU utilization, Bandwidth utilization to Start/Stop the VM.