How to assign all session hosts to a load balancer / backend pool?

Iron Contributor

We use a cloud service that restricts access by IP address, so all my session hosts have to use the same public IP address for outbound communication. I've created a load balancer with a backend pool to accomplish this. (See https://docs.microsoft.com/en-us/azure/load-balancer/load-balancer-outbound-connections) It seems like there ought to be a way to assign all new session hosts to the load balancer, but when I add a VM to an existing host pool, I'm not asked to pick a load balancer the way I am when I create a VM outside of a pool. I'm not seeing a way to configure this at the host pool level. Am I missing it? (I did figure out how to assign a VM to a load balancer after the VM is created, but that won't work if I figure out how to spin up new session hosts automatically based on user demand.)

1 Reply
Hey, just thought I'd ask about this again since there were no replies and I still haven't figured this out. Any ideas?