You have a web application that requires routing requests based on URL paths and host headers. Which load balancer type is best suited for this?
Think about which load balancer can inspect HTTP headers to route traffic.
ALB operates at the application layer and supports advanced routing like path and host-based rules, making it ideal for HTTP traffic that requires such routing.
Your application requires handling millions of TCP connections with very low latency. Which load balancer should you choose?
Consider which load balancer works best at the transport layer for TCP traffic.
NLB works at the transport layer (Layer 4) and is designed to handle millions of TCP connections with low latency, making it suitable for high throughput TCP workloads.
You want to design a highly available web application that terminates SSL connections at the load balancer and supports sticky sessions. Which load balancer type should you use?
Think about which load balancer can handle SSL termination and session stickiness at the application layer.
ALB supports SSL termination and sticky sessions (session affinity) at the application layer, which is essential for web applications requiring these features.
Your application needs protection against DDoS attacks on TCP ports and requires static IP addresses for firewall whitelisting. Which load balancer fits these requirements?
Consider which load balancer provides static IPs and integrates with AWS Shield.
NLB provides static IP addresses and integrates with AWS Shield for DDoS protection, making it suitable for TCP port protection and firewall whitelisting.
You have a mixed workload: HTTP traffic requiring advanced routing and TCP traffic requiring high throughput. You want to optimize cost and performance. What is the best architecture?
Think about which load balancer is best for each protocol and how to combine them efficiently.
Using NLB for TCP traffic and ALB for HTTP traffic allows each load balancer to handle the traffic type it is optimized for, balancing cost and performance effectively.