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
已提問 5 個月前檢視次數 679 次
1 個回答
0
已接受的答案

Enter image description here

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

Thanks.

mertt
已回答 5 個月前
profile picture
專家
已審閱 2 個月前
  • What do you mean by application running in the container. I am getting the same issue. Can you please explain it more?

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南