From the course: AWS for DevOps: High Availability and Elasticity

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

HA for EC2 with load balancers

HA for EC2 with load balancers - Amazon Web Services (AWS) Tutorial

From the course: AWS for DevOps: High Availability and Elasticity

Start my 1-month free trial

HA for EC2 with load balancers

- [Instructor] Now that we've done the prerequisites for HA for EC2, let's look at load balancing. There's three types of load balancing algorithms. Weighted-round robin, which just directs the traffic around to the different instances in an algorithm that's basically equally distributes the traffic, although you can set the ratio. There's latency-based routing, which is how much time it takes for the packets to get back and forth. And there's geolocation-based routing, which is from what geographical location are that client IPs originating from. You'll see these in action when we look at the two services, which are the application load balancer or the classic load balancer, which is the ELB. Application load balancer is new. It's preferred for http or https. The classic load balancer can be used for that, as well as TCP or SSL. Let's dive in and take a look. I've set up a number of EC2 instances, as I mentioned in a previous movie, and I've had one configuration setting that's…

Contents