How do I use Auto Scaling to improve the fault tolerance of an application behind my load balancer?

Lecture de 1 minute(s)

I want to improve the fault-tolerance of my application that's running on Amazon EC2 instances behind a load balancer.


Elastic Load Balancing (ELB) supports the following types of load balancers: Application Load Balancer (ALB), Network Load Balancer (NLB), and Classic Load Balancer (CLB). If you have a preexisting load balancer, you can create an Auto Scaling group to automatically terminate unhealthy instances and launch new, healthy ones. In addition to improving the fault tolerance of your application, you can configure Auto Scaling to dynamically scale up your application in response to demand.

You can create an Auto Scaling group that launches copies of instances you’ve already configured. You can also create a launch configuration that uses an Amazon Machine Image (AMI) instead. After you create the Auto Scaling group, attach your load balancer to it.

Note: You must create your Auto Scaling group in the same Region and Availability Zone as your load balancer.

Related information

Tutorial: Set up a scaled and load-balanced application

AWS OFFICIELA mis à jour il y a 9 mois