Ravi Sir's Cards › AWS
ALB listeners and rules
This revision card explains ALB listeners and rules. Users need one DNS name for many servers. A listener waits on a port and forwards to a target group. The how-to section covers how to add create-rule with path-pattern /api/*. An example on the card is HTTPS: 443 with ACM cert, redirect 80 to 443.
Read card text
What this card says
Why do we need it?
Users need one DNS name for many servers.
What is it?
A listener waits on a port and forwards to a target group.
--default-actions Type=forward
How to do it
Add create-rule with path-pattern /api/*.
--priority 10
Example
HTTPS: 443 with ACM cert, redirect 80 to 443.
HTTP_301