Lightsail container redeploy fails

0

Hey,

i already went through a couple of questions here, but never found a working answer for this problem:

I have a container service on Lightsail (Xlarge), where I want to deploy a FastAPI app. The size of the image is currently around 1.4GB. I am able to make a first deployment, meaning the first deploy I create for this image is working absolutely fine and I can access my app through the public endpoint.

Now, when I want to deploy another version of my image or even just a redeploy of the current one with the same specs, the deploy errors out with the error message deployment.x took too long.

I have absolutely no clue, why this is happening. The image itself should be fine as it's running smoothly on the first deploy. I also checked the CPU and memory consumptions on the metrics and they are around 0.x %, so from my point of view, this can't be an issue. I also increased the health check timings but that didn't change anything.

Can anybody help me to get this working?

PaulMax
已提問 9 個月前檢視次數 129 次
沒有答案

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

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

回答問題指南