实例状态在负载均衡器中为OutOfService [英] Instance status is OutOfService in Load balancer
问题描述
我在Amazon AWS中创建了一个负载均衡器,我创建了负载均衡器是为了在服务器上建立一个ssl,该服务器已经具有另一个使用SSL的域.实例的状态已更改为停止服务".
I have created a load balancer in amazon AWS.I created the load balancer in order to set up an ssl in server which already had another domain with SSL.The load balancer was working fine till today.But sometime before I noticed that the status of the instance has changed to Outofservice.
我是aws的新手,无法找到问题所在.
Im new to aws and couldnt find what is going wrong.
我的健康检查设置为
请帮忙.
推荐答案
这是我要解决此类问题的清单
Here is my checklist to troubleshoot this type of issue
-
您的实例的安全组可以吗? ELB需要有权访问您的实例以进行运行状况检查
Is the Security group of your instance OK ? ELB needs to have access to your instance for the health check
您的Web/App服务器是否在实例上正确运行?它接受连接请求吗?
Is your Web / App server correctly running on the instance ? Does it accept connection requests ?
您的健康检查URL 200的HTTP返回代码是吗?如果您的运行状况检查URL返回其他任何内容(例如30x重定向),则ELB会认为您的实例无效.您可以在Linux实例上使用curl -I进行检查.
Is the HTTP return code of your health check URL 200 ? If your healthcheck URL returns anything else (a 30x redirect for example), ELB will consider your instance invalid. You can check this with curl -I on Linux instances.
HTH
-Seb
这篇关于实例状态在负载均衡器中为OutOfService的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!