1 Answer
- Newest
- Most votes
- Most comments
0
Yes, you can use HTTP(s) healthchecks with NLB target groups and choose the path/status codes that indicate whether the target is healthy or not. HealthCheckProtocol and HealthCheckPath are the relevant settings:
https://docs.aws.amazon.com/elasticloadbalancing/latest/network/target-group-health-checks.html
answered 3 years ago
Relevant content
- asked 2 years ago
- asked 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago
I've just tested it. Unfortunately it doesn't work with ECS Fargate + NLB in my scenario.
The reply from CloudFormation is: "Health check paths are not supported for TCP health checks"
If I try to change health check protocol it says: You cannot change the health check protocol for a target group with the TCP protocol