简体   繁体   中英

Deploy an AWS Application Load Balancer(ALB) in Front of AWS EC2 with MySQL (3306)

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

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 .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM