How does it work differently per target group?

0

Hello? Experts

As I know, NLB has two different target group as below;

instance The targets are specified by instance ID.

ip The targets are specified by IP address.

Q1) Does backend instances will establish connection with client ip address when target group is instance?

Q2) Does backed instances will establish connection with NLB private ip address when target group is ip?

Q3) If Q1 & Q2 are right, why it connects differently base on target group?

preguntada hace 5 años744 visualizaciones
1 Respuesta
0
Respuesta aceptada

Q1: If you specify targets using an instance ID, the source IP addresses of the clients are preserved and provided to your applications. Q2) If you specify targets by IP address, the source IP addresses are the private IP addresses of the NLB nodes. If you need the IP addresses of the clients, enable Proxy Protocol and get the client IP addresses from the Proxy Protocol header. Q3) different target groups for different types of requests

AWS
EXPERTO
respondido hace 5 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas