Skip to content
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

Enable ECS with other networking modes #40

Closed
jamsajones opened this issue Nov 28, 2018 · 14 comments
Closed

Enable ECS with other networking modes #40

jamsajones opened this issue Nov 28, 2018 · 14 comments
Labels
ECS Amazon Elastic Container Service Roadmap: Proposed We are considering this for inclusion in the roadmap.

Comments

@jamsajones
Copy link

In ECS awsvpc networking mode doesn't meet everyone's needs. Enabling other network modes would be great.

@jamsajones jamsajones changed the title Enable ECS with other networking modes,Platform,n,5,Y Enable ECS with other networking modes Nov 28, 2018
@jlambert121
Copy link

We have been a long time ECS user (pre-awsvpc) and unfortunately the way our environment is built we cannot easily switch. Once bridge mode is supported we will be able to do a larger production rollout of this!

@idubinskiy
Copy link

We would love to be able to switch to awsvpc networking, but many of the services we run on ECS use small enough allocations of CPU and Memory that binpacking places significantly more tasks per instance than the limit of ENIs that can be attached to each instance. Either EC2 needs to support a lot more ENIs per instance, or App Mesh needs to support bridge mode.

@jamsajones
Copy link
Author

@jlambert121 thanks for the input!

@jamsajones
Copy link
Author

@idubinskiy thanks for the input! Is it just ENI density that keeps you from moving to awsvpc or are there other reasons to stay with bridge?

@idubinskiy
Copy link

@jamsajones We also use Ubuntu as the base for our ECS instances, so that's not officially supported, but it seems that there are ways to get awsvpc working on it. However, we haven't made an attempt because of the ENI density, so there may be other issues that could come up.

@rlafferty
Copy link

To echo what @idubinskiy said, the ENI limit is definitely very restrictive for us to even consider a move to using awsvpc task networking in our environment. Our typical ECS container instance usually has 15+ tasks running.

@joshuabaird
Copy link

@jamsajones We have the same issue(s) as @idubinskiy. It's not uncommon for us to have 15-20 containers on our instances (m5.2xlarge). To support that number of containers, we would need to switch to at least an m5.24x (which still only supports 15 ENIs). Not to mention the amount of CPU/memory we would be wasting on such a large instance when we're only able to pack 15 containers on it. Surely this is a concern for other customers as well?

@jamsajones
Copy link
Author

@idubinskiy thanks for the info re:Ubuntu and awsvpc. The I will reach out to the ECS Agent team and have them look into that issue.

@jamsajones
Copy link
Author

For the ENI density topic, this is a common request from our customers and is now part of the public roadmap for the AWS Containers Org. Feel free to comment over there if you have not yet aws/containers-roadmap#7.

From an App Mesh perspective we are still going to look into ways to support other modes as awsvpc may not fit everyone's needs.

@idubinskiy
Copy link

idubinskiy commented Dec 12, 2018

@jamsajones The roadmap is really helpful. However, as far as commenting, the "issues" all have this message: An owner of this repository has limited the ability to comment to users that are collaborators on this repository.

Edit: It's also not possible to create an issue in that repo right now, despite the README there saying

Q: How can I provide feedback or ask for more information?

A: Please open an issue!

@abby-fuller
Copy link
Contributor

Hey @idubinskiy! Containers roadmap should be open for comments and issues as of yesterday. There was a brief window when we went public and it got popular that we hit a setting and it limited it to repository owners. All is open now! Def feel free to come open issues/comment.

@idubinskiy
Copy link

@abby-fuller Thanks for the update!

@coultn coultn transferred this issue from aws/aws-app-mesh-examples Mar 28, 2019
@mhausenblas mhausenblas added ECS Amazon Elastic Container Service Roadmap: Proposed We are considering this for inclusion in the roadmap. labels Apr 3, 2019
@coultn
Copy link

coultn commented May 10, 2019

Hi everyone, FYI we have an upcoming launch for ECS that will increase the number of ENIs on ECS when using awsvpc networking mode on nitro-based instances. This will help make it easier to use App Mesh with awsvpc networking on ECS: aws/containers-roadmap#7

@shubharao
Copy link

We now have increased task limits when using awsvpc task networking mode. This let you go up to 120 tasks per instance, depending on instance type. More details here and here
Based on this, we do not have plans to support other networking modes in the near term roadmap. If this is a concern for you, please open a new issue. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ECS Amazon Elastic Container Service Roadmap: Proposed We are considering this for inclusion in the roadmap.
Projects
None yet
Development

No branches or pull requests

9 participants