Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Adding "path pattern" ALB Listener Rules for ECS #2209

Open
benknight opened this issue Dec 20, 2022 · 1 comment
Open

Adding "path pattern" ALB Listener Rules for ECS #2209

benknight opened this issue Dec 20, 2022 · 1 comment
Labels
stale Inactive issue

Comments

@benknight
Copy link

benknight commented Dec 20, 2022

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.

@stale
Copy link

stale bot commented Jun 18, 2023

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 stale bot added the stale Inactive issue label Jun 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
stale Inactive issue
Projects
None yet
Development

No branches or pull requests

1 participant