Introduction

Elastic Load Balancing (ELB) distributes incoming application traffic across multiple targets, such as Amazon EC2 instances, containers, IP addresses, and Lambda functions. It helps improve application availability and fault tolerance by distributing traffic across targets in one or more Availability Zones.

Elastic Load Balancing provides the following types of load balancers:

Elastic Load Balancer

An Elastic Load Balancer distributes incoming application traffic across multiple Amazon EC2 instances in one or more Availability Zones. It monitors the health of registered instances and routes traffic only to healthy instances, helping improve application availability and fault tolerance.

Application Load Balancer

An Application Load Balancer operates at Layer 7 (Application layer) of the Open Systems Interconnection (OSI) model. When it receives a request, it evaluates listener rules in priority order to determine the appropriate action and routes the request to a target in the associated target group.

Network Load Balancer

A Network Load Balancer operates at Layer 4 (Transport layer) of the OSI model. It routes connections to targets, such as Amazon EC2 instances, microservices, containers, and IP addresses within an Amazon Virtual Private Cloud (Amazon VPC), based on IP protocol data.

Gateway Load Balancer

A Gateway Load Balancer operates at Layer 3 (Network layer) of the OSI model. It enables you to deploy, scale, and manage virtual network appliances, such as firewalls, intrusion detection and prevention systems, and deep packet inspection systems.

Gateway Load Balancer combines a transparent network gateway with load-balancing capabilities. It provides a single entry and exit point for network traffic while distributing traffic across virtual appliances and scaling them based on demand.

Setup

To set up the AWS integration and discover the AWS service, go to AWS Integration Discovery Profile and select Load balancers.

Event support

CloudTrail event support

  • Supported (CreateLoadBalancer, DeleteLoadBalancer)
  • Configurable in OpsRamp AWS Integration Discovery Profile.

CloudWatch alarm support

  • Supported
  • Configurable in OpsRamp AWS Integration Discovery Profile.

Supported metrics

Classic metrics

Metric NameAWS MetricMetric Display NameUnitAggregation TypeDescription
aws_elb_BackendConnectionErrorsBackendConnectionErrorsBackend Connection ErrorsCountSumThe number of connections that were not successfully established between the load balancer and the registered instances
aws_elb_DesyncMitigationMode_NonCompliant_Request_CountDesyncMitigationMode_NonCompliant_Request_CountDesync Mitigation Mode Non Compliant Request CountCountSumThe number of requests that do not comply with RFC 7230
aws_elb_HealthyHostCountHealthyHostCountHealthy Host CountCountAverageThe number of healthy instances registered with your load balancer
aws_elb_HTTPCode_Backend_2XXHTTPCode_Backend_2XXHTTP Code Backend 2XXCountSumThe number of HTTP 2XX response code generated by registered instances
aws_elb_HTTPCode_Backend_3XXHTTPCode_Backend_3XXHTTP Code Backend 3XXCountSumThe number of HTTP 3XX response code generated by registered instances
aws_elb_HTTPCode_Backend_4XXHTTPCode_Backend_4XXHTTP Code Backend 4XXCountSumThe number of HTTP 4XX response code generated by registered instances
aws_elb_HTTPCode_Backend_5XXHTTPCode_Backend_5XXHTTP Code Backend 5XXCountSumThe number of HTTP 5XX response code generated by registered instances
aws_elb_HTTPCode_ELB_4XXHTTPCode_ELB_4XXHTTP Code ELB 4XXCountSumThe number of HTTP 4XX client error codes generated by the load balancer
aws_elb_HTTPCode_ELB_5XXHTTPCode_ELB_5XXHTTP Code ELB 5XXCountSumThe number of HTTP 5XX server error codes generated by the load balancer
aws_elb_LatencyLatencyLatencySecondsAverageThe total time elapsed from the time the load balancer sent the request to a registered instance
aws_elb_RequestCountRequestCountRequest CountCountSumThe number of requests completed or connections made
aws_elb_SpilloverCountSpilloverCountSpillover CountCountSumThe total number of requests that were rejected because the surge queue is full
aws_elb_SurgeQueueLengthSurgeQueueLengthSurge Queue LengthCountMaximumThe total number of requests that are pending routing
aws_elb_UnHealthyHostCountUnHealthyHostCountUnHealthy Host CountCountAverageThe number of unhealthy instances registered with your load balancer

Application metrics

Metric NameAWS MetricMetric Display NameUnitAggregation TypeDescription
aws_applicationelb_ActiveConnectionCountActiveConnectionCountActive Connection CountCountSumThe total number of concurrent TCP connections active from clients to the load balancer and from the load balancer to targets
aws_applicationelb_ClientTLSNegotiationErrorCountClientTLSNegotiationErrorCountClient TLS Negotiation Error CountCountSumThe number of TLS connections initiated by the client that did not establish a session with the load balancer
aws_applicationelb_ConsumedLCUsConsumedLCUsConsumed LCUsCountSumThe number of load balancer capacity units (LCU) used by your load balancer
aws_applicationelb_DroppedInvalidHeaderRequestCountDroppedInvalidHeaderRequestCountDropped Invalid Header Request CountCountSumThe number of requests where the load balancer removed HTTP headers with header fields that are not valid
aws_applicationelb_ELBAuthErrorELBAuthErrorELB Auth ErrorCountSumThe number of user authentications that could not be completed
aws_applicationelb_ELBAuthFailureELBAuthFailureELB Auth FailureCountSumThe number of user authentications that could not be completed because the IdP denied access
aws_applicationelb_ELBAuthLatencyELBAuthLatencyELB Auth LatencyMillisecondsAverageThe time elapsed to query the IdP for the ID token and user info
aws_applicationelb_ELBAuthRefreshTokenSuccessELBAuthRefreshTokenSuccessELB Auth Refresh Token SuccessCountSumThe number of times the load balancer successfully refreshed user claims using a refresh token
aws_applicationelb_ELBAuthSuccessELBAuthSuccessELB Auth SuccessCountSumThe number of authenticate actions that were successful
aws_applicationelb_ELBAuthUserClaimsSizeExceededELBAuthUserClaimsSizeExceededELB Auth User Claims Size ExceededCountSumThe number of times that a configured IdP returned user claims that exceeded 11K bytes
aws_applicationelb_ForwardedInvalidHeaderRequestCountForwardedInvalidHeaderRequestCountForwarded Invalid Header Request CountCountSumThe number of requests routed by the load balancer that had HTTP headers with header fields that are not valid
aws_applicationelb_HTTPCode_ELB_3XX_CountHTTPCode_ELB_3XX_CountHTTP Code ELB 3XX CountCountSumThe number of HTTP 3XX redirection codes that originate from the load balancer
aws_applicationelb_HTTPCode_ELB_4XX_CountHTTPCode_ELB_4XX_CountHTTP Code ELB 4XX CountCountSumThe number of HTTP 4XX client error codes that originate from the load balancer
aws_applicationelb_HTTPCode_ELB_500_CountHTTPCode_ELB_500_CountHTTP Code ELB 500 CountCountSumThe number of HTTP 500 error codes that originate from the load balancer
aws_applicationelb_HTTPCode_ELB_502_CountHTTPCode_ELB_502_CountHTTP Code ELB 502 CountCountSumThe number of HTTP 502 error codes that originate from the load balancer
aws_applicationelb_HTTPCode_ELB_503_CountHTTPCode_ELB_503_CountHTTP Code ELB 503 CountCountSumThe number of HTTP 503 error codes that originate from the load balancer
aws_applicationelb_HTTPCode_ELB_504_CountHTTPCode_ELB_504_CountHTTP Code ELB 504 CountCountSumThe number of HTTP 504 error codes that originate from the load balancer
aws_applicationelb_HTTPCode_ELB_5XX_CountHTTPCode_ELB_5XX_CountHTTP Code ELB 5XX CountCountSumThe number of HTTP 5XX server error codes that originate from the load balancer
aws_applicationelb_HTTPCode_Target_2XX_CountHTTPCode_Target_2XX_CountHTTP Code Target 2XX CountCountSumThe number of HTTP 2XX response codes generated by the targets
aws_applicationelb_HTTPCode_Target_3XX_CountHTTPCode_Target_3XX_CountHTTP Code Target 3XX CountCountSumThe number of HTTP 3XX response codes generated by the targets
aws_applicationelb_HTTPCode_Target_4XX_CountHTTPCode_Target_4XX_CountHTTP Code Target 4XX CountCountSumThe number of HTTP 4XX response codes generated by the targets
aws_applicationelb_HTTPCode_Target_5XX_CountHTTPCode_Target_5XX_CountHTTP Code Target 5XX CountCountSumThe number of HTTP 5XX response codes generated by the targets
aws_applicationelb_HTTP_Fixed_Response_CountHTTP_Fixed_Response_CountHTTP Fixed Response CountCountSumThe number of fixed-response actions that were successful
aws_applicationelb_HTTP_Redirect_CountHTTP_Redirect_CountHTTP Redirect CountCountSumThe number of redirect actions that were successful
aws_applicationelb_HTTP_Redirect_Url_Limit_Exceeded_CountHTTP_Redirect_Url_Limit_Exceeded_CountHTTP Redirect Url Limit Exceeded CountCountSumThe number of redirect actions that couldn't be completed because the URL in the response location header is larger than 8K
aws_applicationelb_IPv6ProcessedBytesIPv6ProcessedBytesIPv6 Processed BytesBytesSumThe total number of bytes processed by the load balancer over IPv6
aws_applicationelb_IPv6RequestCountIPv6RequestCountIPv6 Request CountCountSumThe number of IPv6 requests received by the load balancer
aws_applicationelb_LambdaTargetProcessedBytesLambdaTargetProcessedBytesLambda Target Processed BytesBytesSumThe total number of bytes processed by the load balancer for requests to and responses from a Lambda function
aws_applicationelb_NewConnectionCountNewConnectionCountNew Connection CountCountSumThe total number of new TCP connections established from clients to the load balancer and from the load balancer to targets
aws_applicationelb_NonStickyRequestCountNonStickyRequestCountNon Sticky Request CountCountSumThe number of requests where the load balancer chose a new target because it couldn't use an existing sticky session
aws_applicationelb_ProcessedBytesProcessedBytesProcessed BytesBytesSumThe total number of bytes processed by the load balancer over IPv4 and IPv6
aws_applicationelb_RejectedConnectionCountRejectedConnectionCountRejected Connection CountCountSumThe number of connections that were rejected because the load balancer had reached its maximum number of connections
aws_applicationelb_RequestCountRequestCountRequest CountCountSumThe number of requests processed over IPv4 and IPv6
aws_applicationelb_RuleEvaluationsRuleEvaluationsRule EvaluationsCountSumThe number of rules evaluated by the load balancer while processing requests
aws_applicationelb_TargetConnectionErrorCountTargetConnectionErrorCountTarget Connection Error CountCountSumThe number of connections that were not successfully established between the load balancer and target
aws_applicationelb_TargetResponseTimeTargetResponseTimeTarget Response TimeSecondsAverageThe time elapsed after the request leaves the load balancer until the target starts to send the response headers
aws_applicationelb_TargetTLSNegotiationErrorCountTargetTLSNegotiationErrorCountTarget TLS Negotiation Error CountCountSumThe number of TLS connections initiated by the load balancer that did not establish a session with the target
aws_applicationelb_DesyncMitigationMode_NonCompliant_Request_CountDesyncMitigationMode_NonCompliant_Request_CountDesync Mitigation Mode Non Compliant Request CountCountSumThe number of requests that do not comply with RFC 7230
aws_applicationelb_LowReputationPacketsDroppedLowReputationPacketsDroppedLow Reputation Packets DroppedCountSumThe number of packets from known malicious sources that were dropped
aws_applicationelb_LowReputationRequestsDeniedLowReputationRequestsDeniedLow Reputation Requests DeniedCountSumThe number of HTTP requests denied with an HTTP 403 response from known malicious sources
aws_applicationelb_PeakLCUsPeakLCUsPeak LCUsCountMaximumThe maximum number of load balancer capacity units used at a given point in time
aws_applicationelb_ReservedLCUsReservedLCUsReserved LCUsCountSumThe reserved capacity on a per-minute basis

Network metrics

Metric NameAWS MetricMetric Display NameUnitAggregation TypeDescription
aws_networkelb_ActiveFlowCountActiveFlowCountActive Flow CountCountAverageThe total number of concurrent flows (or connections) from clients to targets
aws_networkelb_ActiveFlowCount_TCPActiveFlowCount_TCPActive Flow Count TCPCountAverageThe total number of concurrent TCP flows from clients to targets
aws_networkelb_ActiveFlowCount_TLSActiveFlowCount_TLSActive Flow Count TLSCountAverageThe total number of concurrent TLS flows from clients to targets
aws_networkelb_ActiveFlowCount_UDPActiveFlowCount_UDPActive Flow Count UDPCountAverageThe total number of concurrent UDP flows from clients to targets
aws_networkelb_ClientTLSNegotiationErrorCountClientTLSNegotiationErrorCountClient TLS Negotiation Error CountCountSumThe total number of TLS handshakes that failed during negotiation between a client and a TLS listener
aws_networkelb_ConsumedLCUsConsumedLCUsConsumed LCUsCountSumThe number of load balancer capacity units (LCU) used by your load balancer
aws_networkelb_ConsumedLCUs_TCPConsumedLCUs_TCPConsumed LCUs TCPCountSumThe number of LCUs used for TCP
aws_networkelb_ConsumedLCUs_TLSConsumedLCUs_TLSConsumed LCUs TLSCountSumThe number of LCUs used for TLS
aws_networkelb_ConsumedLCUs_UDPConsumedLCUs_UDPConsumed LCUs UDPCountSumThe number of LCUs used for UDP
aws_networkelb_NewFlowCountNewFlowCountNew Flow CountCountSumThe total number of new flows established from clients to targets
aws_networkelb_NewFlowCount_TCPNewFlowCount_TCPNew Flow Count TCPCountSumThe total number of new TCP flows established from clients to targets
aws_networkelb_NewFlowCount_TLSNewFlowCount_TLSNew Flow Count TLSCountSumThe total number of new TLS flows established from clients to targets
aws_networkelb_NewFlowCount_UDPNewFlowCount_UDPNew Flow Count UDPCountSumThe total number of new UDP flows established from clients to targets
aws_networkelb_NewFlowCount_QUICNewFlowCount_QUICNew Flow Count QUICCountSumThe total number of new QUIC flows established from clients to targets
aws_networkelb_PeakBytesPerSecondPeakBytesPerSecondPeak Bytes Per SecondBytes/SecondMaximumThe highest average bytes processed per second
aws_networkelb_PeakPacketsPerSecondPeakPacketsPerSecondPeak Packets Per SecondCount/SecondMaximumThe highest average packet rate processed per second
aws_networkelb_PortAllocationErrorCountPortAllocationErrorCountPort Allocation Error CountCountSumThe total number of ephemeral port allocation errors during a client IP translation operation
aws_networkelb_ProcessedBytesProcessedBytesProcessed BytesBytesSumThe total number of bytes processed by the load balancer
aws_networkelb_ProcessedBytes_TCPProcessedBytes_TCPProcessed Bytes TCPBytesSumThe total number of bytes processed by TCP listeners
aws_networkelb_ProcessedBytes_TLSProcessedBytes_TLSProcessed Bytes TLSBytesSumThe total number of bytes processed by TLS listeners
aws_networkelb_ProcessedBytes_UDPProcessedBytes_UDPProcessed Bytes UDPBytesSumThe total number of bytes processed by UDP listeners
aws_networkelb_ProcessedBytes_QUICProcessedBytes_QUICProcessed Bytes QUICBytesSumThe total number of bytes processed by QUIC listeners
aws_networkelb_ProcessedPacketsProcessedPacketsProcessed PacketsCountSumThe total number of packets processed by the load balancer
aws_networkelb_RejectedFlowCountRejectedFlowCountRejected Flow CountCountAverageThe total number of flows rejected by the load balancer
aws_networkelb_RejectedFlowCount_TCPRejectedFlowCount_TCPRejected Flow Count TCPCountSumThe number of TCP flows rejected by the load balancer
aws_networkelb_ReservedLCUsReservedLCUsReserved LCUsCountSumThe number of LCUs reserved for your load balancer
aws_networkelb_SecurityGroupBlockedFlowCount_Inbound_ICMPSecurityGroupBlockedFlowCount_Inbound_ICMPSecurity Group Blocked Flow Count Inbound ICMPCountSumThe number of new ICMP messages rejected by inbound rules
aws_networkelb_SecurityGroupBlockedFlowCount_Inbound_TCPSecurityGroupBlockedFlowCount_Inbound_TCPSecurity Group Blocked Flow Count Inbound TCPCountSumThe number of new TCP flows rejected by inbound rules
aws_networkelb_SecurityGroupBlockedFlowCount_Inbound_UDPSecurityGroupBlockedFlowCount_Inbound_UDPSecurity Group Blocked Flow Count Inbound UDPCountSumThe number of new UDP flows rejected by inbound rules
aws_networkelb_SecurityGroupBlockedFlowCount_Outbound_ICMPSecurityGroupBlockedFlowCount_Outbound_ICMPSecurity Group Blocked Flow Count Outbound ICMPCountSumThe number of new ICMP messages rejected by outbound rules
aws_networkelb_SecurityGroupBlockedFlowCount_Outbound_TCPSecurityGroupBlockedFlowCount_Outbound_TCPSecurity Group Blocked Flow Count Outbound TCPCountSumThe number of new TCP flows rejected by outbound rules
aws_networkelb_SecurityGroupBlockedFlowCount_Outbound_UDPSecurityGroupBlockedFlowCount_Outbound_UDPSecurity Group Blocked Flow Count Outbound UDPCountSumThe number of new UDP flows rejected by outbound rules
aws_networkelb_TargetTLSNegotiationErrorCountTargetTLSNegotiationErrorCountTarget TLS Negotiation Error CountCountSumThe total number of TLS handshakes that failed during negotiation between a TLS listener and a target
aws_networkelb_TCP_Client_Reset_CountTCP_Client_Reset_CountTCP Client Reset CountCountSumThe total number of reset (RST) packets sent from a client to a target
aws_networkelb_TCP_ELB_Reset_CountTCP_ELB_Reset_CountTCP ELB Reset CountCountSumThe total number of reset (RST) packets generated by the load balancer
aws_networkelb_TCP_Target_Reset_CountTCP_Target_Reset_CountTCP Target Reset CountCountSumThe total number of reset (RST) packets sent from a target to a client
aws_networkelb_UnhealthyRoutingFlowCountUnhealthyRoutingFlowCountUnhealthy Routing Flow CountCountSumThe number of flows routed using the routing failover action
aws_networkelb_ZonalHealthStatusZonalHealthStatusZonal Health StatusCountMaximumThe number of Availability Zones that the load balancer considers healthy
aws_networkelb_QUIC_Unknown_Server_ID_Packet_Drop_CountQUIC_Unknown_Server_ID_Packet_Drop_CountQUIC Unknown Server ID Packet Drop CountCountSumThe number of UDP datagrams dropped which contain a server ID not associated with a target

Gateway metrics

Metric NameAWS MetricMetric Display NameUnitAggregation TypeDescription
aws_gwlb_ActiveFlowCountActiveFlowCountActive Flow CountCountAverageThe total number of concurrent flows (or connections) from clients to targets.
aws_gwlb_ConsumedLCUsConsumedLCUsConsumed LCUsCountSumThe number of load balancer capacity units (LCU) used by your load balancer.
aws_gwlb_HealthyHostCountHealthyHostCountHealthy Host CountCountMaximumThe number of targets that are considered healthy.
aws_gwlb_NewFlowCountNewFlowCountNew Flow CountCountSumThe total number of new flows (or connections) established from clients to targets in the time period.
aws_gwlb_PacketsDroppedCount_InvalidGeneveTunnelPacketsDroppedCount_InvalidGeneveTunnelPackets Dropped Invalid Geneve TunnelCountSumPackets dropped due to invalid GENEVE tunnel source/destination IP or incorrect destination port (6081).
aws_gwlb_PacketsDroppedCount_InvalidGwlbEndpointIdPacketsDroppedCount_InvalidGwlbEndpointIdPackets Dropped Invalid GWLB Endpoint IdCountSumPackets dropped because the appliance did not return the GwlbeEniId in the TLV.
aws_gwlb_PacketsDroppedCount_InvalidGwlbFlowCookiePacketsDroppedCount_InvalidGwlbFlowCookiePackets Dropped Invalid GWLB Flow CookieCountSumPackets dropped because the flow cookie for a given flow does not match.
aws_gwlb_PacketsDroppedCount_MissingFlowEntryPacketsDroppedCount_MissingFlowEntryPackets Dropped Missing Flow EntryCountSumPackets dropped because the flow entry for a return-path packet is missing.
aws_gwlb_PeakBytesPerSecondPeakBytesPerSecondPeak Bytes Per SecondBytes/SecondMaximumThe highest average bytes processed per second, calculated every 10 seconds.
aws_gwlb_PeakPacketsPerSecondPeakPacketsPerSecondPeak Packets Per SecondCount/SecondMaximumThe highest average packet rate (packets processed per second), calculated every 10 seconds.
aws_gwlb_ProcessedBytesProcessedBytesProcessed BytesBytesSumThe total number of bytes processed by the load balancer including traffic to and from targets.
aws_gwlb_ProcessedPacketsProcessedPacketsProcessed PacketsCountSumThe total number of packets processed by the load balancer including health check traffic.
aws_gwlb_RejectedFlowCountRejectedFlowCountRejected Flow CountCountAverageThe total number of flows (or connections) rejected by the load balancer.
aws_gwlb_RejectedFlowCount_TCPRejectedFlowCount_TCPRejected Flow Count TCPCountSumThe number of TCP flows (or connections) rejected by the load balancer.
aws_gwlb_UnHealthyHostCountUnHealthyHostCountUnHealthy Host CountCountMaximumThe number of targets that are considered unhealthy.

External reference

AWS Elastic Load Balancing