Search code examples
amazon-web-servicesload-balancinginternal-load-balancer

What is the difference between the internal and External load balancer in AWS?


What is the difference between the internal and external load balancer?

Assume I created an internal load balancer inside a VPC. Is it possible to access the internal load balancer outside the VPC?

Consider I have two AWS accounts A and B. I created an internal load balancer in account A. Is it possible to attach the internal load balancer to Route 53 in account B?


Solution

  • An internal load balancer is assigned to a private subnet and does not have a public IP. It cannot be accessed by a client not on the VPC (even if you create a Route53 record pointing to it). If you want clients to be able to connect to your load balancer who are not on the VPC, you need to set up an internet-facing load balancer.

    An internal load balancer routes traffic to your EC2 instances in private subnets. The clients must have access to the private subnets.