What Is Elastic Load Balancing (ELB)?

Elastic Load Balancing (ELB) distributes application traffic across multiple servers while adapting load-balancing capacity as demand changes.

In Amazon Web Services (AWS), ELB is a managed service that routes incoming requests to healthy resources, such as EC2 instances and containers, to help applications remain available and responsive.

ELB helps organizations handle traffic spikes and server failures without relying on a single server. However, scaling the load balancer is different from adding application servers, which requires separate scaling mechanisms.

For organizations managing applications across cloud and on-premises environments, solutions such as the Progress® Kemp® LoadMaster® load balancer offer additional options for application traffic management and availability.

How Does Elastic Load Balancing Work?

Elastic Load Balancing sits between users and the servers running an application. Instead of sending every request to one server, it distributes incoming traffic across available resources.

In AWS, this process typically works as follows:

  1. A User Accesses an Application Someone visits a website, opens an application or makes an API request. The request reaches the load balancer through its DNS name.
  2. The Load Balancer Receives the Request ELB accepts incoming connections based on configured listeners and routing rules. Depending on the load balancer type, it can make routing decisions using network connection information or application-level details.
  3. Traffic Is Directed to a Backend Resource The load balancer selects a registered target, such as an EC2 instance, using the applicable routing rules and load-balancing algorithm.
  4. Health Checks Monitor Availability ELB regularly checks backend resources to determine whether they can handle requests. When a target becomes unhealthy, the load balancer normally stops directing new traffic to it until it recovers.
  5. Capacity Adjusts as Traffic Changes AWS automatically manages the load balancer's capacity. When integrated with services such as Amazon EC2 Auto Scaling, additional application instances can also be registered to handle increasing demand.

Example: Imagine an ecommerce website that usually receives a few hundred visitors per hour but experiences thousands of simultaneous visitors during a promotional event.

Instead of sending every request to one application server, ELB distributes requests across multiple healthy instances. If the application is configured to scale, new instances can be added to handle the increased demand.

When traffic decreases, the application can scale down according to its autoscaling configuration.

How Do ELB Health Checks Work?

Health checks allow a load balancer to determine which servers are available to receive requests.

For example, an Application Load Balancer might periodically request a URL such as /health from each backend server. If a server repeatedly fails to respond as expected, the load balancer marks it unhealthy.

A useful health check should assess more than whether a server is powered on. For applications that depend on databases or other services, administrators should consider whether the health check accurately reflects the application's ability to serve users.

Important limitation: If every target in an Application Load Balancer target group becomes unhealthy, AWS can continue forwarding requests to those targets through a behavior called fail-open. Load balancing helps manage failures, but it does not guarantee that an application will remain available when all its resources fail.

Why Is Elastic Load Balancing Important?

Modern applications need to handle changing traffic volumes while remaining accessible to customers, employees and connected systems.

A business application might receive predictable traffic during working hours, while an ecommerce website could experience sudden spikes during a product launch. Without effective traffic distribution, individual servers can become overloaded even when other resources are available.

Elastic Load Balancing helps address these challenges by distributing requests, monitoring backend health and automatically adjusting load-balancing capacity.

This is particularly valuable for organizations running applications in cloud environments, where computing resources can be added or removed as demand changes.

ELB also plays an important role in application resilience. By directing traffic across healthy resources, including those deployed in multiple AWS Availability Zones, it can reduce the impact of individual server failures.

From a security perspective, supported ELB configurations can provide TLS termination and integrate with AWS security services. These capabilities help organizations manage how traffic reaches their applications, although they do not replace broader application security controls.

Ultimately, ELB helps organizations deliver more reliable application experiences while reducing the need to manually manage load-balancing infrastructure.

Key Benefits of Elastic Load Balancing

The main benefits of Elastic Load Balancing include:

  • Improved application availability: ELB distributes requests across healthy backend resources, reducing dependence on an individual server and helping applications continue operating when one instance fails.
  • Automatic load-balancing scalability: AWS adjusts the load balancer's capacity as traffic changes. When used with application autoscaling, this supports environments where computing resources grow or shrink according to demand.
  • More efficient traffic distribution: Load balancing can reduce pressure on individual servers and help maintain application responsiveness during periods of higher traffic.
  • Greater fault tolerance: ELB can distribute traffic across resources in multiple Availability Zones when the backend architecture is designed for resilience.
  • Reduced infrastructure management: AWS manages the underlying ELB service, allowing administrators to focus on application performance, backend health, traffic policies and security configurations.

These benefits depend on how the application and its supporting infrastructure are configured. Load balancing alone cannot compensate for insufficient backend capacity or failures affecting all application instances.

Common Use Cases of Elastic Load Balancing

High-Traffic Websites and Ecommerce Applications

Online stores, customer portals and public websites frequently experience changes in traffic.

During promotional campaigns or seasonal events, ELB distributes incoming requests across multiple application instances, helping prevent individual servers from becoming overwhelmed.

When combined with application autoscaling, additional resources can be introduced to accommodate growing demand.

Cloud-Native Applications and Microservices

Cloud-native applications often consist of several independent services rather than one large application.

An Application Load Balancer can use application-level routing rules to send requests to different services. For example, requests for /products might reach a product catalog service, while /checkout requests are directed to an order-processing service.

This allows teams to manage and scale different application components independently.

High-Availability Enterprise Applications

Business-critical applications need to remain accessible when individual servers or infrastructure components fail.

ELB can distribute incoming traffic across healthy application instances in multiple Availability Zones. If an instance becomes unavailable, the load balancer can direct eligible new requests to other healthy resources.

Organizations need to protect supporting components such as databases, storage, and authentication services to achieve broader application resilience.

