问题原文
原帖链接 · Some Linux Nerd · CC BY-SA 4.0
I have a classic load balancer that has public ip addresses. Do the ec2 instances that it routes traffic to need public ip addresses as well, or will it successfully redirect the traffic to a private ip address? They're all located in different subnets in the same VPC.
The Classic Load Balancer allowed me to add the instances with only private ip addresses without any sort of complaints or errors.
已采纳解答
原帖链接 · Tim · CC BY-SA 4.0
Your internet facing load balancers need public IP addresses. Your EC2 instances do not require public IP addresses, the ELB can load balance to private IPs. Private IPs sometimes make the traffic a little cheaper than public IPs, but not 100% sure in this situation.
You seem to have already done this, so I'm curious why you didn't just try it and see what happens.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
