What is the simplest way to run same docker images in AWSVPC and localy with docker-compose? I can’t wrap my head around networking without container links…
What is the docker-compose alternative of AWSVPC?
awsvpc networking mode allows a container more direct access to networking resources (better performance, more granular security). This requires allocating an Elastic Network Interface (ENI) per task. This update allows more ENIs per instance, meaning higher density of tasks per instance. The previous limit was small enough that it could be difficult to use… this update means it’s much easier to use this networking mode without worrying about tasks per instance.
EKS is still called “Amazon Elastic Container Service for Kubernetes” which is why I asked (some wishful thinking on my part), but going through the docs some more, it’s clear that this change is for ECS proper only.
Looking at the EKS roadmap again, I don’t see any specific work items for bringing this to EKS but I hope you’re right.
They never refer to it as ECS outside of marketing. ECS refers to the actual product. While they sometimes call it what you mentioned, the formal name is Amazon EKS to avoid confusion. If you read the tickets people ask about the same enhancements for the CNI and an Amazon employee answers there that yes, they are working on this.
The formal name is still ECS for Kubernetes as that’s what’s on the product description page but as you’ve said, no one calls it that. I get that ECS almost always means ECS but as I said, it was wishful thinking.
Can you link the comment(s) so I can share with my team? I only saw a mention of “networking improvements” in the ECS ENI ticket which could refer to any number of things that are already on the roadmap. We’re currently working around the ENI issue but if there’s more concrete something I can point to for which we can plan for, that would be fantastic. Thanks!
Reading the docs, I’m a little confused how this works.
I would expect 2 benefits from awsvpc mode and getting an ENI per task:
Better throughput/latency
Better network isolation (I can assign a task a security group directly)
If we’re trunking ENIs through the existing ones we get on the EC2 box, do we still get the above two benefits?
Also, does the trunking work by actually creating ENIs that I can find in the AWS console, or are they virtual/fake ENIs? And if they’re virtual, does that even matter to the above two expectations of “real” ENIs?