Skip to main content

ELB Listener

An Elastic Load Balancing (ELB) Listener is a component in AWS that listens for incoming traffic on one or more ports and forwards this traffic to a designated target group based on pre-defined rules. It can handle HTTP, HTTPS, TCP, and UDP traffic and supports automatic scaling and fault tolerance features of load balancers. More details about ELB Listeners can be found in the official AWS documentation.

Terrafrom Mappings:

  • aws_alb_listener.arn
  • aws_lb_listener.arn

Supported Methods​

  • GET:
  • LIST
  • SEARCH:

elbv2-load-balancer​

The ELB Listener is directly associated with an ELB load balancer. It is configured to route the load balancer's incoming traffic to the appropriate target groups by following specified rules. Each load balancer can have multiple listeners, each listening on different ports or protocols.

elbv2-rule​

An ELB Listener uses ELB rules to determine how incoming requests should be routed to target groups. These rules contain conditions such as path-patterns or host-headers that help determine the right target group for the traffic. Each listener can have multiple associated rules, forming a priority queue.

http​

The ELB Listener interacts with the HTTP protocol when it is set up to handle HTTP or HTTPS traffic. It efficiently terminates, manages, and routes HTTP requests to backend targets, facilitating a seamless web service environment.

elbv2-target-group​

ELB Listeners forward traffic to one or more ELB target groups. A target group is a logical grouping of targets for routing requests. The listener uses rules to determine which target group the application traffic should be sent to, ensuring precise traffic routing and load balancing.