1 Antwort
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
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.
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor einem Jahr
- AWS OFFICIALAktualisiert vor 4 Monaten
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor einem Jahr
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.