import static com.google.common.base.Preconditions.checkNotNull;
A load balancer is represented by a DNS name and a set of ports. The load
balancer is the destination to which all requests intended for your
application should be directed. Each load balancer can distribute requests to
multiple EC2 instances. Load Balancers can span multiple Availability Zones
within an EC2 region, but they cannot span multiple regions.
Elastic Load Balancing automatically generates a DNS name for each load
balancer. You can map any other domain name (such as www.example.com) to the
automatically generated DNS name using CNAME. Or you can use an Amazon Route
53 alias for the load balancer's DNS name. Amazon Route 53 provides secure
and reliable routing to the infrastructure that uses AWS products, such as
Amazon EC2, Amazon Simple Storage Service (Amazon S3), or Elastic Load
Balancing. For more information on using Amazon Route 53 for your load
balancer, see Using Domain Names with Elastic Load Balancing. For information
about CNAME records, see the CNAME Record Wikipedia article.
- Adrian Cole
- See also:
protected abstract T self();
The name associated with the LoadBalancer. The name must be unique within
your set of LoadBalancers.
Provides the date and time the LoadBalancer was created.
Specifies the external DNS name associated with the LoadBalancer.
Specifies information regarding the various health probes conducted on
Provides a list of EC2 instance IDs for the LoadBalancer.
Provides a list of listeners for the LoadBalancer.
Specifies a list of Availability Zones.
Type of the loadbalancer; This option is only available for LoadBalancers
attached to an Amazon VPC.
The security group that you can use as part of your inbound rules for
your LoadBalancer's back-end Amazon EC2 application instances. To only
allow traffic from LoadBalancers, add a security group rule to your back
end instance that specifies this source security group as the inbound
Provides the ID of the VPC attached to the LoadBalancer.
The security groups the LoadBalancer is a member of (VPC only).
Provides a list of VPC subnet IDs for the LoadBalancer.
Provides the name of the Amazon Route 53 hosted zone that is associated with the LoadBalancer
Provides the ID of the Amazon Route 53 hosted zone name that is associated with the LoadBalancer.