Operation
Load balancing in Google Cloud
Load Balancing in Google Cloud
The rapid success of a new application in Compute Engine presents you with a critical challenge in scaling, optimisation, and security once it attracts international users. VM instances can become overloaded above a certain traffic threshold, leading to increased latency, poor overall performance, and dissatisfied users. Which service does GCP offer to prevent this? Cloud Load Balancing (CLB) is a fully distributed, software-defined service that distributes user traffic across multiple backends to reduce congestion and ensure low latencies. This service comes equipped with features that enable the smooth operation of your application, both regionally and globally.
Capabilities and Features of Cloud Load Balancing
Cloud Load Balancing's auto-scaling feature instantly draws resources from other instances in the region to handle traffic surges. This feature enables your application to process rapid or unexpected traffic in a given region with low latency. No pre-warming is required, and this process can ramp up from zero to full capacity within seconds. Since the service is software-defined, it is fully managed by GCP. It is not limited by infrastructure, scaling, and so forth. Consequently, it applies to all your traffic, whether it is HTTP(S), UDP, or TCP/SSL. This service also terminates SSL traffic, which reduces the processing load on the backend servers. This additionally allows you to centrally manage SSL certificates and decryption.
CLB allows you to support the use of your application globally via a single anycast IP. Your front-end services are made available in various regions around the world without you having to change your virtual IP address or DNS service settings. If backends in a specific region stop functioning properly, even after auto-scaling, CLB smoothly redirects traffic to other regions where backend resources are available. This is known as multi-region failover. CLB's failover response is not limited to high traffic volumes and failing backends; network outages and other associated conditions can also cause backend services to be shifted to another region.
CLB performs internal load balancing for three-tier applications (which include front-end, middleware, and data sources). In conjunction with Andromeda, GCP performs load balancing between the front-end and other internal tiers. Internal load balancing is intended for TCP/UDP traffic behind an RFC 1918 (private enterprise-only IP addresses) virtual IP address. You get high-precision health checks without an intermediary proxy. These checks ensure that health probes function properly and traffic is routed to the correct backend. The data plane and software-defined network controls are utilised for load balancing.
Cloud Load Balancing Security
To ensure the security of your backends and application, CLB enables you to implement Transport Layer Security (TLS) end-to-end. TLS is a more secure version of SSL that ensures data transferred between the server and client is encrypted. You can use Google-managed SSL certificates, where Google handles the provisioning and lifecycle of the certificate. Global attacks are absorbed and dissipated (through global load balancing) across the load balancing infrastructure. With Cloud Armor you can protect your applications against Layer 3 to Layer 7 attacks, and with IAP you can manage access to your backends.
The capability of CLB is demonstrated by its capacity to support over 1 million queries per second. This capacity is backed by the same front-end infrastructure that powers Google. There are more than 80 load balancing locations from which traffic enters CLB. In general, CLB serves to reduce latency, improve performance and security, and optimise costs for your backend services.



