-
Notifications
You must be signed in to change notification settings - Fork 323
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ECS] [request]: Add UDP_TCP protocol for container portMapping in the task definition #850
Comments
This would be really great. Alternatively, if there would be a |
Ran into this issue while trying to deploy a cluster of prometheus-alertmanagers in Fargate. Alertmanager uses a gossip protocol that requires UDP and TCP on the same port. Unfortunately, for Fargate, this is a blocker with no workaround. Using something like |
mixed signals here on if this is possible - yes: https://github.com/awsdocs/aws-cloudformation-user-guide/pull/705/files - no: aws/containers-roadmap#850 - discuss: https://stackoverflow.com/questions/59481395/how-can-i-expose-both-tcp-and-udp-on-a-single-port-in-a-aws-ec2-task License: MIT Signed-off-by: Oli Evans <[email protected]>
Looks like over 100 customers are asking for this, and it's been open for nearly 3 years, how can this issue get priority on the roadmap? |
Still waiting |
even more waiting.... |
The wait is real. |
Needs some noise to wake it up. I haven't worked on the project I needed this for for almost two years, but I'd still like to see the feature get delivered |
We are running into this with a Consul deployment as well, it would prefer to use UDP and TCP for gossip on the same port. Just a little extra noise. |
We are also waiting... already more than 4 years! |
To make matters worse, when trying to set up a nlb using IP target group, I am forced to set up a health check, and UDP isn't valid for health checks. So I need to have both UDP and TCP port open for the health check to work on TCP, but since I can't set the ECS listener on both UDP and TCP, I'm in a catch 22 where I can't run a UDP service in ECS. |
Coming up on 5 years and we have to create EC2 instances and CodeDeploy apps because of this limitation. All our other services are Fargate. Has anyone brought this up with AWS Support or their TAM? |
Community Note
Tell us about your request
The port mapping option for the containers currently supports TCP or UDP protocol. It should also have an option for protocol UDP_TCP. This would allow the same dynamic port to be assigned to the same container port over TCP and UDP.
Which service(s) is this request for?
ECS
Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
Currently, there is no option to map the same container port with different protocols. So, while trying to create a service behind an UDP Network Load Balancer the health checks fail as the health checks are done on TCP. If the UDP_TCP protocol is enabled then the same container port will be mapped to a single dynamic host port and would be helpful for application that serve traffic over both TCP and UDP.
Are you currently working around this issue?
Currently to solve this issue, a DAEMON service is also has to be deployed and the health check port of the NLB has to be changed to point to the daemon service port. The health check port has to be reverted back to "traffic-port" while updating the REPLICA service(behind the NLB) and then again the health check port is pointed to the daemon service port
The text was updated successfully, but these errors were encountered: