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
已提問 7 個月前檢視次數 130 次
沒有答案

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

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

回答問題指南