AWS Elastic Load Balancer and target group health check fail for no apparent reasonCan you change an AWS...

Examples of a statistic that is not independent of sample's distribution?

If the Captain's screens are out, does he switch seats with the co-pilot?

Do Bugbears' arms literally get longer when it's their turn?

In the late 1940’s to early 1950’s what technology was available that could melt a LOT of ice?

How strictly should I take "Candidates must be local"?

Subset counting for even numbers

How much stiffer are 23c tires over 28c?

Why is Beresheet doing a only a one-way trip?

What Happens when Passenger Refuses to Fly Boeing 737 Max?

What does a stand alone "T" index value do?

infinitive telling the purpose

Algorithm to convert a fixed-length string to the smallest possible collision-free representation?

Finding algorithms of QGIS commands?

How does airport security verify that you can carry a battery bank over 100 Wh?

Virginia employer terminated employee and wants signing bonus returned

Fourth person (in Slavey language)

Is Gradient Descent central to every optimizer?

PTIJ: Why can't I eat anything?

Could you please stop shuffling the deck and play already?

Peter's Strange Word

How much attack damage does the AC boost from a shield prevent on average?

String reversal in Python

Does splitting a potentially monolithic application into several smaller ones help prevent bugs?

Do items de-spawn in Diablo?



AWS Elastic Load Balancer and target group health check fail for no apparent reason


Can you change an AWS Elastic Load Balancer health check without causing instances to go out of service?Single AWS Elastic Load Balancer to multiple EC2 instance pools?OpsWorks Auto Healing instances that fail ELB (load balancer) testEC2 Failing Load Balancer Health CheckAWS Elastic Load Balancer HTTP health check ping not reaching Rails application serverAWS ELB health check when using nginx and TCPELB Health check passes. Scaling Group Shows unhealthy. With scaling group set to the ELB checkAWS Elastic Beanstalk Health Check on Alternate Port using Application Elastic Load BalancerDetermine load balancer health check timeoutAWS Elastic Load Balancer: Forwarding Requests to all Instances













0















I have completed my AWS ELB architecture for our website and successfully created the Launch Configuration and Target Groups for which instances are created behind the Load Balancer.



My configuration is as follows :



Target Group

WebInstancesHttps

HTTPS through port 443



Health check

HTTPS

Path : /healthy.html

Port 443

Healthy threshold : 10

Unhealthy threshold : 2

Timeout : 5

Interval : 30



Autoscaling group

Desired : 2

Min : 2

Max : 3

No scaling policy for now.



Load Balancer

Application load balancer that listens on HTTP:80 and HTTPS:443 that both forward to the mentioned target group.



The problem

I have one remaining issue where my instances keep being terminated because of failed health checks. Although, querying the path mentioned in health check configuration works all the time and the instance seems to have no issue at all.



Every now and then, an instance becomes unhealthy and then a new one is instantiated back.



I have read all the documentation regarding health checks and I understand the theory behind it but I don't understand why hosts keep failing health checks at times while there are near to no traffic or load on the application.



I have a hard time investigating the issue as all configuration seem adequate.



Some insights would be greatly appreciated!



Thanks









share



























    0















    I have completed my AWS ELB architecture for our website and successfully created the Launch Configuration and Target Groups for which instances are created behind the Load Balancer.



    My configuration is as follows :



    Target Group

    WebInstancesHttps

    HTTPS through port 443



    Health check

    HTTPS

    Path : /healthy.html

    Port 443

    Healthy threshold : 10

    Unhealthy threshold : 2

    Timeout : 5

    Interval : 30



    Autoscaling group

    Desired : 2

    Min : 2

    Max : 3

    No scaling policy for now.



    Load Balancer

    Application load balancer that listens on HTTP:80 and HTTPS:443 that both forward to the mentioned target group.



    The problem

    I have one remaining issue where my instances keep being terminated because of failed health checks. Although, querying the path mentioned in health check configuration works all the time and the instance seems to have no issue at all.



    Every now and then, an instance becomes unhealthy and then a new one is instantiated back.



    I have read all the documentation regarding health checks and I understand the theory behind it but I don't understand why hosts keep failing health checks at times while there are near to no traffic or load on the application.



    I have a hard time investigating the issue as all configuration seem adequate.



    Some insights would be greatly appreciated!



    Thanks









    share

























      0












      0








      0








      I have completed my AWS ELB architecture for our website and successfully created the Launch Configuration and Target Groups for which instances are created behind the Load Balancer.



      My configuration is as follows :



      Target Group

      WebInstancesHttps

      HTTPS through port 443



      Health check

      HTTPS

      Path : /healthy.html

      Port 443

      Healthy threshold : 10

      Unhealthy threshold : 2

      Timeout : 5

      Interval : 30



      Autoscaling group

      Desired : 2

      Min : 2

      Max : 3

      No scaling policy for now.



      Load Balancer

      Application load balancer that listens on HTTP:80 and HTTPS:443 that both forward to the mentioned target group.



      The problem

      I have one remaining issue where my instances keep being terminated because of failed health checks. Although, querying the path mentioned in health check configuration works all the time and the instance seems to have no issue at all.



      Every now and then, an instance becomes unhealthy and then a new one is instantiated back.



      I have read all the documentation regarding health checks and I understand the theory behind it but I don't understand why hosts keep failing health checks at times while there are near to no traffic or load on the application.



      I have a hard time investigating the issue as all configuration seem adequate.



      Some insights would be greatly appreciated!



      Thanks









      share














      I have completed my AWS ELB architecture for our website and successfully created the Launch Configuration and Target Groups for which instances are created behind the Load Balancer.



      My configuration is as follows :



      Target Group

      WebInstancesHttps

      HTTPS through port 443



      Health check

      HTTPS

      Path : /healthy.html

      Port 443

      Healthy threshold : 10

      Unhealthy threshold : 2

      Timeout : 5

      Interval : 30



      Autoscaling group

      Desired : 2

      Min : 2

      Max : 3

      No scaling policy for now.



      Load Balancer

      Application load balancer that listens on HTTP:80 and HTTPS:443 that both forward to the mentioned target group.



      The problem

      I have one remaining issue where my instances keep being terminated because of failed health checks. Although, querying the path mentioned in health check configuration works all the time and the instance seems to have no issue at all.



      Every now and then, an instance becomes unhealthy and then a new one is instantiated back.



      I have read all the documentation regarding health checks and I understand the theory behind it but I don't understand why hosts keep failing health checks at times while there are near to no traffic or load on the application.



      I have a hard time investigating the issue as all configuration seem adequate.



      Some insights would be greatly appreciated!



      Thanks







      amazon-web-services load-balancing amazon-elb autoscaling healthcheck





      share












      share










      share



      share










      asked 3 mins ago









      wlarchevequewlarcheveque

      612




      612






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "2"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f958008%2faws-elastic-load-balancer-and-target-group-health-check-fail-for-no-apparent-rea%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Server Fault!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fserverfault.com%2fquestions%2f958008%2faws-elastic-load-balancer-and-target-group-health-check-fail-for-no-apparent-rea%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          As a Security Precaution, the user account has been locked The Next CEO of Stack OverflowMS...

          Список ссавців Італії Природоохоронні статуси | Список |...

          Українські прізвища Зміст Історичні відомості |...