我有几个使用默认设置运行的 EB 实例,但即使它们目前几乎没有做任何事情(实际上只是在没有访问者的情况下运行静态保持页面),它们仍然会陷入严重的健康问题。
为什么是这样?我应该担心吗?同样,它们使用默认的EB 设置进行配置。
更新
这是访问日志。他们支持@bazze 的假设,即 EB 健康检查正在查看几个常见的 uRL 作为测试,并得到 404 作为回复:
[26/Nov/2017:17:09:46 +0000] "GET / HTTP/1.1" 200 2422 "-" "ELB-HealthChecker/1.0"
[26/Nov/2017:17:09:46 +0000] "HEAD /sql/sql-admin/ HTTP/1.1" 404 - "-" "Mozilla/5.0 Jorgee"
[26/Nov/2017:17:09:47 +0000] "HEAD /sql/phpmyadmin2/ HTTP/1.1" 404 - "-" "Mozilla/5.0 Jorgee"
[26/Nov/2017:17:09:47 +0000] "HEAD /sql/phpMyAdmin2/ HTTP/1.1" 404 - "-" "Mozilla/5.0 Jorgee"
[26/Nov/2017:17:09:47 +0000] "HEAD /sql/phpMyAdmin/ HTTP/1.1" 404 - "-" "Mozilla/5.0 Jorgee"
[26/Nov/2017:17:09:47 +0000] "HEAD /db/myadmin/ HTTP/1.1" 404 - "-" "Mozilla/5.0 Jorgee"
[26/Nov/2017:17:09:48 +0000] "HEAD /db/webadmin/ HTTP/1.1" 404 - "-" "Mozilla/5.0 Jorgee"
[26/Nov/2017:17:09:48 +0000] "HEAD /db/dbweb/ HTTP/1.1" 404 - "-" "Mozilla/5.0 Jorgee"
[26/Nov/2017:17:09:48 +0000] "HEAD /db/websql/ HTTP/1.1" 404 - "-" "Mozilla/5.0 Jorgee"
[26/Nov/2017:17:09:48 +0000] "HEAD /db/webdb/ HTTP/1.1" 404 - "-" "Mozilla/5.0 Jorgee"
[26/Nov/2017:17:09:49 +0000] "HEAD /db/dbadmin/ HTTP/1.1" 404 - "-" "Mozilla/5.0 Jorgee"
[26/Nov/2017:17:09:49 +0000] "GET / HTTP/1.1" 200 2422 "-" "ELB-HealthChecker/1.0"
[26/Nov/2017:17:09:49 +0000] "HEAD /db/db-admin/ HTTP/1.1" 404 - "-" "Mozilla/5.0 Jorgee"
[26/Nov/2017:17:09:49 +0000] "HEAD /db/phpmyadmin3/ HTTP/1.1" 404 - "-" "Mozilla/5.0 Jorgee"
[26/Nov/2017:17:09:49 +0000] "HEAD /db/phpMyAdmin3/ HTTP/1.1" 404 - "-" "Mozilla/5.0 Jorgee"
[26/Nov/2017:17:09:50 +0000] "HEAD /db/phpMyAdmin-3/ HTTP/1.1" 404 - "-" "Mozilla/5.0 Jorgee"
[26/Nov/2017:17:09:50 +0000] "HEAD /administrator/phpmyadmin/ HTTP/1.1" 404 - "-" "Mozilla/5.0 Jorgee"
[26/Nov/2017:17:09:50 +0000] "HEAD /administrator/phpMyAdmin/ HTTP/1.1" 404 - "-" "Mozilla/5.0 Jorgee"
[26/Nov/2017:17:09:51 +0000] "HEAD /administrator/db/ HTTP/1.1" 404 - "-" "Mozilla/5.0 Jorgee"
[26/Nov/2017:17:09:51 +0000] "HEAD /administrator/web/ HTTP/1.1" 404 - "-" "Mozilla/5.0 Jorgee"
[26/Nov/2017:17:09:51 +0000] "HEAD /administrator/pma/ HTTP/1.1" 404 - "-" "Mozilla/5.0 Jorgee"
[26/Nov/2017:17:09:51 +0000] "HEAD /administrator/PMA/ HTTP/1.1" 404 - "-" "Mozilla/5.0 Jorgee"
[26/Nov/2017:17:09:52 +0000] "HEAD /administrator/admin/ HTTP/1.1" 404 - "-" "Mozilla/5.0 Jorgee"
[26/Nov/2017:17:09:52 +0000] "HEAD /phpMyAdmin2/ HTTP/1.1" 404 - "-" "Mozilla/5.0 Jorgee"
[26/Nov/2017:17:09:52 +0000] "HEAD /phpMyAdmin3/ HTTP/1.1" 404 - "-" "Mozilla/5.0 Jorgee"
[26/Nov/2017:17:09:52 +0000] "HEAD /phpMyAdmin4/ HTTP/1.1" 404 - "-" "Mozilla/5.0 Jorgee"
[26/Nov/2017:17:09:53 +0000] "HEAD /phpMyAdmin-3/ HTTP/1.1" 404 - "-" "Mozilla/5.0 Jorgee"
[26/Nov/2017:17:09:53 +0000] "HEAD /php-my-admin/ HTTP/1.1" 404 - "-" "Mozilla/5.0 Jorgee"
您可以在事件详细信息中查看原因。它表示 100% 的请求都以 4XX 状态代码失败。所以我的猜测是,根据您问题中的信息,这些网站基本上处于闲置状态并且没有被使用,您只是不时从机器人那里获得访问,寻找常见的目录和文件以找到要破解的东西。检查访问日志,您可以快速确认是否是这种情况。
更新:当为 EB 环境启用增强的运行状况报告并且没有正在进行的操作时,HTTP 请求是环境运行状况的主要来源。在文档中阅读有关它的更多信息。