Step 5: Run a load balancer outage experiment

  1. Click on the load balancer URL. Refresh the page a few times to see which load balancer is serving the request. In our case it's the ALB as it responds with port 8000 and 8001

  1. Click Stop this Load Balancer on the load balancer that is serving your requests (in our case it was the ALB). Provide Root password and click OK

  1. The load balancer should be disabled after sync is completed.

  1. Open the load balancer URL again and refresh the page a couple of times. The traffic should be seamlessly shifted to the other load balancer (in our case, to the Failover ALB)

Congratulations! 👏 You have just made your application resilient to the load balancer failure!

Last updated