Elastic Load Balancer
An Elastic Load Balancer (ELB) automatically distributes incoming application traffic across multiple targets, such as Amazon EC2 instances, containers, and IP addresses, in one or more Availability Zones. This ensures the smooth flow of network traffic and provides a scalable system for your applications. For more detailed information, please visit the official AWS Elastic Load Balancer documentation.
Terrafrom Mappings:
aws_lb.arn
aws_lb.id
Supported Methodsβ
GET
: Get an ELB by nameLIST
: List all ELBsSEARCH
: Search for ELBs by ARN
Possible Linksβ
elbv2-target-group
β
The Elastic Load Balancer is related to the elbv2-target-group
as it distributes incoming traffic to the registered targets within a target group. Each target group routes requests to one or more registered targets, such as EC2 instances, using the protocol and port number specified in your listener rule.
elbv2-listener
β
The ELB uses elbv2-listener
to check for connection requests from clients. The listener is configured with a protocol and port for connections from clients to the load balancer. The listener then forwards requests to one or more target groups based on the rules configured.
dns
β
The ELB is assigned a Domain Name System (DNS) name, which clients can use to send requests to the load balancer. The DNS service resolves the DNS name to the IP address of the load balancer.
route53-hosted-zone
β
Integrating an ELB with a route53-hosted-zone
allows for mapping domain names to the load balancerβs DNS, enabling seamless access to applications hosted behind the ELB via user-friendly domain names.
ec2-vpc
β
An ELB is deployed within an ec2-vpc
, which provides the networking environment necessary for the communication between the load balancer and the registered targets. The ELB must be linked to a VPC to function.
ec2-subnet
β
Within a VPC, the ELB is associated with ec2-subnets
across different Availability Zones. This configuration ensures redundancy and fault tolerance, as traffic is distributed amongst targets in multiple subnets.
ec2-address
β
Elastic Load Balancer can be related to an ec2-address
when you use an Elastic IP address to assign a static IP address to your load balancer for IPv4.
ip
β
Each Elastic Load Balancer is assigned a set of ip
addresses. These IP addresses can be used by clients to connect to the service. The IP addresses help in the routing of incoming traffic to the load balancer.
ec2-security-group
β
Security groups for an ELB control the traffic allowed to reach the load balancer. The ec2-security-group
associated with the ELB defines the protocols and ports for incoming connections, ensuring secure access control.