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

%3CLINGO-SUB%20id%3D%22lingo-sub-2257722%22%20slang%3D%22en-US%22%3EHow%20to%20assign%20all%20session%20hosts%20to%20a%20load%20balancer%20%2F%20backend%20pool%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2257722%22%20slang%3D%22en-US%22%3E%3CP%3EWe%20use%20a%20cloud%20service%20that%20restricts%20access%20by%20IP%20address%2C%20so%20all%20my%20session%20hosts%20have%20to%20use%20the%20same%20public%20IP%20address%20for%20outbound%20communication.%20I've%20created%20a%20load%20balancer%20with%20a%20backend%20pool%20to%20accomplish%20this.%20(See%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fload-balancer%2Fload-balancer-outbound-connections%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fload-balancer%2Fload-balancer-outbound-connections%3C%2FA%3E)%20It%20seems%20like%20there%20ought%20to%20be%20a%20way%20to%20assign%20all%20new%20session%20hosts%20to%20the%20load%20balancer%2C%20but%20when%20I%20add%20a%20VM%20to%20an%20existing%20host%20pool%2C%20I'm%20not%20asked%20to%20pick%20a%20load%20balancer%20the%20way%20I%20am%20when%20I%20create%20a%20VM%20outside%20of%20a%20pool.%20I'm%20not%20seeing%20a%20way%20to%20configure%20this%20at%20the%20host%20pool%20level.%20Am%20I%20missing%20it%3F%20(I%20did%20figure%20out%20how%20to%20assign%20a%20VM%20to%20a%20load%20balancer%20after%20the%20VM%20is%20created%2C%20but%20that%20won't%20work%20if%20I%20figure%20out%20how%20to%20spin%20up%20new%20session%20hosts%20automatically%20based%20on%20user%20demand.)%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2373386%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20assign%20all%20session%20hosts%20to%20a%20load%20balancer%20%2F%20backend%20pool%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2373386%22%20slang%3D%22en-US%22%3EHey%2C%20just%20thought%20I'd%20ask%20about%20this%20again%20since%20there%20were%20no%20replies%20and%20I%20still%20haven't%20figured%20this%20out.%20Any%20ideas%3F%3C%2FLINGO-BODY%3E
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?