• Home
  • AWS
  • AWS Elastic Load Balancing (ELB)

AWS Elastic Load Balancing (ELB)

  • (5.0)
  • | 7475 Ratings
AWS Elastic Load Balancing (ELB)

What is Elastic Load Balancing (ELB) in AWS?

Elastic Load Balancing is shortly called as ELB that allows the income of traffic to get easily distributed across the plenty of healthy EC2 instances, IP Address, and containers in an automatic way. It is considered as the single point to make contact with the client and helps to increase the availability of applications which allows adding or else removal of different EC2 instances across single or else more availability zones. It mostly achieves the fault tolerance for any of the applications which mainly ensures performance, scalability, and security.

The AWS ELB helps the team of IT in order to adjust the capacity with respect to the network traffic and the incoming application. Now the users can enable the ELB with just a single availability across the multiple or varied zones that helps to prepare the best application according to the performance.

Basically, the load balancing concept in AWS can be categorized according to the amount of work where the computer has to perform multiple actions. With the help of these, the users can get served faster. The following are some of the increased features of Elastic Load Balancing.

  • Easily detects all the unhealthy cloud instances
  • It can help to spread the healthy channels
  • Great cipher support
  • Best and centralized managed along with the SSL certificates
  • Avail the public authentication
  • This AWS ELB will support both IPV4 and IPV6

High availability:

Availability is one of the best and well-known services in ELB by the AWS, as it performs the best health check in order to ensure instance while sending the traffic. If the instance fails, then the traffic routes at ELB will remain healthy for EC2 instances. As the EC2 instances availability zone is completely unhealthy then the availability traffic zones can route them until when they get the healthy state.

Automatic scaling Process:

Any developer can be eligible to use this AWS auto-scaling aspect in order to get enough more EC2 instances there by running an ELB. The developers can use all the auto scaling conditions when needed. If the condition written by you will meet the requirements then a new EC2 instance can automatically desire your required needs easily.


However, ELB basically helps to supports the applications which are currently available in the Amazon Virtual Private Cloud in order to maintain the strong security of the network. If the IT team wants a specific internet facing, it can easily display the route traffic according to the IP addresses. This type of approach will help the IT team to allow the best security group not only for the targeted traffic but also for the private IP addresses that are specified to expose the reliable application by using the multiple internet facing.

What are the types of AWS Elastic Load Balancers?

Eventually, the ELB at AWS offers the two different load balancer features that help to offers the best and scalable cloud computing easily. However, the application load balancer can easily handle all the advanced routing traffic by using the remaining containers and services, whereas the other load balancers like Classic and Network will automatically spread the traffic across the EC2 instances.

Based on the features like high availability, robust security and automatic scaling to make the applications with fault tolerance, Elastic Load Balancing in AWS is divided into three types that are

  1. Application Load Balancer
  2. Network Load Balancer
  3. Classic Load Balancer

Application Load Balancer

Application Load Balancer is the main thing in ELB which is best suited for load balancing in HTTP and HTTPS traffic. It has also come up to provide advanced requests routing targeted with effective delivery of modern applications architectures which includes certain containers and microservices. Application Load Balancer routes traffic gets targeted to Amazon Virtual Private Cloud (Amazon VPC) based on the request. The improves the security of the applications and simplifies with ease to ensure the trending SSL and TLS ciphers.

Key Features

  • HTTPS Support
  • Server Name Indication
  • IP Address as Target
  • Security Features
  • High Availability
  • Content-Based Routing
  • Web Sockets support
  • Native IPv6 support
  • Sticky Sessions
  • Logging
  • Delete Protection
  • Request Tracing
  • Web Application Firewall

Frequently Asked AWS Interview Questions

Network Load Balancer

Network Load Balancer in AWS technology is best suited for load balancing of various TCP traffic with high requirement of extreme performance. The operating level at the connection level is probably Layer 4 and the Network Load Balancer routes traffic which can easily get targeted with Amazon Virtual Private Cloud. Keeping in Ultra-low latencies, it can handle millions of request for every second in an efficient manner. It can also handle volatile and sudden traffic patterns that help organizational revenues. Everything is handled by using single static IP addresses for each availability zone. It can also integrate with other AWS services like Amazon EC2 Container Service (ECS), Auto Scaling and Amazon Cloud Formation.                              

Key Features

  • Connection Based Load Balancing
  • High Availability
  • High Throughput
  • Low Latency
  • Static IP Support
  • Health Checks
  • DNS Fail Over
  • Central API Support
  • Enhanced Logging

Classic Load Balancer

Classic Load Balancer has come up to deliver basic load balancing across various multiple Amazon EC2 instances. It can also be operated at various levels such as connection level and request level. Classic Load Balancer is mostly built for the applications that are within EC2 classic networks. When usage of Virtual Private Cloud(VPC), Application Load Balancer is for Layer 7 and Network Load Balancer is for Layer 4.

Key Features

  • High Availability
  • Health Checks
  • Security Features
  • SSL OffLoading
  • Sticky Sessions
  • IPv6 support
  • Layer 4 and Layer 7 Load Balancing
  • Operational Monitoring
  • Logging

What is the use of load balancer in AWS? 

