ablog

不器用で落着きのない技術者のメモ

ECS の fargate タスクを AWS CLI で停止したメモ

$ aws ecs list-tasks --cluster  fargate-test
$ aws ecs describe-tasks --cluster  fargate-test --tasks arn:aws:ecs:ap-northeast-1:123456789012:task/fargate-test/2db44988c2564237b85bebabc6ac37af
$ curl 172.31.29.36
$ aws ecs stop-task --cluster fargate-test --task arn:aws:ecs:ap-northeast-1:123456789012:task/fargate-test/35c2139a427d499db77a1e87244d6b13