Skip to content

Latest commit

 

History

History
18 lines (9 loc) · 1.27 KB

cross-zone-load-balancing.md

File metadata and controls

18 lines (9 loc) · 1.27 KB

Cross-Zone Load Balancing

Check the below image taken from the original AWS documentation. If the cross-zone load balancing would be inactive, the incoming requests would be divided equally between the first and second load balancer. But when we think of this situation behind the first load balancer there are two ec2 instances so all incoming requests would be handled by these two instances out of ten. So that this may be the cause of imbalances and unwanted situations.

As you see in the image when we activate the cross-zone load balancing all incoming requests will be divided between total ec2 instances. So in the end every instance behind the load balancers will face the same amount of load.

  • Application Load Balancer: (default enabled) and no charges
  • Network & Gateway Load Balancer: (disabled by default) and extra fees if it is enabled
  • **Classic Load Balancer: (disabled by default) **no charges if it is enabled.