Which AWS service or resource will meet this requirement?
Amazon EC2 Auto Scaling
Application Load Balancer
Gateway Load Balancer
Network Load Balancer
Explanations:
Amazon EC2 Auto Scaling is primarily used to automatically adjust the number of EC2 instances based on traffic demands. While it helps maintain application availability, it does not directly distribute incoming traffic.
An Application Load Balancer (ALB) is specifically designed to distribute HTTP/HTTPS traffic across multiple EC2 instances. It operates at the application layer (Layer 7) and can intelligently route traffic based on various request attributes, making it the best choice for evenly distributing incoming HTTP traffic.
A Gateway Load Balancer is used for distributing traffic to virtual appliances, such as firewalls and intrusion detection systems, rather than balancing incoming application traffic. It combines a transparent network gateway with a load balancer but is not suitable for HTTP traffic distribution.
A Network Load Balancer operates at the transport layer (Layer 4) and is optimized for handling TCP traffic. While it can distribute traffic efficiently, it lacks the advanced HTTP routing features of an Application Load Balancer, making it less suitable for this specific requirement.