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

asked 13 days ago484 views
1 Answer
1
Accepted Answer

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
EXPERT
answered 13 days ago
profile picture
EXPERT
reviewed 12 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions