containers-roadmap icon indicating copy to clipboard operation
containers-roadmap copied to clipboard

[Fargate] [Feature]: Support for UDP + NLB with Fargate services

Open danrubenstein opened this issue 7 years ago • 35 comments

Which service(s) is this request for? Fargate

Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?

We're trying to move lots of services off of EC2s and onto AWS Fargate, we've found that the operational TCO is much lower, and would love to keep moving in that direction.

One stumbling block we have here is that we have services that rely on UDP transmission (e.g., statsd type systems, syslog, etc), and we can't seem to replicate the model that we would with EC2s / Beanstalk here.

We're really excited that AWS now supports UDP with NLB, and we want to use this in front of Fargate, rather than an NLB in front of EC2s or round robin DNS to a fixed set of EC2s.

It seems like the conflict here is Fargate (and perhaps ECS on EC2, have not checked in detail) services require that Target groups use the "ip" TargetType with both application and network load balancers, whereas the UDP NLBs require "instance" types.

(With basically no context, and a great deal of hubris) It seems like it should be possible to decouple the TCP / UDP layer of the networking configuration from the IP / instance distinction.

Are you currently working around this issue? We're planning on using NLB with Docker in AWS Beanstalk instead.

Additional context If this is really a request that should be for the group that works on NLB, feel free to send wherever appropriate and close this issue (I'm not aware of an equivalent forum for that group).

danrubenstein avatar Aug 24 '19 17:08 danrubenstein

Just for more color here, we ended up not going the docker in beanstalk route, but are instead making an ECS + EC2 cluster with a daemon ECS service that has the host NetworkMode, and then setting the NLB to target the ports on the EC2 that are tied to the containers.

The point being that we can get both docker + autoscaling goodness, but I feel it's a little more involved than it should be.

danrubenstein avatar Aug 30 '19 15:08 danrubenstein

+1 for adding support to load balance UDP traffic to "ip" TargetTypes. This is also preventing us from using Fargate at the moment.

false-vacuum avatar Aug 30 '19 20:08 false-vacuum

+1

hvardhanx avatar Sep 13 '19 13:09 hvardhanx

I also just ran into this issue while trying to implement DNS on Fargate. Would love UDP on Fargate.

rhyeal avatar Sep 23 '19 06:09 rhyeal

Same issue here. Any news about this ?

AdrienKuhn avatar Oct 11 '19 15:10 AdrienKuhn

I am running an ECS cluster that deals with UDP traffic... I have EC2 instances to run the (UDP) tasks but I would certainly love UDP support in Fargate as well. 🙏

aichholzer avatar Nov 07 '19 23:11 aichholzer

Same same. We can't go full-serverless unless farg8 and udp nlb work together.

luispabon avatar Nov 14 '19 16:11 luispabon

In order to comply with PCIDSS, we need to receive syslog via Direct Connect. The syslog server receives the logs via UDP because our router only supports UDP. We also want that syslog server to run read-only containers on Fargate to comply PCIDSS so that we need to support UDP with NLB!!!

ryosan-470 avatar Nov 19 '19 07:11 ryosan-470

Same here. Any Update?

z0ph avatar Dec 19 '19 14:12 z0ph

Same here for a dns service. Any update ?

jcdecaux-oss avatar Jan 03 '20 09:01 jcdecaux-oss

yes, it is crazy that NLB doesn't support UDP for IP targets, can we please have an update on this?

lochiiconnectivity avatar Jan 03 '20 23:01 lochiiconnectivity

Ideally in time for HTTP/3 😉

whereisaaron avatar Jan 04 '20 04:01 whereisaaron

This also prevents us from migrating services to fargate. UDP support would be greatly appreciated.

cSNiHab avatar Jan 07 '20 11:01 cSNiHab

This is a major problem and is blocking us from moving UDP gaming workloads to AWS

silesmo avatar Feb 03 '20 19:02 silesmo

any idea by when we can expect NLB + UDP in fargate??

ghost avatar Feb 05 '20 17:02 ghost

🙏 please 🙏

johnjelinek avatar Feb 05 '20 19:02 johnjelinek

IoT telemetry collection: another use case broken for lack of UDP support in fargate.

luispabon avatar Feb 06 '20 10:02 luispabon

Could not use XRAY on fargate with NLB within this issue.

sgabenov avatar Mar 04 '20 10:03 sgabenov

SAME !

tavislikedavis avatar Mar 27 '20 14:03 tavislikedavis

SAME !

guy032 avatar Apr 22 '20 08:04 guy032