22.7 Compare Load Balancers

Feature

Application Load Balancer

Network Load Balancer

Classic Load Balancer

Protocols

HTTP, HTTPS

TCP, UDP, TLS

TCP, SSL/TLS, HTTP, HTTPS

Platforms

VPC

VPC

EC2-Classic, VPC

Health checks

✔

✔

✔

CloudWatch metrics

✔

✔

✔

Logging

✔

✔

✔

Zonal fail-over

✔

✔

✔

Connection draining (deregistration delay)

✔

 

✔

Load Balancing to multiple ports on the same instance

✔

✔

 

IP addresses as targets

✔

✔ (TCP, TLS) 

 

Load balancer deletion protection

✔

✔

 

Configurable idle connection timeout

✔

 

✔

Cross-zone load balancing

✔

✔

✔

Sticky sessions

✔

✔

✔

Static IP

 

✔

 

Elastic IP address

 

✔

 

Preserve Source IP address

 

✔

 

Resource-based IAM Permissions

✔

✔

✔

Tag-based IAM permissions

✔

✔

 

Slow start

✔

 

 

WebSockets

✔

✔

 

PrivateLink Support

 

✔ (TCP, TLS) 

 

Source IP address CIDR-based routing

✔

 

 

Layer
7

Path-Based Routing

✔

 

 

Host-Based Routing

✔

 

 

Native HTTP/2

✔

 

 

Redirects

✔

 

 

Fixed response

✔

 

 

Lambda functions as targets

✔

 

 

HTTP header-based routing

✔

 

 

HTTP method-based routing

✔

 

 

Query string parameter-based routing 

✔

 

 

Security

SSL offloading

✔

✔

✔

Server Name Indication (SNI)

✔

✔

 

Back-end server encryption

✔

✔

✔

User authentication

✔

 

 

Custom Security Policy

 

 

✔