Always this 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.

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)

Some recomendations or solution? thanks

preguntada hace un mes537 visualizaciones
1 Respuesta
1
Respuesta aceptada

Hello.

Is the subnet launching the Fargate task a public subnet?
If you are not in a public subnet, you will need to set up a NAT Gateway to pull WordPress containers from DockerHub.
https://docs.aws.amazon.com/AmazonECS/latest/bestpracticesguide/networking-outbound.html#networking-private-subnet

Also, do the inbound rules of the security group you are using with ECS Fargate allow connections from ALB?
Specifically, settings must be made to allow HTTP connections from ALB.

profile picture
EXPERTO
respondido hace un mes

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas