The right way to Run Instructions on an AWS ECS Cluster Activity or Container
September 19, 2022 · 1 min · 35 phrases · Andrew
If it’s essential to run a command, or set of instructions on an AWS ECS cluster container, then you are able to do the next:
aws ecs execute-command --cluster ${ClusterName} --task ${TASK_ARN} --container nginx --command "/bin/sh" --interactive