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

feita há um mês532 visualizações
1 Resposta
1
Resposta aceita

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
ESPECIALISTA
respondido há um mês
profile picture
ESPECIALISTA
avaliado há um mês

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas