Elastic Load Balancing (ELB)は、受信トラフィックを複数のターゲット(EC2インスタンス、コンテナなど)に分散させます — 可用性(単一障害点がない)とスケーラビリティ(負荷を分散)を向上させます。信頼性が高くスケーラブルなアプリケーションの重要なコンポーネントです。
ロードバランサーが行うこと
A LOAD BALANCER sits in front of multiple backend targets and distributes requests:
Client → LOAD BALANCER → ┬→ Instance 1
├→ Instance 2
└→ Instance 3
→ spreads traffic across targets (scalability + no single instance overloaded)
→ HEALTH CHECKS: routes only to HEALTHY targets (an unhealthy one is bypassed)
→ if a target fails, traffic goes to the others → HIGH AVAILABILITY
→ single entry point (clients hit the LB, not individual instances)
