AWS Load Balancers : A Guide for Load balancers PART-1

AWS Load Balancers : A Guide for Load balancers PART-1


As the name implies it is the technique to balance the load on “n” number of nodes. Some time single server is not able to handle the incoming traffic then we need a load balancer which distributes the traffic between “n” number of nodes or instances.

AWS Load Balancer :

AWS provides three types of load balancers –

  • Elastic Load Balancer (ELB) also known as Classic Load Balancer.
  • Application Load Balancer (ALB)
  • Network Load Balancer (NLB)

What is Elastic Load Balancer (ELB)?

The Elastic Load Balancer is a feature which helps us to balance the traffic between nodes. ELB is AWS managed service which means AWS is responsible for it’s management, so we don’t need to worry about scalability, downtime. Elastic load balancing is used to distribute incoming traffic to multiple servers and help to reduce the chance to over utilize of a server.

ELB is managed service so AWS provides some features –

  1. Monitoring – You can set an alarm over utilization – CPU utilization, Memory Utilisation etc.
  2. Centralized SSL Certificate management
  3. You can use Security groups to prevent unauthorized access.
  4. Supports both IPv4 and IPv6
  5. Detection and Removal of unhealthy instance
  6. Send traffic over only on healthy instances.
  7. It provides a sticky session feature which is helpful in binding user session to the particular server.

Steps to create Elastic Load Balancer (ELB)

  1. Login to AWS Console then choose Load balancers from left side menu on EC2 page.
  2. Click on Create Load Balancer and Choose Classic Load Balancer
  3. Fill the information of ELB
    • ELB name
    • Select VPC
    • Check “Create an internal load balancer” if you want to create an internal load balancer
    • Select Port of incoming traffic and outgoing traffic on the server
    • Select 2 subnets which lies within different availability zone and click next
  4. Choose Security groups for you ELB
  5. Configure Security Settings – If you want an SSL certificate and traffic is on HTTPS.
  6. Now you need to provide ELB health check endpoint
  7. Now you need to add tags if you want and click next
  8. Now review the information and click on create.

ELB Description :

After creating the ELB you can go to on EC2 console and click on Load Balancer from the left menu. It will show like shows in below picture.

You can click on the instance and see the attached instances.

One Reply to “AWS Load Balancers : A Guide for Load balancers PART-1”

Leave a Reply

Your email address will not be published. Required fields are marked *