errorECS Deployment Circuit Breaker was triggered

0

I am trying to do the workshop https://medium.com/aws-tip/devops-zero-to-hero-7-deploying-containers-with-aws-ecs-510d1f78fb21

I already have a task execution IAM role created. I have a user with AdministratorAccess, AmazonEC2ContainerRegistryFullAccess, AmazonEC2ContainerRegistryPowerUser and SecretsManagerReadWrite policies.

the subnet launching the Fargate task is a public subnet the inbound rules of the security group I am using with ECS Fargate allow connections from ALB

But always when I create the services, using load balancer, etc.

Show me the error:

Resource handler returned message: "Error occurred during operation 'ECS Deployment Circuit Breaker was triggered'." (RequestToken: 09d1b113-a8a6-e1e0-10fc-d97e042d2559, HandlerErrorCode: GeneralServiceException)

Enter image description here

In the ALB, always show

Enter image description here

But the wordpress APP, is working, how fix the last errors?

Enter image description here

已提问 1 个月前532 查看次数
1 回答
1
已接受的回答

Hello.

Try adding 200 and 302 to the HTTP status code for the ALB's target group health check.
The error is probably due to a redirect being performed in the WordPress container and a 302 status being returned as a response.
https://docs.aws.amazon.com/elasticloadbalancing/latest/application/target-group-health-checks.html#modify-health-check-settings

a

profile picture
专家
已回答 1 个月前
profile picture
专家
已审核 1 个月前

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

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

回答问题的准则