0

I know that if I use a AWS NLB in front of my EC2 with MySQL DB will work, but Im curious if will work too using an AWS ALB.

My Idea:

Internet <-> ALB <-> EC2 with MySQL

Is that possible or I need to use an NLB?

Note: I know about RDS(Read Replicas) / AuroraDB(Global), but I have that question about ALB and MySQL

1 Answers1

2

No, an Application Load Balancer only supports the HTTP and HTTPS protocols, so it will not be able to work with MySQL connections. See the comparison table of the different load balancer types here.

Mark B
  • 183,023
  • 24
  • 297
  • 295