Postgres on ECS Behind an ALB

1

I want to create an postgres instance on ecs for test purpose. Could I access the postgres by ALB.

1 Respuesta
1
Respuesta aceptada

Hi,

No, unfortunately not, since PostgreSQL uses a message-based protocol for communication supported over TCP/IP protocol, and the ALB it is a Layer 7 load balancer type, and that means that it only supports communication HTTP, HTTPS and gRPC protocols.

Thus, an NLB would be a most appropriate option, as it is a Layer 4 load balancer type, and supports TCP, UDP and TLS protocols.

profile picture
EXPERTO
respondido hace 10 meses
profile picture
EXPERTO
revisado hace 10 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