Internet-Facing Load Balancers
An Internet-facing load balancer has a publicly resolvable DNS name, so it can route requests from clients over the Internet to the EC2 instances that are registered with the load balancer.
If a load balancer is in a VPC with ClassicLink enabled, its instances can be linked EC2-Classic instances. If a load balancer is in EC2-Classic, its instances must be in EC2-Classic.
Public DNS Names for Your Load Balancer
When your load balancer is created, it receives a public DNS name that clients can use to send requests. The DNS servers resolve the DNS name of your load balancer to the public IP addresses of the load balancer nodes for your load balancer. Each load balancer node is connected to the back-end instances using private IP addresses.
Load balancers in a VPC support IPv4 addresses only. The console displays a public DNS name with the following form:
Load balancers in EC2-Classic support both IPv4 and IPv6 addresses. The console displays the following public DNS names:
The base public DNS name returns only IPv4 records. The public DNS name with the
returns only IPv6 records. The public DNS name with the
dualstack prefix returns both
IPv4 and IPv6 records. We recommend that you enable IPv6 support by using the DNS name with the
dualstack prefix to ensure that clients can access the load balancer using either IPv4 or IPv6.
Clients can connect to your load balancer in EC2-Classic using either IPv4 or IPv6. However, communication between the load balancer and its back-end instances uses only IPv4, regardless of how the client communicates with your load balancer.
Create an Internet-Facing Load Balancer
When you create a load balancer in a VPC, you can make it an internal load balancer or an Internet-facing load balancer. You create an Internet-facing load balancer in a public subnet. Load balancers in EC2-Classic are always Internet-facing load balancers.
When you create your load balancer, you configure listeners, configure health checks, and register back-end instances. You configure a listener by specifying a protocol and a port for front-end (client to load balancer) connections, and a protocol and a port for back-end (load balancer to back-end instances) connections. You can configure multiple listeners for your load balancer.
To create a basic Internet-facing load balancer, see Getting Started with Elastic Load Balancing.
To create a load balancer with an HTTPS listener, see Create an HTTPS Load Balancer.