Google Cloud Load Balancer Test

Google Cloud Load Balancer is a fully managed, highly scalable service built on reliable, high-performing technologies such as Maglev, Andromeda, Google Front Ends, and Envoy. The load balancer distributes incoming network traffic across multiple instances of applications and educes the risk that applications experience performance issues, thus ensuring reliability, high availability, and optimal application performance. The load balancers play a vital role in Google Cloud environments by efficiently handling both internal and external traffic, balancing workloads, and enabling seamless scaling of services. If the load balancers are not monitored at regular intervals, administrators may face issues such as slow application response times, backend overload, network congestion, unexpected traffic spikes, potential service disruptions, and security vulnerabilities which can adversely impact end-user experience and business operations. This is why, to ensure smooth traffic handling even under fluctuating workloads, administrators should continuously monitor the load balancers configured within the Google Cloud project. This can be easily achieved using the Google Cloud Load Balancer test.

This test continuously monitors the load balancer and helps administrators understand how traffic flows both internally and externally, detect backend failures, optimize performance, and plan capacity if the traffic flow requires more bandwidth. The test reveals latency encountered while processing the client requests to show if clients are experiencing delays. The test also tracks traffic volumes to prevent server overload and monitors connection patterns to detect potential network or configuration issues early. By keeping a close watch on these metrics, administrators can ensure that applications hosted in the Google Cloud environment remain responsive, secure, and resilient, even under heavy or unpredictable workloads.

Target of the test : Google Cloud Load Balancer

Agent deploying the test : A remote agent

Outputs of the test : One set of results for each Load Balancing service instance within the Google Project being monitored

Configurable parameters for the test
Parameters Description

Test Period

How often should the test be executed.

Host

The host for which the test is to be configured.

Project ID

Specify the unique and permanent identifier (ID) of the project in which the Cloud Armor has been enabled. To know how to obtain the project ID, refer to How to Monitor Google Cloud Using eG Enterprise? .

Load Balancer Name

This parameter specifies the name of the load balancer to be monitored, ensuring that metrics are collected from the correct load balancer when multiple load balancers exist in a Google Cloud project. When the Google Cloud Load Balancer component is manually added to eG Enterprise, administrators should explicitly specify the load balancer name to enable this test to collect metrics from the target load balancer . On the other hand, if the Cloud Armor is auto-discovered through a Google Cloud component, the Cloud Load Balancer name will be automatically detected and populated in this text box.

Note:

It is recommended not to modify the name of the Cloud Load Balancer that is auto-populated when the target component is auto-discovered.

Private Keyfile Name

To connect to the Google Cloud Project in which the services are running, the eG agent requires a private key of a service account with Compute Viewer, Monitoring Viewer, and Cloud Asset Viewer roles in the target project. If a service account pre-exists in the project, then you can download the private key as a JSON file. Save this JSON file in the <eG_Install_Dir>/agent/lib folder and provide the name of that file against this parameter. However, if no such service account pre-exists, you will have to create one for monitoring the project. To know how to create a service account and download its private key, refer to How does eG Enterprise Monitor Google Cloud?.

Proxy Host and Proxy Port

In some environments, all communication with the Google Cloud be routed through a proxy server. In such environments, you should make sure that the eG agent connects to the cloud via the proxy server and collects metrics. To enable metrics collection via a proxy, specify the IP address of the proxy server and the port at which the server listens against the Proxy Host and Proxy Port parameters. By default, these parameters are set to none, indicating that the eG agent is not configured to communicate via a proxy, by default.

Proxy Username, Password and Confirm Password

If the proxy server requires authentication, then, specify valid user credentials in the Proxy Username and Proxy Password parameters, respectively. Then, confirm the password by retyping it in the Confirm Password text box.

Detailed Diagnosis

