在一个ALB(而不是四个ec2)中注册四个ECS集群。根据ALB中的侦听器规则将流量分发到每个ECS集群(使用目标组)。我使用的是动态端口。更新ECS服务后,确认ec2内部的docker容器启动正常。(success - curl localhost: dynamicport / checkpage)但是,健康检查在目标组中失败。“初始”状态仍然存在。当多个ECS集群映射到一个ALB时,动态端口是否有问题?当一个ECS集群映射到一个ALB时,没有问题。请解释一下这种情况。
发布于 2018-08-21 17:01:29
健康检查失败意味着,有两个原因,
security group rules, make sure your all containers should allow traffic from ELB
AND check conatiner is running live are not i mean once check docker image CMD command that will be problem, always make sure one service must running foreground in docker container.https://stackoverflow.com/questions/51167000
复制相似问题