NLB-ECS 健康检查

0

【以下的问题经过翻译处理】 一位客户正在使用NLB与ECS。截至目前,ALB对于客户来说不是一个选项。目前,客户无法选择 ALB。

他们希望创建一个服务,能够报告URL的健康检查信息,类似于Kubernetes中的Liveliness/Readiness探测,以确保服务正常运行,而不仅仅是基于端口的健康检查,这是NLB所做的。

在NLB和ECS中是否可以实现这一点?对此有什么建议吗?

profile picture
EXPERT
asked 5 months ago30 views
1 Answer
0

【以下的回答经过翻译处理】 是的,您可以使用NLB目标组中的HTTP(S)健康检查,并选择依据目标是否健康的路径/状态代码。HealthCheckProtocol和HealthCheckPath是相关设置。详情请参阅:https://docs.aws.amazon.com/elasticloadbalancing/latest/network/target-group-health-checks.html

profile picture
EXPERT
answered 5 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions