负载平衡器转发到一个目标的所有流量
我有一个AWS网络负载均衡器,其中2个EC2实例注册为目标。出现的问题在于,所有负载仅转发到两个实例之一,这超过了具有负载平衡器的全部目的。
我已经检查了以下内容: -
- 这两个实例
- 实现了健康的跨区域平衡,
是否有其他原因发生?如果是,那么如何修复它
I have an AWS Network Load Balancer with 2 EC2 instances registered as targets. The problem arising in it is that all the load is forwarded to only one of the 2 instances, which beats the whole purpose of having a load balancer.
I have checked the following things:-
- Both the instances are healthy
- Cross-Zonal Load Balancing is enabled
Is there any other reason why this is happening? If yes, then how to fix it
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
。一个很可能的原因是您的NLB使用 AZS 与您的EC2实例不同。大概一个实例位于未启用NLB的AZ中。
Yes. A most likely reason is that your NLB is using different AZs than your EC2 instances. Probably one instance is located in an AZ not enabled for the NLB.