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
gefragt vor 8 Monaten123 Aufrufe
Keine Antworten

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