![AWS EC2 负载均衡器上的“编辑健康检查”显示为灰色](https://linux22.com/image/755748/AWS%20EC2%20%E8%B4%9F%E8%BD%BD%E5%9D%87%E8%A1%A1%E5%99%A8%E4%B8%8A%E7%9A%84%E2%80%9C%E7%BC%96%E8%BE%91%E5%81%A5%E5%BA%B7%E6%A3%80%E6%9F%A5%E2%80%9D%E6%98%BE%E7%A4%BA%E4%B8%BA%E7%81%B0%E8%89%B2.png)
默认的 AWS EC2 负载均衡器健康检查命中“/”,但我更希望它命中某个地方。在负载均衡器设置中,“编辑健康检查”显示为灰色,我不确定为什么。我不断在访问日志中看到 ELB-Healthchecker。如何更改健康检查 URL?
172.31.46.123 - - [03/Aug/2020:19:03:28 +0900] "GET / HTTP/1.1" 200 21043 "-" "ELB-HealthChecker/2.0"
172.31.12.60 - - [03/Aug/2020:19:03:30 +0900] "GET / HTTP/1.1" 200 21043 "-" "ELB-HealthChecker/2.0"
172.31.46.123 - - [03/Aug/2020:19:03:58 +0900] "GET / HTTP/1.1" 200 21043 "-" "ELB-HealthChecker/2.0"
172.31.12.60 - - [03/Aug/2020:19:04:00 +0900] "GET / HTTP/1.1" 200 21043 "-" "ELB-HealthChecker/2.0"
答案1
答案2
自 Wesley 回答以来,AWS 可能已经更改了 EC2 控制台 UI。我找不到实例选项卡,但我确实通过单击左侧窗格中的“目标组”,选择所需的目标组,然后单击“健康检查”选项卡找到了健康检查设置。