1 個回答
- 最新
- 最多得票
- 最多評論
3
Hello,
For sure, you can connect to your ECS Fargate task using Amazon ECS Exec. With Amazon ECS Exec, you can directly interact with containers without needing to first interact with the host container operating system, open inbound ports, or manage SSH keys. You can use ECS Exec to run commands in or get a shell to a container running on an Amazon EC2 instance or on AWS Fargate [1]. Refer to the documentation on how to use the ECS Exec for debugging[1].
[1] - https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-exec.html
已回答 1 年前
相關內容
- 已提問 7 個月前
- 已提問 1 年前
- AWS 官方已更新 2 年前
- AWS 官方已更新 1 年前
- AWS 官方已更新 2 年前
Thank you Olawale! What if my tasks are already launched but with "enableExecuteCommand" set to false? How can I re-enable them?
@Mohamad, you will need to create a new task with "enableExecuteCommand" set to true.