Maintained with ☕️ by
IcePanel logo

Application Load Balancer increases application availability with Automatic Target Weights

Share

Services

Application Load Balancer (ALB) now supports Automatic Target Weights (ATW), which uses a new routing algorithm to optimize the amount of traffic sent to each target based on information available to the load balancer. With this initial launch, ALB will adjust the amount of traffic sent to each target based on implicit health information, like 5XX errors and connection errors. Before this launch, health checks were the primary mechanism to monitor health of backend targets. While health checks successfully caught most types of target failures, they sometimes missed partial failures where health checks continue to succeed even though an application was impaired, like a problematic application deployment. In these scenarios, the application is typically impaired because a small set of targets are anomalous and perform worse than their peers. ATW detects these anomalous targets. Then, depending on the settings you choose, ATW will either surface them using CloudWatch metrics or automatically mitigate impact. Impact is mitigated by iteratively reducing the volume of traffic that an anomalous target receives until the target recovers or the traffic volume is decreased to a negligible level. If the target recovers, the ALB will gradually increase the amount of traffic sent to the target until it reaches its original load. You can use this feature by configuring the “weighted random” load balancing algorithm using AWS APIs or console. ATW is available in all [commercial AWS Regions,](https://aws.amazon.com/about-aws/global-infrastructure/regional-product-services/) and the [AWS GovCloud (US) Regions](https://aws.amazon.com/govcloud-us/). Learn more about this feature by reading the [AWS Blog](https://aws.amazon.com/blogs/networking-and-content-delivery/improving-availability-with-application-load-balancer-automatic-target-weights/) and [Application Load Balancer documentation](https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-target-groups.html#modify-routing-algorithm).