Error deploying service: ECS Deployment Circuit Breaker was triggered

0

Hello,

I am a new user in AWS and trying to deploy a docker image with a container. The docker image contains Ubuntu 20 and some relevant libraries.

I created a task definition with 2 CPUs and 4 GBs of memory.

When I try to create the service I get the error: "Resource handler returned message: "Error occurred during operation 'ECS Deployment Circuit Breaker was triggered'." (RequestToken: 50c5f116-697c-94c8-4a02-66f0576d6b95, HandlerErrorCode: GeneralServiceException)"

If I turn off the circuit breaker, the deployment cannot succeed, it waits to finish.

The screenshots are:

Enter image description here Enter image description here Enter image description here

As far as I can see from the logs, the Ubuntu starts and it can start the openssh server.

In one of the posts, it is said that the problem can be the environmental variables.

Where can be the problem?

Thank you.

Best regards, Mert

mertt
gefragt vor 5 Monaten665 Aufrufe
1 Antwort
0
Akzeptierte Antwort

Enter image description here

The problem has been solved. It was about the application running in the docker container.

Thanks.

mertt
beantwortet vor 5 Monaten
profile picture
EXPERTE
überprüft vor 2 Monaten
  • What do you mean by application running in the container. I am getting the same issue. Can you please explain it more?

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen