Articles → AWS → Difference Between The Application Load Balancer And Network Load Balancer In AWS

Difference Between The Application Load Balancer And Network Load Balancer In AWS






Difference


Application Load Balancer (ALB)Network Load Balancer (NLB)
ALB works at layer 7NLB works at layer 4
Instance Id, IP address, and lambda function are types of resources specified as ALB targetsInstance Id and IP address are types of resources specified as NLB targets
HTTP and HTTPS protocols are supported by ALBTCP and UDP protocols are supported by NLB
PrivateLink support is not supported by ALBPrivateLink support is supported by NLB
Static IP is not supported by ALBStatic IP is supported by NLB
HTTP header-based routing is supported by ALBHTTP header-based routing is not supported by NLB
The option for source IP address preservation is enabled by default for the Application Load Balancer. The X-Forwarded-For request header is automatically added and helps you with source IP preservationNetwork Load Balancers can preserve the source IP address of clients when routing requests to backend targets





Posted By  -  Karan Gupta
 
Posted On  -  Wednesday, July 27, 2022

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250