Skip to main content

Lb



Resource Icon

Resource Overview

Elastic Load Balancing automatically distributes incoming application traffic across multiple targets, such as EC2 instances. It also monitors the health of registered targets and routes traffic only to targets that are in good health. Elastic Load Balancing supports three types of load balancers: Application Load Balancer, Network Load Balancer, and Classic Load Balancer.

Associated Resources

Parent Resources

Connected Resources

Resource Setting Values

  • load_balancer_type: The type of load balancer to create - application, network, gateway

  • internal: Set whether to deploy ELB as Internet facing or Internal - true, false

  • included_vpc_name: Name of the VPC in which to create the target group

  • linked_subnet_names: A list of subnet names to attach to the LB

  • security_group_names: A list of security group names to assign to the LB. Only valid for Load Balancers of type application

  • drop_invalid_header: Set whether HTTP headers with header fields that are not valid are removed by the load balancer (true) or routed to targets (false) - true, false

  • target_group: Name of Target Group, A maximum of 32 alphanumeric characters including hyphens(-) are allowed, but the name must not begin or end with a hyphen

    • protocol: Protocol to use for routing traffic to the targets - HTTP, HTTPS, TCP, TCP_UDP, TLS, UDP
    • port: Port on which targets receive traffic
    • instance_names: List of the target Instance names
  • listener: Name of ELB Listener

    • protocol: Protocol to use for routing traffic to the targets - HTTP, HTTPS, TCP, TCP_UDP, TLS, UDP
    • port: Port on which targets receive traffic
    • default_action_type: Type of routing action - forward, redirect, fixed-response
    • target_group_name: Name of the Target Group to which to route traffic

Reference Materials