【发布时间】:2019-06-28 04:27:54
【问题描述】:
我使用 elasticbeanstalk 将示例 django 项目上传到 AWS。 我根据https://colintoh.com/blog/how-to-deploy-application-to-aws-elastic-beanstalk 的教程部署了两个环境。
当我部署(使用 eb cli 创建)第二个环境时,第一个环境 helth 更改为服务器在 elasticbeanstak 控制台上显示错误
100.0 % of the requests are erroring with HTTP 4xx. Insufficient request rate (12.0 requests/min) to determine application health.
ELB processes are not healthy on all instances.
ELB health is failing or not available for all instances.
但是,当我访问这两个页面时,它们似乎工作正常,因为它们都显示 django 的第一页调试消息
The install worked successfully! Congratulations!
You are seeing this page because DEBUG=True is in your settings file and you have not configured any URLs.
我可以忽略错误还是我需要做一些事情来修复错误(以及如何修复它)?
【问题讨论】:
标签: django amazon-web-services development-environment production-environment amazon-elastic-beanstalk