I’m relatively new to Azure as I’ve recently started working at a company that uses it as their chosen cloud provider while my background is AWS. I was wondering if the following scenario is possible:
My application on VM A has scaled out and there are now two in total. My load balancer is distributing traffic across both and is using sticky sessions. The amount of traffic has reduced and I want my VMs to scale back in to just VM A but there’s still traffic on VM B. Is it possible for the load balancer to only direct traffic to VM A and keep VM B alive until all connections to it are closed?