Reputation: 21
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:-
Is there any other reason why this is happening? If yes, then how to fix it
Upvotes: 0
Views: 814
Reputation: 238727
Is there any other reason why this is happening? If yes, then how to fix it
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.
Upvotes: 1