0

health Checks are failing on my ELB for just a sample project. But I've gone through all the tutorials without much help.

The service definitely spins up. I can see it in the logs and I'm exposing 9000

enter image description here

MAIN SERVICE

enter image description here

TARGET GROUP

enter image description here

SECURITY GROUP & RULES

enter image description here

VPC

enter image description here

HEALTH CHECK SETTINGS

enter image description here

enter image description here

TASK SETTING

enter image description here

LOGS

[![


]9]9

austin
  • 405
  • 4
  • 12
  • Can you show us the **Health check settings** in the Target Group? https://i.stack.imgur.com/ir1Ob.png – Prav Jan 24 '21 at 18:12
  • Those settings seem good to me. I'm guessing you've deployed Fargate instead of EC2, so that shouldn't take very long to start the container unlike EC2, try increasing the **Interval** to `60` or higher?... You gonna have to try few different configs before you find the right one usually. – Prav Jan 24 '21 at 18:51
  • yes, Fargate with a 300 second grace period. I've upped the interval but that doesn't seem to be helping. – austin Jan 24 '21 at 19:09
  • Hmm, what's the stopped container logs show? are there any weird error logs? – Prav Jan 24 '21 at 19:12
  • no. it just stops. I don't think the container is getting hit at all. I have a log for health checks that is not being recorded. – austin Jan 24 '21 at 19:16
  • 1
    Ah, I see where's the problem is... the first photo shows Target group will route traffic to port `80`. You need to change that to `9000`. – Prav Jan 24 '21 at 19:18

0 Answers0