×
Community Blog SLB vs ELB vs ALB: What Is the Difference

SLB vs ELB vs ALB: What Is the Difference

In this article, we will discuss the differences between SLB, ELB and ALB.

What is SLB?

SLB is an abbreviation of Alibaba Cloud Server Load Balancer. SLB is an Alibaba Cloud service that can distribute network traffic to a group of backend servers to increase the throughput of your applications. You can use SLB to prevent service interruption caused by single points of failure (SPOFs) and improve the availability of applications.

Alibaba Cloud provides an SLB service that is fully managed on the cloud. This service is out-of-box, high-throughput, stable, and reliable. You can dynamically scale SLB resources and pay for these resources on demand. Alibaba Cloud SLB is intended for balancing the heavy load of hyper-scale Internet applications. For example, you can use SLB to handle traffic spikes during large-scale online campaigns or improve the availability of Internet of Things (IoT) applications that run with a great number of concurrent connections. SLB saves the expenses on backend servers that are used to encrypt and decrypt data. It can redirect HTTP requests to HTTPS requests or redirect HTTPS requests back to HTTP requests while the backend servers only need to process HTTP requests.

Alibaba Cloud provides two types of SLB instances that run at the transport layer (Layer 4 in the OSI model) and application layer (Layer 7 in the OSI model). The Layer 4 SLB instances use Transmission Control Protocol (TCP) and User Datagram Protocol (UDP) listeners to distribute network traffic. Each Layer 4 SLB instance supports up to tens of millions of concurrent connections and millions of new connections per second.

Layer 7 SLB instances run at the application layer (Layer 7 in the OSI model). Layer 7 SLB instances support various application protocols, such as HTTP, HTTPS, HTTP2, WebSocket Secure (WSS), Quick UDP Internet Connections (QUIC), and Google Remote Procedure Call (gRPC). Each Layer 7 SLB instance can handle up to one million queries per second (QPS). Layer 7 SLB instances support SSL, HTTPS, and TLS offloading.

Compared with hardware load balancing solutions that require a large up-front investment, Alibaba Cloud SLB is highly scalable and provides pay-as-you-go services. It can balance the heavy load of applications during large-scale online campaigns. Compared with self-managed open source load balancing solutions, Alibaba Cloud SLB has an experienced and professional technical support team that offers 24/7 services. This ensures service stability and relieves you from operations and maintenance (O&M) work.

What is ELB?

ELB is an abbreviation of AWS Elastic Load Balancer. AWS launched the ELB in the spring of 2009. ELB is a software-based load balancing system that can be set up and configured in front of a series of AWS Elastic Compute (EC2) instances. The load balancing system acts as a single point of entry for users of EC2 instances and distributes incoming traffic through all machines available to accept requests.

In addition to having a single point of entry, the ELB also plays a crucial role in improving the tolerance of faults for the services it faces. The AWS ELB periodically performs a health check of all cases that have been registered with it, and only drives traffic to those machines that respond to the health check as active and safe.

What is ALB?

ALB is an abbreviation of Alibaba Cloud Application Load Balancer. Positioned at the application layer, ALB provides superior performance. It is secure, reliable, cloud-native, and out-of-the-box. It supports auto-scaling, the Quick UDP Internet Connection (QUIC) protocol, content-based advanced routing, built-in Distributed Denial of Service (DDoS) protection, cloud-native applications, flexible billing, and other product capabilities. It meets many diversified application-layer load requirements.

ALB

The Benefits of ALB are as below:

  • Ultra-High Performance: Based on "Cloud Network Management 2.0" developed by Alibaba Cloud, ALB provides flexible, elastic, and ultra-high-performance instance types. It provisions super layer-7 processing capability so that a single instance can process as high as 1 million Queries Per Second (QPS.)
  • Secure and Reliable: It provides four-level, high-availability, and disaster recovery and is integrated with Anti-DDoS Protection and Web Application Firewall (WAF) to ensure business security.
  • Low Latency: In addition to existing protocols, such as HTTP, HTTPS, and Windows SharePoint Services (WSS), ALB supports QUIC, providing an extremely low-latency experience for video and live streaming users.
  • Cloud-Native: ALB is deeply integrated with Alibaba Cloud Container Service for Kubernetes (ACK), Serverless App Engine (SAE), and Kubernetes (K8S), and uses the official cloud-native Ingress gateway.
  • Personalized Route Forwarding: It provides various advanced forwarding, such as Header, Cookie, and Method, and can better meet the personalized routing forwarding requirements of users.
  • Out-of-the-Box: You can create instances in seconds. ALB delivers an out-of-the-box experience and a complete monitoring and logging service to mine access log data with one click.
  • Flexible Billing: ALB uses the pay-as-you-go billing method and a dual-active disaster recovery mechanism to provide a more stable service experience and higher elasticity.

The Difference Between SLB, ELB and ALB

When seeing the letters ALB, many people will think of the classic SLB service. Alibaba Cloud Server Load Balancer (SLB) released nearly ten years ago, providing users in various industries with powerful and stable load balancing capabilities. It distributes large amounts of concurrent traffic, prevents Single Point of Failures (SPOFs), and improves service availability.

However, as enterprises and Internet businesses develop rapidly, business forms and demands are constantly changing. As a result, traditional load balancing cannot meet the requirements of many business scenarios. The Alibaba Cloud ALB comes up to meet the requirements for high performance, elasticity, multi-protocol layer-7 forwarding, security, and cloud-native, such as Internet service, big e-commerce promotions, audio and video service, mobile Internet applications, gaming, financial services, and cloud-native applications.

The ELB is an AWS simple load balancer, most AWS clients are familiar with this product and have used it in the past since it is easy to configure, and given its long history as a product.

Conclusion

The network is critical for service migration to the cloud. As more complex enterprise applications are migrated to the cloud, the requirements for cloud networks are becoming higher. The top priority is concurrent high-traffic scheduling and application load balancing capabilities. Among ELB, SLB and ALB choices, the ALB is high elasticity, security, reliability, and cost-effectiveness.

Related Blog

Alibaba Cloud Releases ALB to Accelerate the Delivery of Enterprise Applications

This article reviews the released Alibaba Cloud ALB and its focus on facilitating cost-effective application delivery.

How Can a Server Load Balancer Help Your Website or Application

In this blog, we will introduce the concept of load balancing and discuss how Alibaba Cloud can help you speed up your websites or apps.

Related Product

Server Load Balancer

Alibaba Cloud Server Load Balancer (SLB) distributes traffic among multiple instances to improve the service capabilities of your applications. You can use SLB to prevent a single point of failures (SPOFs) and improve the availability and the fault tolerance capability of your applications.

SLB Pricing

The SLB service uses instances as its basic units and provides metering data for the instance billing cycle. Fees are calculated based on length of time of load balancer rentals and network traffic.

The following prices are for reference only. The exact price will be based on the customized plan you choose.

Pay-As-You-Go
Fees are calculated based on length of time of load balancer rentals and network traffic.

Related Learning Course

Handle Large Traffic with Load Balancer

Increased traffic, often results in a delayed response from web servers or even a halt in service. Load balancing lies in "sharing." When massive traffic is detected, the traffic is distributed to multiple servers to improve the external service capability of the website and avoid the impact of a single point failure. In this online course, we teach the basics of load balancing, principles and scenarios, and master cloud platform load balancing features and usage.

0 0 0
Share on

Alibaba Clouder

2,599 posts | 762 followers

You may also like