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

[ECS] [request]: per-task networking for Windows containers

Open nonspecialist opened this issue 4 years ago • 1 comments

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Tell us about your request

Task networking for Windows Containers

Which service(s) is this request for?

ECS although it would also be required for Fargate

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

Currently, Windows containers can only use the default network mode, which means NAT. This prevents allocation of security groups per-service, which makes it impossible to achieve least privilege network access where there are multiple services in a cluster with multiple backends, where there should be an N:1 relation between services and backends.

For example, in a cluster hosting X services, with Y RDS instances as back-ends, each worker node must be able to access all Y RDS instances, meaning all X services must be able to access those instances.

Workarounds include:

  • multiple clusters (which can mean lower utilisation)
  • multiple autoscaling groups in a cluster (again, risk of low utilisation)

Are you currently working around this issue? Right now, no. Utilisation and cost control is more important at present, so all services running on all EC2 worker nodes in the cluster can connect to any RDS instance.

Additional context nothing I can think of

Attachments n/a

nonspecialist avatar May 20 '20 06:05 nonspecialist

Task networking for Windows containers on ECS EC2 is now live with agent version 1.54.0 and greater. Please follow the blog post available here to get started.

rawahars avatar Jul 15 '21 20:07 rawahars

Task networking for Windows containers on ECS EC2 is now live with agent version 1.54.0 and greater. Please follow the blog post available here to get started.

Hi @rawahars

Any news if ENI trunking will be made available for Windows?

https://docs.aws.amazon.com/AmazonECS/latest/developerguide/eni-trunking-supported-instance-types.html

eugenecg avatar May 22 '24 11:05 eugenecg

Hello @eugenecg,

There are no plans at the moment to extend support for ENI Trunking for Windows on Amazon ECS. Please upvote the feature here- https://github.com/aws/containers-roadmap/issues/1490 which would allow us to prioritise the same.

CC: @goyalpurvi

rawahars avatar May 26 '24 16:05 rawahars