compose-cli icon indicating copy to clipboard operation
compose-cli copied to clipboard

Adding "path pattern" ALB Listener Rules for ECS

Open benknight opened this issue 3 years ago • 1 comments

This is either a question or a feature request, but I would love to be able to run two different services on the same port and then use path prefixes to route to each separately.

For example, svc1 and sc2 both run on port 80, then, my-alb-1234567.us-east-1.elb.amazonaws.com/svc1 -> svc1 target group my-alb-1234567.us-east-1.elb.amazonaws.com/svc2 -> svc2 target group

In AWS this is accomplished by creating listener rules for each path pattern. I don't believe it's possible to achieve this using x-aws-cloudformation overlay because the compose cli will attempt to create two listeners on the same port, which is forbidden.

benknight avatar Dec 20 '22 10:12 benknight

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jun 18 '23 10:06 stale[bot]