How do I achieve path-based routing on an Application Load Balancer?

Last updated: 2021-01-08

I'm running several microservices behind my Application Load Balancer. How do I forward requests to specific target groups based on the URL path?

Resolution

In an Application Load Balancer, you can create a listener with rules that forward requests to target groups based on the URL. For instructions, see Add path-based routing. For more information on path patterns, refer to the "Path conditions" section of Rule condition types.

Note: Before creating a load balancer that uses path-based routing:


Did this article help?


Do you need billing or technical support?