1 Antwort
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
-1
One reason why your traffic was not working might be because you had cross-zone load balancing disabled and the database was not in the same AZ as the NLB. NLB forwards traffic only within the same AZ where the endpoint is, if the cross-zone option is disabled. Thus, it might seem that connection is established as it goes to NLB but the NLB can't connect to backend resources.
The amount of IP addresses you get back with dig-command depends on the amount of subnets where the NLB is deployed into. Cross-zone loadbalancing option doesn't affect this.
beantwortet vor einem Jahr
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor 3 Jahren
- Wie stelle ich externen Zugriff auf mehrere Kubernetes-Services in meinem Amazon EKS-Cluster bereit?AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor 3 Jahren
Hi, thanks for your comment. I realize how cross-zone load balancing works and agree with what you said however I didn't have it turned off right away. If you read my question, the exact same setup was used in both environments with cross-zone load balancing turned on and in spite of that I observed a different behavior which I can't explain.