-
Notifications
You must be signed in to change notification settings - Fork 511
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
awsvpcTrunking with arm64 instances seems to be unavailable #3153
Comments
Can it be that I have to create the ECS Cluster after enabling awsvpcTrunking? Is there a way to migrate existing ECS Clusters onto awsvpcTrunking? |
Hello @f0o! Thanks for cutting this issue. It looks like from the docs you need to launch new instances after enabling the setting: We'll look into to this issue to see if there is something more going on, but it might be worth trying to create the cluster just in case there is some lingering setting tied to the cluster. |
I can verify that creating a New Cluster (post enabling awsvpcTrunking in defaults) does make it work. Docs doesnt say anything about this and I've rotated all EC2 instances from my old Cluster a few times (even switched between instance types, including c5.large which is mentioned #1246 to support awsvpctrunking in bottlerocket) I'm unsure who the culprit here is, might as well be bad AWS Docs. However that leaves me to question how a migration to an awsvpctrunking would look like since creating a whole new cluster and shifting traffic-flow can be very tedious (in my case outright impossible without major reworking of trafficflows) |
Thanks for the update @f0o, it sounds like Bottlerocket is working with the new cluster, but there is something at the cluster level that is keeping it from taking effect for you on the existing one. It might be worth reaching out to ECS support if you can to confirm from the cluster side if there is something you can do about migrating the existing cluster to this setting. |
@f0o did you end up figuring out a way to change this for an existing cluster? Is there anything else we should cover in this issue is it fine to close? |
Hi @yeazelm After talking to AWS the solution is to Wait Setting the awsvpcTrunking setting apparently is not immediate for existing clusters and they take an undefined amount of time to propagate even if the EC2 instances are cycled. We followed up with it on the next day and magically the old cluster had awsvpcTrunking enabled as the instances cycled multiple times throughout the previous day from ASG actions. I suggested AWS to update their documentation since they made it sound like only EC2 cycling was needed. Considering this issues Closed. Thanks for your help! |
Image I'm using:
/aws/service/bottlerocket/aws-ecs-1/arm64/latest/image_id
What I expected to happen:
InstaceType m6g.medium to spin up 4 Tasks with awsvpcTrunking as per https://docs.aws.amazon.com/AmazonECS/latest/developerguide/container-instance-eni.html#eni-trunking-supported-instance-types
However the awsvpctrunking setting has been enabled in the ECS Account Settings
All EC2 Instances have been re-created as per documentation (multiple times even - also changing types)
What actually happened:
encountered error "RESOURCE:ENI" - can only create 1 Task per host (which matches to the table in above link without trunking enabled)
How to reproduce the problem:
The text was updated successfully, but these errors were encountered: