Load balancing is a key component to any application that’s highly available and scalable. In AWS, an Elastic Load Balancer distributes traffic across multiple instances, and even multiple availability zones if you choose. There are three kinds of load balancers in AWS: Application Load Balancer, Gateway Load Balancer and Network Load Balancer. This video will focus on Application Load Balancers.
In this hands-on tutorial, I’ll walk you through how set up two new Linux EC2 instances that are used as web servers. Then we’ll create an Application Load Balancer and a Target Group to balance traffic between the two instances.
To learn how to incorporate auto-scaling with your load balancer, check out this video: https://youtu.be/KNr3Kq7cah8
If you want to learn how to route traffic to multiple target groups, check out this video: https://youtu.be/0XMsnAgHXoo
??If you’re interested in getting AWS certifications, check out these full courses. They include lots of hands-on demos, quizzes and full practice exams. Use FRIENDS10 for a 10% discount!
– AWS Certified Cloud Practitioner: https://academy.zerotomastery.io/a/aff_n20ghyn4/external?affcode=441520_lm7gzk-d
– AWS Certified Solutions Architect Associate: https://academy.zerotomastery.io/a/aff_464yrtnn/external?affcode=441520_lm7gzk-d
00:00 – Overviewing the resources we’ll be building and how they work together
00:40 – Creating two new Linux EC2 instances as web servers
05:07 – Creating an Application Load Balancer in AWS
06:54 – Creating a Target Group for the Load Balancer to route traffic to
08:45 – Testing the Load Balancer
09:26 – Simulating an unhealthy instance to show how Load Balancing behaves