Skill 4.2.1
Determining an appropriate load balancing strategy (for example, Application Load Balancer [Layer 7] compared with Network Load Balancer [Layer 4] compared with Gateway Load Balancer)
Key Concepts
ALB is billed per hour plus Load Balancer Capacity Units (LCUs) based on new connections, active connections, processed bytes and rule evaluations. One ALB can serve many applications using host- and path-based rules, which is cheaper than one load balancer per app. NLB is billed similarly with NLCUs and suits TCP/UDP, static IPs and very high throughput. GWLB is for scaling third-party appliances.
Data transfer matters too: NLB cross-zone load balancing is off by default, and turning it on adds inter-AZ data charges; ALB cross-zone traffic is free.
Alternatives: API Gateway HTTP APIs or Lambda function URLs for low-traffic serverless APIs can cost less than an always-on load balancer; CloudFront in front reduces load balancer traffic.