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.
相关内容
- AWS 官方已更新 3 年前
- AWS 官方已更新 3 年前
- AWS 官方已更新 7 年前
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.