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 查看次数
没有答案

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则