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 Antwort
1
Akzeptierte Antwort

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
EXPERTE
beantwortet vor 10 Monaten
profile picture
EXPERTE
überprüft vor 10 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen