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
demandé il y a 5 mois679 vues
1 réponse
0
Réponse acceptée

Enter image description here

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

Thanks.

mertt
répondu il y a 5 mois
profile picture
EXPERT
vérifié il y a 2 mois
  • What do you mean by application running in the container. I am getting the same issue. Can you please explain it more?

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions