Instance status is OutOfService in Load balancer

2019-07-23 03:19发布

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.

enter image description here

Im new to aws and couldnt find what is going wrong.

My health check is set as

enter image description here

Please help out.

1条回答
戒情不戒烟
2楼-- · 2019-07-23 03:42

Here is my checklist to troubleshoot this type of issue

  • Is the Security group of your instance OK ? ELB needs to have access to your instance for the health check

  • Is your Web / App server correctly running on the instance ? Does it accept connection requests ?

  • 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

查看更多
登录 后发表回答