1개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
1
To achieve what your looking for is to add 2 targets in one target group on your listener and then disable cross zone load balancing.
When cross-zone load balancing is off, each load balancer node distributes traffic across only the registered targets in its Availability Zone.
I might misunderstand the Target Group definition. I thought it was AZ-related but not. It seems a Target Group is just a virtual container including the targets from different AZs. Regarding the NLB, cross-zone load balancing is off by default, so the traffic is always routed to the targets in the same AZ.
Is this a correct understanding?
You are correct with your understanding. A target group isn’t specific per AZ and multi AZ is disabled by default on a network load balancer.