Cloud concept / Compute decisions
Load balancing
Distribute incoming traffic across healthy targets instead of sending all requests to one server.
How it works
Elastic Load Balancing uses listeners, target groups, and health checks. An Application Load Balancer can route HTTP(S) based on rules such as URL path; a Network Load Balancer handles transport-layer traffic such as TCP or UDP. Combine with Auto Scaling when the number of targets needs to change.
Exam keywords
Picture this
A dispatcher directs customers to open desks; the manager decides when to staff more desks.
Balance routes; scaling adds capacity.
When to use it
A web application needs to route requests by URL and stop sending new requests to failed web servers.
When not to use it
A load balancer does not create instances, and cross-AZ routing is useful only if enough healthy capacity remains.
On the exam
AWS Certified Cloud Practitioner (CLF-C02) · Domain 3: Technology & Services · Task 3.3