bottlerocket icon indicating copy to clipboard operation
bottlerocket copied to clipboard

Add support for ECS Exec

Open otterley opened this issue 4 years ago • 2 comments

ECS Exec is an important feature of ECS. It allows customers to obtain a shell in the context of a running container (à la kubectl exec), without requiring admin access to the host.

Currently, ECS Exec is supported on the Amazon Linux 2-based ECS optimized AMI and similar variants, but is not supported on Bottlerocket. Given ECS Exec's popularity, it makes sense to add support for it in Bottlerocket as well.

otterley avatar Jul 08 '21 00:07 otterley

Thanks for the request - we'll look into it!

zmrow avatar Jul 22 '21 16:07 zmrow

+1 with some fluff text context! We use ECS Exec to perform a lot of tasks from debugging to maintenance across our containers. We have multiple types of Operating Systems we use and all but Bottlerocket supports this feature. I would love to finally switch all the remaining Operating Systems we use to Bottlerocket for all the lovely benefits it brings but I can't complete that migration until this feature exists. Would love to see this happen!

rue-nsilverman avatar Jul 08 '22 16:07 rue-nsilverman

I was curious about what will be required in Bottlerocket in order to support this feature. I found out that the ECS agent will mount SSM binaries provided by the host, which I assume are statically linked.

arnaldo2792 avatar Dec 13 '22 19:12 arnaldo2792

I just hit my head on this. Unfortunately it seems that there's no error surfaced anywhere when a task can't be scheduled because of this requirement.

ryansch avatar Jan 13 '23 19:01 ryansch

@dmitmasy fyi for your awareness and prioritization.

stmcginnis avatar Mar 06 '23 19:03 stmcginnis