Lesson 1.1

Load balancing

A load balancer spreads traffic and hides failed instances. The interesting choices are the algorithm and what happens to sessions.

Duration
5m
Level
Intermediate
Students
15k students

Overview

A load balancer spreads traffic and hides failed instances. The interesting choices are the algorithm and what happens to sessions.

In this lesson you will:

  • Compare round robin, least connections, and hashing
  • Health check instances and drain them safely
  • Handle session affinity without pinning users forever

Resources

AWS Architecture Center

The official reference for the tools used in this lesson.