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 réponse
1
Réponse acceptée

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
EXPERT
répondu il y a 10 mois
profile picture
EXPERT
vérifié il y a 10 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions