How do I stop an ECS deployment that does not use CodeDeploy? The ECS deployment is stuck in "In progress".

0

How do I stop an ECS deployment that does not use CodeDeploy? The ECS deployment is stuck in "In progress".

已提问 2 年前5939 查看次数
1 回答
0

If you are not using Circuit Breaker or CloudWatch Alarms to roll back your Deployment on failed ECS Tasks during the deployment you have to deploy a new Deployment with new Task Definition which will pass health checks, or revert the Task Definition version to the last known working version.

According to the https://aws.amazon.com/blogs/containers/automate-rollbacks-for-amazon-ecs-rolling-deployments-with-cloudwatch-alarms/ blog post: "By default, when the tasks in a service are unable to reach a healthy state, the scheduler applies the service throttling logic to retry the deployments and it required manual intervention to cancel the deployments after a certain number of failed attempts."

ECS Deployment "stuck" in the "In progress" state is expected behavior.

MarinAE
已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则