API and Application Traffic Management

Applications that expose APIs often need to handle requests from websites, mobile applications and other connected services.

An Application Load Balancer can route HTTP and HTTPS requests based on hostnames, URL paths and other supported request information.

This is useful when several services share a public entry point but operate on different backend resources.

Hybrid and Multi-Cloud Application Environments

Some organizations operate applications across AWS, other cloud platforms and on-premises infrastructure.

AWS ELB primarily serves workloads associated with AWS deployments. Supported configurations can use IP-based targets outside the load balancer's VPC, but an individual ELB is not a complete global or multi-cloud traffic-management solution.

For organizations requiring traffic distribution across separate cloud providers, regions or data centers, technologies such as Global Server Load Balancing (GSLB) or dedicated application delivery controllers may provide additional capabilities.

How Does Elastic Load Balancing Relate to LoadMaster?

Elastic load balancing and application delivery controllers share a common goal: directing application traffic to appropriate resources while supporting performance and availability.

AWS Elastic Load Balancing provides managed traffic distribution for applications running in AWS environments.

The LoadMaster platform is an application delivery controller that provides Layer 4–7 load balancing, application health monitoring and traffic-management capabilities across supported deployment environments.

Organizations may evaluate LoadMaster when they require capabilities such as:

  • Application-aware traffic management: Distributing requests according to application requirements, routing policies and backend health.
  • Hybrid application delivery: Managing traffic for applications running across supported cloud, virtualized and on-premises environments.
  • Advanced load-balancing capabilities: Using traffic distribution, persistence and SSL/TLS management features appropriate to the application.
  • High availability: Deploying redundant load-balancing instances to reduce dependence on a single load balancer.

For example, an organization operating applications entirely within AWS may find that native ELB services meet its requirements. A business managing applications across AWS and private infrastructure might also evaluate LoadMaster load-balancing capabilities to support a more consistent application delivery approach.

Neither option is automatically the better choice. The decision depends on application protocols, deployment environments, security needs, operational requirements and the capabilities required.

Elastic Load Balancing vs. Related Load-Balancing Technologies

Elastic Load Balancing is closely related to several other traffic-management technologies. Understanding the differences helps organizations choose an appropriate approach for their applications.

What Are the Different Types of AWS Elastic Load Balancers?

AWS provides several types of Elastic Load Balancers, each designed for different traffic requirements.

Load Balancer TypePrimary FunctionTypical Use Case
Application Load Balancer (ALB)Layer 7 routing for HTTP and HTTPS requestsWebsites, APIs and microservices
Network Load Balancer (NLB)Layer 4 traffic distribution for network connectionsHigh-throughput TCP and UDP applications
Gateway Load Balancer (GWLB)Distributes traffic across compatible virtual network appliancesFirewalls and network traffic inspection
Classic Load Balancer (CLB)Previous-generation AWS load balancingExisting legacy applications

Application Load Balancers are generally suited to applications requiring HTTP-based routing, while Network Load Balancers are designed for workloads with different network-level requirements.

Gateway Load Balancers serve a more specialized purpose by distributing traffic to virtual network appliances.

Classic Load Balancers remain relevant to some older AWS environments, but AWS recommends current-generation load balancers for new deployments.

Elastic Load Balancing vs. Traditional Load Balancing

Both elastic and traditional load balancing distribute traffic across multiple resources. Their main differences relate to infrastructure management, scaling and deployment flexibility.

AWS ELB automatically manages the capacity of the load-balancing service. Traditional software or hardware load balancers are generally deployed and managed directly by an organization or service provider.

However, traditional load-balancing platforms are not necessarily static or less capable. Many support scalable architectures, sophisticated routing, high availability and advanced application delivery features.

Elastic Load Balancing vs. Global Server Load Balancing

ELB typically distributes traffic across backend resources within an AWS Region.

Global Server Load Balancing (GSLB) operates at a broader level, helping direct users toward applications hosted in different regions, data centers or cloud environments.

For example, an organization may use a global traffic-management solution to direct users toward an appropriate regional application deployment, while local load balancers distribute traffic among the servers within that deployment.

The two approaches can complement each other in distributed application architectures.

FAQs About Elastic Load Balancing

What Does ELB Stand For?

ELB stands for Elastic Load Balancing. In AWS, it is a managed service that distributes incoming application traffic across multiple backend resources and automatically adjusts load-balancing capacity as demand changes.

What Is the Difference Between ELB and ALB?

ELB refers to the overall AWS Elastic Load Balancing service, while ALB stands for Application Load Balancer, one of the load balancer types available through that service. ALB operates at Layer 7 and is designed for routing HTTP and HTTPS requests using application-level information.

Does ELB Automatically Scale Application Servers?

No. ELB automatically adjusts its own load-balancing capacity, but it does not independently create additional application servers. Organizations can integrate ELB with services such as Amazon EC2 Auto Scaling to add or remove computing resources based on application demand.

How Does ELB Improve Application Performance?

ELB distributes incoming traffic across multiple backend resources, which can reduce pressure on individual servers and support more efficient use of available capacity. Its health checks also help direct requests away from unhealthy targets. Actual performance depends on application architecture, server capacity and configuration.

Can AWS Elastic Load Balancing Distribute Traffic Across Multiple Regions?

An individual AWS Elastic Load Balancer operates within one AWS Region and can distribute traffic across supported Availability Zones. Distributing users across deployments in different AWS Regions generally requires additional services, such as Amazon Route 53 or other global traffic-management solutions.

Related Terms and Further Reading

Explore these resources to learn more about load balancing and application delivery:

Talk to Us!

Do you have application delivery questions? Our engineers would love to help!

Schedule a Call