Lightsail deployment "Took too long"

0

I performed Lightsail deployment following this guide: https://aws.amazon.com/tutorials/serve-a-flask-app/

When deploying my container, I keep getting the "Took too long" message in the longs and all deployments fail. This is not helpful and I'm not sure what went wrong.

What I've tried:

  • Increasing capacity up to Medium x3
  • Adjusted Health check timeout seconds to 60
  • Adjusted Health check interval seconds to 120

After deployment failure, I wait a while and I see the flask app is running in the logs. However this is after deployment "failed". Enter image description here

When I try to access via public domain, it says 503 Service Temporarily Unavailable.

What do I do?

Peanuto
gefragt vor 7 Monaten130 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

Relevanter Inhalt