Posted On: Mar 15, 2021
Amazon Elastic Container Service (Amazon ECS) introduces Amazon ECS Exec - a simple, secure, and auditable way for customers to execute commands in a container running on Amazon Elastic Compute Cloud (Amazon EC2) instances or AWS Fargate. ECS Exec gives you interactive shell or single command access to a running container making it easier to debug issues, diagnose errors, collect one-off dumps and statistics, and interact with processes in the container.
Amazon ECS Exec is now available at no additional cost in all public AWS Regions. This feature is supported on ECS Optimized AMIs with Container Agent Version 1.50.2 and Fargate Platform Version 1.4.0 or later. Visit our documentation page or read more in the blog post about executing commands in a running Linux container using ECS Exec from API, AWS Command Line Interface (CLI), AWS SDKs, or the AWS Copilot CLI.