Quantcast
Channel: Azure Management Portal forum
Viewing all articles
Browse latest Browse all 4189

Internal load balancer and auto scaling

$
0
0

I have cloud service with 2 web roles, website one with input endpoints and hence publicly available, and the other, wcf one with internal endpoints. I know the role on internal endpoints will not be load balanced by default.

I know I can add internal load balancer (ILB) through power shell and add my VMs running internal end points to it. But if I now auto scale, my internal load balancer will make no use of those new VMs generated for my role.

Is there a way to make internal load balancer "aware" of auto scaling and have it add/remove VMs as they are added/removed for my second web role? Should I just manage role membership within Routing group (I think this is the right name) in OnStart and OnStop methods of my web role? Is there .net API for ILB or do I still have to do this via PowerShell (and run Elevated execution context)?

Would I be better off creating a third role and implementing WCF Routing service with Round Robin Message Filter and use WCF Discovery / or Service Buss notifications to add/ remove instances as they are auto scaled. Though I think this would work it just looks like too much work with too many moving parts.

All pointers will be much appreciated.


Viewing all articles
Browse latest Browse all 4189

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>