To make diagnosis more efficient and accurate, the eG Enterprise embeds an optional detailed diagnostic capability. With this capability, the eG agents can be configured to run detailed, more elaborate tests as and when specific problems are detected. To enable the detailed diagnosis capability of this test for a particular server, choose the On option. To disable the capability, click on the Off option.

The option to selectively enable/disable the detailed diagnosis capability will be available only if the following conditions are fulfilled:

  • The eG manager license should allow the detailed diagnosis capability
  • Both the normal and abnormal frequencies configured for the detailed diagnosis measures should not be 0.
Measurements made by the test
Measurement Description Measurement Unit Interpretation

Load balancer type

Indicates the type of this Google Cloud Load Balancer.

 

The table below lists the values that this measure can report, and the measure values they indicate:

Measure Values Numeric Values
Application 0
Network 1

Note:

By default, this measure can report the Measure values mentioned above while indicating the type of this load balancer. However, the graph of this measure is indicated using the numeric equivalents.

Access type

Indicates whether this load balancer is publicly accessible (external) or restricted to internal network traffic.

 

The table below lists the values that this measure can report, and the measure values they indicate:

Measure Values Numeric Values
Internal 0
External 1

Note:

By default, this measure can report the Measure values mentioned above while indicating the access type of this load balancer. However, the graph of this measure is indicated using the numeric equivalents.

Total frontends

Indicates the total number of frontend endpoints configured in this load balancer to receive client traffic.

Number

 

Total backends

Indicates the total number of backend services or instances receiving traffic from this load balancer.

Number

 

Is security policy enabled?

Indicates whether a security policy is enabled for protecting this load balancer.

 

The table below lists the values that this measure can report, and the measure values they indicate:

Measure Values Numeric Values
No 0
Yes 1

Note:

By default, this measure can report the Measure values mentioned above while indicating the whether the security policy is enabled for this load balancer or not. However, the graph of this measure is indicated using the numeric equivalents.

Backend latency

Indicates the time taken by the backend systems to process requests received from this load balancer.

Seconds

Ideally, a low value is desired for this measure. A high value for this measure indicates slow responses and degraded user experience.

Backend request data

Indicates the volume of data sent to the backend services through this load balancer.

KB

 

Total backend requests

Indicates the total number of requests forwarded to backends.

Number

 

Backend response data

Indicates the volume of data returned by backend services.

KB

 

Frontend RTT

Indicates the round-trip time taken for processing the requests between the client and this load balancer.

Seconds

A low value is preferred for this measure. A high value may indicate network latency issues.

Request data

Indicates the volume of data received from clients.

KB

A high value may indicate heavy traffic and potential frontend scaling requirements.

Request count

Indicates the number of incoming client requests.

Number

 

Response data

Indicates the volume of response data sent back to clients during request processing.

KB

 

Total latencies

Indicates the total latency encountered by this load balancer during processing the requests received from the clients.

Seconds

A low value is preferred for this measure.

Internal backend latencies

Indicates time taken for this load balancer to communicate with backend services.

Seconds

A high value for this measure indicates slow backend responses and potential bottleneck affecting user request processing.

Internal request data

Indicates the amount of request data sent to backends through this load balancer.

KB

 

Total internal requests

Indicates the total number of requests sent to backends through this load balancer.

Number

 

Internal response data

Indicates the amount of data received from backends through this load balancer.

KB

 

Total internal latencies

Indicates the end-to-end time taken by this load balancer to receive requests and send responses.

Seconds

A high value for this measure indicates delays in request routing or slower response times from the backends, which may impact application performance and user experience.

 

External igress data

Indicates the amount of data sent out from this load balancer to clients.

KB

 

External ingress data

Indicates the amount of data received by this load balancer from clients.

KB

 

External RTT latencies

Indicates the round-trip time taken for a request to travel between this load balancer and backend.

Seconds

A high value for this measure indicates Network congestion, slow backend processing, routing delays and poor application performance.

Egress data per internal TCP/UDP load balancer

