🔍

AWS fargateで複数タスクが実行できない

2022/03/11に公開

状況

Control Towerで新規アカウント作成後、ECS, Fargeteでアプリを構築。
タスクが2つまでは実行できるが、それ以上になると以下のエラーがでる。

service <redacted> was unable to place a task. Reason: You've reached the limit on the number of tasks you can run concurrently. For more information, see the Troubleshooting section.

タスクを1つ終了させると次が起動できるので、同時実行が2つに制限されているぽい。
quotaも念の為調べてみたが、制限には余裕がある。

解決

https://forums.aws.amazon.com/thread.jspa?threadID=340770
同様の事例。対象のリージョンでどんな構成でもいいからEC2を立ち上げると良いと書いてあるので実行。
ほんとに同時実行が解除されました。。!

Discussion