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개 답변
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
전문가
답변함 한 달 전
profile picture
전문가
검토됨 한 달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