- 最新
- 投票最多
- 评论最多
It turns out it was one of the targets in my target groups that have become unresponsive. so I deregistered it and everything is working fine now. Thanks for the assistance. Cheers.
Hello.
How about increasing the interval of "healthCheckGracePeriodSeconds" in the ECS service settings?
By increasing this value, the ECS task will be RUNNING until the specified number of seconds has passed.
We believe that if the health check status passes during this grace period, there is no problem.
https://repost.aws/knowledge-center/fargate-alb-health-checks
https://docs.aws.amazon.com/AmazonECS/latest/userguide/service_definition_parameters.html#sd-networkconfiguration
Just to be sure, is the ALB health check configured to succeed if it receives a status code of 200?
Please check the task definition to ensure that it's correctly set up, especially the network mode, container definitions, and port mappings. Service Dependencies: Check if your service has dependencies (like a database) that might not be ready or accessible, causing the service to be unhealthy.
相关内容
- AWS 官方已更新 2 年前
Thank you, but I already did. if you check on the second picture, the value is set at 1800. unless if you think i should set it higher?, and yes the ALB response code i used a range of 200-299