Indicates the amount of outbound data sent from the load-balanced backend services to clients via the Internal TCP/UDP Load Balancer.

KB

 

Ingress data per internal TCP/UDP load balancer

Indicates the amount of inbound data received from clients through the Internal TCP/UDP Load Balancer..

KB

 

RTT latencies per internal TCP/UDP load balancer

Indicates the round-trip time measured individually for each Internal TCP/UDP Load Balancer..

Seconds

 

Egress data using TCP SSL proxy

Indicates the amount of data sent through this load balancer to clients using TCP SSL proxy.

KB

 

Frontend RTT using TCP SSL proxy

Indicates the total time for a request and response to travel through the TCP/SSL proxy.

Seconds

A low value is desired for this measure.

Ingress data using TCP SSL proxy

Indicates the amount of data received through from clients through TCP SSL proxy.

KB

 

New connections opened using TCP SSL proxy

Indicates the number of newly established client connections using TCP SSL proxy.

Number

 

Open Connections through TCP SSL proxy

Indicates the number of active client connections maintained using TCP SSL proxy.

Number

 

Closed connections through TCP SSL proxy

Indicates the number of client connections terminated by the TCP SSL proxy.

Number

 

Application backend latency

Indicates the time taken by application backends to process requests and return responses.

Milliseconds

A low value is desired for this measure. A high value for this measure indicates slow backend processing, application bottlenecks, or resource contention.

Application backend request data

Indicates the amount of request data received by application backends through this load balancer.

KB

A high value for this measure may indicate increased client activity or large request payloads, which can increase backend load.

Total application backend requests

Indicates the total number of requests handled by application backends through this load balancer.

Number

 

Application backend response data

Indicates the amount of response data sent from application backends through this load balancer.

KB

 

Application request data

Indicates the total volume of incoming application request traffic through this load balancer.

KB

 

Total application requests

Indicates the total number of requests received from the applications through this load balancer.

Number

 

Application response data

Indicates the total amount of data returned to clients by the applications through this load balancer.

KB

 

Total application latencies

Indicates the total latency experienced while processing all application requests routed through this load balancer.

Milliseconds

If the value of this measure is high, it indicates degraded user experience and potential performance issues.

External backend latency

Indicates the time taken by external backends to process requests and respond through this load balancer.

Milliseconds

A high value for this measure may indicate slow third-party services or external resource constraints.

External backend request data

Indicates the amount of request data sent to external backends through this load balancer.

KB

 

Total external backend requests

Indicates the total number of requests forwarded to external backends through this load balancer.

Number

 

External backend response data

Indicates the volume of data returned from external backends.

KB

 

Total external latencies

Indicates the sum of latencies for requests served by external backends.

Milliseconds

A high value for this measure may indicate external service delays which can result in slower end-user experiences.

Internal backend request data

Indicates the amount of request data sent to internal backends.

KB

 

Total internal backend requests

Indicates the total number of requests handled by internal backends.

Number

 

Internal backend response data

Indicates the volume of data returned from internal backends.

KB

 

External egress packets

Indicates the number of packets sent through this load balancer to external destinations.

Number

 

External ingress packets

Indicates the number of packets received from external sources.

Number

 

Egress packets per internal load balancer

Indicates the number of packets sent from an internal load balancer.

Number

 

Ingress packets per internal load balancer

Indicates the number of packets received by an internal load balancer.

Number

 

Egress data using proxy

Indicates the amount of outbound data transmitted through the proxy layer.

KB

 

Ingress data using proxy

Indicates the amount of inbound data received through the proxy layer.

KB

 

Closed connections through proxy

Indicates the number of proxy connections terminated during the measurement period.

Number

 

New connections opened using proxy

Indicates the number of new client connections established through the proxy.

Number

 

Proxy-only addresses

Indicates the number of number of proxy-only IP addresses allocated for load balancing traffic.

Number