Search code examples
amazon-web-serviceselastic-load-balancer

ELB: logs from two nodes


My ELB logs shows 2 ip addresses which means requests are being balanced from two nodes: "The IP address of the load balancer node that handled the request."

My console shows 1 ELB in 2 availability zones. Does that mean that there is one node for each AZ?


Solution

  • When the AWS Management Console shows you that ELB a-b-c is in multiple availability zones, like us-east-1e, us-east-1c, that means that your ELB is listening in those availability zones. So your clients will be split up among the ELB nodes in those zones.

    If your ELB is in 2 zones, then your ELB has atleast 2 nodes. But depending on your scaling and number of back-end EC2 instances, your ELB may have more than 2 nodes: there may be multiple nodes in each AZ.