amazon web services - Custom ELB Routing -


i want able route requests ec2 instances via aws elb using custom strategy. possible using classic or application load balancer?

for example, application running on each of ec2 instances emitting metrics related work doing. want elb routing happen based on metric - route request host reporting smallest amount of metric.

this metric has nothing cpu/memory. cannot differentiated based on request.

no, not possible.

from how elastic load balancing works:

routing algorithm

with classic load balancer, load balancer node receives request selects registered instance using round robin routing algorithm tcp listeners , least outstanding requests routing algorithm http , https listeners.

with application load balancer, load balancer node receives request evaluates listener rules in priority order determine rule apply, , selects target target group rule action using round robin routing algorithm. routing performed independently each target group, when target registered multiple target groups.


Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -