Help Docs

AWS Elastic Load Balancer Monitoring Integration

Amazon's Elastic Load Balancing service automatically distributes incoming application requests across multiple targets - EC2 instances, containers and network interfaces. Site24x7's integration with AWS ELB helps you monitor key performance metrics pertaining to ELB nodes and targets for all types of Elastic Load Balancers - Network, Application and Classic.

Setup and Configuration

  • If you haven't done it already, enable Site24x7 access to your AWS resources by either creating an IAM user or a cross-account IAM Role. Learn more.
  • Then, in the Integrate AWS account page, please make sure the Elastic Load Balancer check box is selected in the Services to be discovered field. Learn more.

Policy and permissions

The following ReadOnly permissions are required to be assigned to the created IAM or cross-account Role to help discover and monitor Elastic Load Balancer nodes.

  • "elasticloadbalancing:DescribeLoadBalancers",
  • "elasticloadbalancing:DescribeTags"
  • "elasticloadbalancing:DescribeLoadBalancers",
  • "elasticloadbalancing:DescribeListeners",
  • "elasticloadbalancing:DescribeTags",
  • "elasticloadbalancing:DescribeAccountLimits",
  • "elasticloadbalancing:DescribeTargetHealth",
  • "elasticloadbalancing:DescribeTargetGroups",
  • "ec2Instance:describeVpcEndpoints", 
  • "ec2Instance:describeVpcEndpointServiceConfigurations"

Polling interval

Site24x7 polls the CloudWatch API and other service level APIs as per the poll frequency set (1 minute to a day), to collect performance metrics and metadata.

Supported performance counters

Classic Elastic Load Balancer metrics

Attribute Description Statistics Data type
Backend connection errors Measures the number of connections that were not successfully established between the load balancer and backend EC2 instances. Sum Count
Latency (HTTP listener) Measures the total time elapsed in seconds, after the request leaves the load balancer until a response header is received from the instance.
(TCP listener) Measures the time elapsed in seconds, to successfully establish a TCP connection with the instance.
Average Seconds
Healthy host count Measures the number of healthy EC2 instances registered to the classic Elastic Load Balancer node per Availability Zone. Maximum Count
UnHealthy host count Measures the number of unhealthy instances per Availability Zone for your Classic Elastic Load Balancer node. Maximum Count
Request count (HTTP listener) Measures the total number of requests that were received and routed to the registered instances.
(TCP listener) Measures the total number of connections established with the registered instance.
Sum and average Count
Spillover count Measures the total number of requests that were dropped due to the surge queue getting full. Sum Count
Surge queue length Measures the maximum number of requests that are pending submission to a registered backend instance. Maximum Count
ELB 4XX errors The number of HTTP 4XX client error response codes generated by the load balancer. Sum Count
ELB 5XX errors The number of HTTP 5XX server error response codes generated by the load balancer. Sum Count

Classic ELB configuration details

Attribute Description
ELB name The name of the Load Balancer.
Region The name of the Region where the Classic Load Balancer was created.
Availability zones The Availability Zone where the Classic Elastic Load Balancer node was created.
DNS name The DNS name for the load Balancer.
Scheme The type of load balancer in use - internal facing or external facing.
VPC-ID For load balancers that are deployed with in a VPC.
Security groups List of security groups attached to the classic load balancer within the VPC.
Creation time The time when the Classic Elastic Load Balancer node was created.
Connection timeout Idle connection time out for your ELB node.
Instances IDs of EC2 instances registered to the load balancer.
Interval Configured health check interval.
Response timeout The amount of time to wait when receiving a response from the health check.
Ping target The protocol and the port to use when connecting to the EC2 instance.

See how you can add a threshold profile for your monitored classic load balancer.

Application Elastic Load Balancer metrics

Attribute Description Statistics Datatype
Request count Measures the number of processed IPv4 and IPv6 requests where a successful response was generated by the load balancer. Sum and average Count
Active connection count Measures the total number of concurrent TCP connections from Clients to load balancer and from load balancer to targets. Sum Count
Rejected connection count Measures the number of connections that we rejected due to the Application ELB reaching its maximum connection limit. Sum Count
New connection count Measures the total number of new TCP connections established between client to load balancer and from load balancer to targets. Sum Count
Healthy host count Measures the number of healthy targets registered with the Application Elastic Load Balancer, per Availability Zone. Maximum Count
Unhealthy host count Measures the number of unhealthy targets registered with the Application ELB, per Availability Zone. Maximum Count
ELB 4XX errors The number of HTTP 4xx client error codes generated by the Application ELB. Sum Count
ELB 5XX errors The number of HTTP 5xx server error codes generated by the Application ELB. Sum Count
Target HTTP 2XX errors
Target HTTP 3XX errors
Target HTTP 4XX errors
Target HTTP 5XX errors
Measures the total number of HTTP error response codes generated by the Application Load balancer. Sum Count
Client TLS negotiation error count Measures the number of TLS connections started by the client, that did not successfully establish a session with the load balancer. Sum Count
Target TLS negotiation error count Measures the number of TLS connections started by the load balancer, that did not successfully establish a session with the target. Sum Count
Average Latency (This metric is called Target Response Time in AWS) Measures the time elapsed in seconds, once the request leaves the Application ELB until a response is received. Average Seconds
Target connection error count Measures the number of connections that could not be successfully established between the Application ELB and the target. Sum Count
Consumed LB capacity units Measures the total number of load balancer consumed units used by the Application ELB. Sum and average Count
Rule evaluations Measures the number of rules processed by the Application ELB for a give request rate, averaged over an hour. Sum Count
Request count per target Measures the average number of requests received by each target, per target group. Sum Count
Processed bytes Measures the total number of bytes processed by the Application ELB for both IPv4 and IPv6 requests. Sum Bytes
IPv6 request count Measures the total number of IPv6 requests received by the load balancer. Sum Count
IPv6 processed bytes Measures the total number of bytes processed by the load balancer for IPv6 requests. Sum Bytes
Desync mitigation mode non-compliant request count The number of requests that do not comply with RFC 7230. Sum Count
HTTP fixed response count The number of fixed-response actions that were successful. Sum Count
HTTP redirect count The number of redirect actions that were successful. Sum Count
HTTP redirect URL limit exceeded count The number of redirect actions that couldn't be completed because the URL in the response location header is larger than 8K. Sum Count
ELB 3XX count The number of HTTP 3XX redirection codes that originate from the load balancer. Sum Count
ELB 500 count The number of HTTP 500 error codes that originate from the load balancer. Sum Count
ELB 502 count The number of HTTP 502 error codes that originate from the load balancer. Sum Count
ELB 503 count The number of HTTP 503 error codes that originate from the load balancer. Sum Count
ELB 504 count The number of HTTP 504 error codes that originate from the load balancer. Sum Count

Application Elastic Load Balancer configuration details

Attribute Description
ELB name The name of the Application load balancer in use.
DNS name The DNS name for the application load balancer.
Region Shows the name of the Region where the Application load balancer was created.
ARN Specifies the unique Amazon Resource name assigned to the application load balancer.
Availability zones Shows the list of Availability zones where application requests get routed.
Vpc ID The ID of the Virtual Private Cloud, where the Application ELB was launched.
ELB type Shows the type of Load balancer in use.
Creation time Shows the time when the Application load balancer node was created.
Security groups Lists the security groups attached to the Application type ELB.
Scheme Specifies the type of load balancer in use - internet facing and internal.

See how you can add a threshold profile for your monitored application load balancer.

Network load balancer metrics

Attribute Description Statistics Data type
Active flow count Measures the total number of TCP flows or connections between clients and targets. Sum Count
Consumed LCUs Measures the number of load balancer capacity units used by the network load balancer. Sum and Average Units
healthy host count Measures the number of healthy targets registered to the network load balancer. Maximum Count
processed bytes Measures the total number of bytes processed by the load balancer. Sum Bytes
New flow count Measures the total number of new TCP flows or connections established between clients and targets. Sum Count
TCP client reset count Measures the total number of reset packets sent from the target to the client. Sum Count
TCP ELB reset count Measures the total number of packets generated by the load balancer. Sum Count
TCP target reset count Measures the total number of reset packets sent from target to client. Sum Count
Unhealthy host count Measures the number of unhealthy targets attached to the network balancer. Maximum Count

Network Load Balancer configuration details

Attribute Description
ELB name The name of the network load balancer.
Scheme Shows whether the network load balancer is internal facing or internet facing.
Region Shows the region where the network load balancer is deployed.
ARN Shows the unique Amazon Resource Name assigned to the network load balancer.
Availability zones Shows the Availability zones and specified subnets for the network load balancer.
ELB type Shows the type of load balancer in use - Network.
DNS name Shows the DNS name of the network load balancer.
Creation time shows the time when the network load balancer was created.
VPC ID lists the ID of the Virtual Private Cloud where the network load balancer is deployed.
listeners Lists the listener configuration(port and protocol) for the network load balancer.

See how you can add a threshold profile for your monitored network load balancer.

Gateway Load Balancer metrics

Attribute Description Statistics Data type
Active flow count The total number of concurrent flows (or connections) from clients to targets. Average Count
Connected endpoints The total number of endpoints connected to Gateway Load Balancer. Sum Count
Consumed LCUs The number of load balancer capacity units (LCU) used by your load balancer. Sum and average Unit
New flow count The total number of new flows (or connections) established from clients to targets in the time period. Sum Count 
Processed bytes The total number of bytes processed by the load balancer; this count includes traffic to and from targets but not health check traffic. Sum MB
Unhealthy host count  The number of targets that are considered unhealthy.  Sum  Count 
Healthy host count  The number of targets that are considered healthy. Sum  Count 

Availability Zone metrics

Attribute Description Statistics Data type
Active flow count The total number of concurrent flows (or connections) from clients to targets per Availability Zone. Average Count
Processed bytes  The total number of bytes processed by the load balancer per Availability Zone; this count includes traffic to and from targets but not health check traffic. Sum  MB 
New flow count  The total number of new flows (or connections) established from clients to targets in the time period per Availability Zone. Sum  Count 

Target Group metrics

Attribute Description Statistics Data type
Healthy host count Measures the number of healthy targets registered to Gateway Load Balancer. Sum Count
Unhealthy host count Measures the number of unhealthy targets attached to Gateway Load  Balancer.  Sum Count

Gateway Load Balancer configuration details

Attribute Description
ELB name The name of the load balancer.
Region The name of the region where the Gateway Load Balancer instance was created.
ELB type Type of the load balancer.
Creation time The time when the Gateway Load Balancer node was created.
Availability zones The Availability Zone where the Gateway Load Balancer node was created.
VPC ID The ID for the load balancers that are deployed within Amazon VPC.
Deletion protection enabled Displays if deletion protection is enabled or disabled for Gateway Load Balancer.
Load balancing cross zone enabled Displays if a cross zone is enabled or disabled for Gateway Load Balancer.

Create a threshold profile for your Gateway Load Balancer monitor.

Target Groups

A Target Group is a collection of targets (such as EC2 instances, IP addresses, or Lambda functions) that an Application Load Balancer, Network Load Balancer, or Gateway Load Balancer routes traffic to.

In the Target Groups tab, you can view the Target Groups attached to your AWS ELB,  configuration details of individual Target Groups, and CloudWatch metrics. Additionally, you can also view the number of Healthy Hosts and Unhealthy Hosts in each Target Group. 

Note
  • This tab is available for Application Load Balancer, Network Load Balancer, and Gateway Load Balancer monitors (except the Classic Load Balancer monitor). 
  • You can assign your Target Group with the custom tag key monitor_site24x7 and set its value to false in the AWS console. Any Target Group with this tag and value set to false will be ignored during the discovery of Target Groups. To revert this behavior, remove the tag from the resource, and the changes will be updated in the next poll.

In the below image, you can view the number of Healthy Hosts and Unhealthy Hosts for a Target Group in an Application Load Balance monitor.

Click the Healthy Hosts number to view the instances and their ID, contributing to the Healthy Hosts. Similarly, you can also view the Unhealthy Hosts details.

Monitored resources

View a list of monitored EC2 Instances associated with your elastic load balancer. Click on an individual listing to see performance and resource usage stats associated with that resource. You can also set thresholds and be notified when any of these services fail by clicking the pencil icon under Action.

Forecast

Estimate future values of the following Application Elastic Load Balancer performance metrics and make informed decisions about adding capacity or scaling your AWS infrastructure.

  • Request Count
  • Rejected Connection Count
  • Consumed LB Capacity Units
  • Target Request Count

Similarly, you can also view the forecast for the following metrics of Classic Elastic Load Balancer:

  • Spillover Count
  • Surge Queue Length

Similarly, you can also view the forecast for the following metrics of Network and Gateway Elastic Load Balancer:

  • Consumed LCUs

Was this document helpful?

Would you like to help us improve our documents? Tell us what you think we could do better.


We're sorry to hear that you're not satisfied with the document. We'd love to learn what we could do to improve the experience.


Thanks for taking the time to share your feedback. We'll use your feedback to improve our online help resources.

Shortlink has been copied!