title: AWS Network ELB take 4 minutes to recognise target as healthy
body: <p>Using AWS Network ELBs: takes at least four minutes for a registered instance to become 'healthy'. The instances and services have been running for days, I am simply de-registering and then registering on the same target group, as part of a deployment. If I use a script or use the AWS UI, CLI it makes no difference.</p>
  
  <p>Healthcheck Settings are:</p>
  
  <ul>
  <li>Port: tried various, all have listening services tested via curl. 80,22,9001</li>
  <li>Healthy threshold: 2</li>
  <li>Unhealthy threshold: 2</li>
  <li>Timeout: 10</li>
  <li>Interval: 30</li>
  </ul>
  
  <p>I can see the connection requests coming in on whatever port has been specified, the service responds appropriately and the connection is then closed. As far as I am aware this should be sufficient for the ELB to determine that the instance is healthy (once the threshold has been passed). Which should mean that my instances are up and running no more than 90 seconds past registration time. I have no idea why this should be happening, should be straight forward.</p>
  
  <p>I cannot determine what would be causing such a long delay given that I have fulfilled the known criteria for my instances being healthy. They sit at the <code>Elb.InitialHealthChecking</code> reason for about 4 minutes. Any ideas on further tests to determine the cause of the delay?</p>