Load Balancers in AWS Technology are mostly used to enhance the capacity and reliability of the applications. It also balances the traffic across the target levels in an automatic way. Below are the real-time use cases that are used by Load Balancer in AWS Technology.

  • Achieves Fault Tolerance for Applications in Better Way
  • Load Balancing For containerized Applications in an automatic way
  • Scales up the Applications in an Automatic Way
  • Elastic Load Balancing in Amazon VPC
  • Hybrid Load Balancing with Elastic Load Balancing

What is AWS ELB Logs? 

AWS Elastic Load Balancing has come up with the main aim to build systems in a highly scalable and reliable manner. It can easily distribute the traffic across Amazon EC2 instances in dynamically sized collections in an efficient manner. It can easily help in creating two or else more EC2 instances in an efficient manner. Each individual instance is helped to resolve an access request point in the right way. All the access requests are simply routed to EC2 instance under the least load in real time scenarios. The Elastic Load Balancing Logs are produced for the usage of

  • Analyzing the access and traffic patterns
  • Troubleshooting of various applications
  • Performing of high-security monitoring
  • Improvement in the user experience
  • Discovering and debug problems with the EC2 platform

AWS ELB Health Check

In this AWS ELB Health check, the property called HealthCheck configures the health checks for the availability of various EC2 instances. The load balancer routes are completely requested to the various healthy instances. Probably, the load balancer is here to determine the respective instance which is unhealthy and stops the requests for the particular routing purpose. The routing process starts only after a particular instance comes to healthy states.

Then AWS ELC checks whether the instance is in a healthy state or not and then it starts requests for particular routing purpose.

Related Page: Creating A Custom AMI In AWS

AWS ELB Pricing and Cost

The pricing and cost are highly varied for the various types of Elastic Load Balancer where you can pay with ease. The pricing also sometimes varies from region to region as well.

  1. Application Load Balancer: In this, one can be charged for each hour or else partial hour where an Application Load Balancer is running along with the number of Load Balancer Capacity Units shortly called as LCU are used per hour.
  2. Network Load Balancer: In this Network Load Balancer, one can be charged for each hour or else partial hour which can be easily run through Load Balancer capacity Units that are used per hour.
  3. Classic Load Balancer: When this Classic Load Balancer is running, it is normally charged per hour or else partially hour and also for each GB of the data which is transferred from the Load Balancer.

Benefits of Load Balancer:

The load balancer at Amazon Web Services can help to distribute all the workloads easily across the various compute resources like virtual servers. By using this load balancer, you can easily enhance the availability and tolerate all the faults of your applications without any hurdles.

You are able to add and remove all the compute resources according to your required changes without disturbing the flow of requests in the application.

This load balancer option can also help to configure the health checks, which can easily monitor the according to the compute resources and can send the requests for the healthy ones.

How to access the Elastic Load Balancing

How to access the Elastic Load Balancing?

The Elastic Load Balancing can help to create, access as well as to maintain all your load balancers with the help of following named interfaces. Let's check out them now.

AWS Management Console: It can really help to offers the best web interface where you can easily use access to Elastic Load Balancing.

AWS Command Line Interface (AWS CLI): This AWS command line is used to provide the broad set of services which includes ELB that supported on Mac, Linux as well as the Windows too.

AWS SDKs: The AWS SDKs in the ELB is used to offer the specific API's for the selected languages according to the connection details along with the errors, signatures, and requests.

Query API: The query API in the ELB is used to provide the best low-level API actions according to the requests by the HTTPS. This is one of the most important as well as the direct way to access the application which can be handled at the low level by generating the error-free service. The APL version of application and Network load balancers are 2015-12-01, whereas for the Classic Load Balancer it is 2016-06-01.

How to get started with Elastic Load balancing?

Basically, the Elastic Load Balancing is 3 types of load balancers, which are stated as the Classic load balancers, Application load balancers, and Network load balancers. We can select the particular load balancer according to your application needs and requirements. For examples, If you have an existed classic load balancer, then you can easily migrate to the remaining two load balancers without any hassle.

Creating the Application Load Balancer:

In order to create a particular application load balancer, it is very quite simple to use the AWS management console. The following are some of the steps that include creating this load balancer.

Start creating the load balancer by using the create command which especially specifies the two subnets in the exact availability zone by giving an output called ARN for the load balancer.

  • In order to create the group, you can use the create target group command by specifying the VPC for EC2 instances.
  • Now register the target command, which helps to register all your instances in the targeted group
  • If you want to forward the requests to another group, use creates listener load balancer command.
  • You can easily verify all the above-registered targets by using the describe target health command.

Creating a Network Load Balancer and Classic Load Balancer

If you want to create the network load balancer and Classic Load balancer using the AWS CLI, the above process described for the application load balancer is the best representatives.

Explore AWS Sample Resumes! Download & Edit, Get Noticed by Top Employers! Download Now!

Subscribe For Free Demo

Free Demo for Corporate & Online Trainings.

About The Author

Prasanthi is an expert writer in MongoDB, and has written for various reputable online and print publications. At present, she is working for Mindmajix, and writes content not only on MongoDB, but also on Sharepoint, Uipath, and AWS. Protection Status