Q: What’s the difference between “an ALB configured with pass-through traffic without TLS offload” vs “a NLB configured to pass-through traffic without TLS offload” ?

0

I know ALB can be configured to just pass-through the packet without TLS offloading. In that case, because payload is encrypted, then ALB only get limited access to the payload to do any dynamic routing (content based sticky session, etc).

My question is, in this case, is there any difference if I use a NLB without TLS offloading? Does ALB without TLS Offloading functionally the same as NLB without TLS Offloading?

AWS
Rachel
preguntada hace 3 años1008 visualizaciones
1 Respuesta
1
Respuesta aceptada

NLB works at the network layer (Layer 4 in the OSI model). Ignoring the ability to perform TLS offload (which is what you're asking) it "looks" different at the network level to the client than using ALB. ALB works at the application layer (Layer 7).

From the client to the back-end target, when configured for pass-through (ALB) and not offloading TLS (NLB) it they both look like this:

Client ---(A)---> Load Balancer ---(B)---> Target

With NLB:

  • In (A) the source IP is the client; the destination IP is the load balancer
  • In (B) the source IP is the client (there are exceptions but in most cases); the destination IP is the target instance - it is the same TCP session

NLB is doing source (client) IP preservation.

With ALB:

  • In (A) the source IP is the client; the destination IP is the load balancer
  • In (B) the source IP is the load balancer the destination IP is the target instance - and it is a different TCP session (port numbers, sequence numbers)
profile pictureAWS
EXPERTO
respondido hace 3 años
profile picture
EXPERTO
revisado hace 6 meses

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