Listeners and routing rules
An ALB operates at the application layer for supported HTTP traffic. A listener has a port and protocol and evaluates rules such as host or path conditions. The default rule handles unmatched requests. HTTPS listeners need certificate configuration, and TLS termination at the ALB is separate from backend transport security. A listener on HTTPS 443 can forward /api/* to an API target group and use a default website group for other paths. Explicit listener rules make request destinations explainable and let you separate front-door TLS, application routing and backend connections during diagnosis. Adding a target group alone does not expose it to clients; a listener action must forward matching requests to that group.
A listener on HTTPS 443 can forward /api/* to an API target group and use a default website group for other paths.
Explicit listener rules make request destinations explainable and let you separate front-door TLS, application routing and backend connections during diagnosis.
Adding a target group alone does not expose it to clients; a listener action must forward matching requests to that group.