Elastic Load Balancer in AWS (original) (raw)

Last Updated : 1 Jun, 2026

Elastic Load Balancing (ELB) automatically distributes incoming application traffic across multiple targets, such as Amazon EC2 instances, containers, IP addresses, and Lambda functions. It acts as the "front door" for your application, ensuring high availability, fault tolerance, and elasticity.

Core Concepts

1

Steps to configure an Application Load Balancer in AWS

**Step 1: Launch the two instances on the AWS management console named Instance A and Instance B. Go to services and select the load balancer. To create AWS free tier account refer to Amazon Web Services (AWS) – Free Tier Account Set up.

Screenshot-2026-05-25-101403

**Step 2: Scroll down on the left side panel, go to Load Balancers, and click on Create Load Balancer.

Screenshot-2026-05-25-101535

**Step 3: Select Application Load Balancer and click on Create.

Screenshot-2026-05-25-101742

**Step 4: Here you are required to configure the load balancer. Write the name of the load balancer. Choose the scheme as internet facing.

Screenshot-2026-05-25-102057

**Step 5: Add at least 2 availability zones. Select us-east-1a and us-east-1b

Screenshot-2026-05-25-102248

**Step 6: Select the default security group.

Screenshot-2026-05-25-102401

**Step 7: In the Listener and Routing section, click on Create New Target Group.

Screenshot-2026-05-25-102818

**Step 8: Choose the Target Group Name, select the Protocol, and enter the Port Number.

Screenshot-2026-05-25-103108

**Step 9: Choose instance A and instance B and Click on Next: Review.

Screenshot-2026-05-25-103315

**Step 10: Review all the configurations and click on Create Target Group. After that, return to the Load Balancer Creation page and select my-target-group in the routing section.

Screenshot-2026-05-25-103430

**Step 11: Scroll down and click on Create Load Balancer.

Screenshot-2026-05-25-103935

**Step 12: Congratulations!! You have successfully created a load balancer.

Screenshot-2026-05-25-104443

**Step 13: This highlighted part is the DNS name which when copied in the URL will host the application and will distribute the incoming traffic efficiently between the two instances.

Screenshot-2026-05-25-104217

**Step 14: This is the listener port 80 which listens to all the incoming requests

Screenshot-2026-05-25-104330

**Step 15: This is the target group that we have created

Screenshot-2026-05-25-104602

**Step 16: Now we need to delete the Load balancer. Go to Actions -> Click on Delete.

Screenshot-2026-05-25-104707

**Step 17: Also don't forget to terminate the instances.

Screenshot-2026-05-25-105823

When to Use Which?

ALB

NLB

Pricing Models

ELB pricing is based on two components: an hourly charge and a usage charge (Capacity Units).

**Load Balancer **Hourly Charge **Usage Metric
**ALB ~$0.0225 / hour LCU (Load Balancer Capacity Units) - Based on new connections, active connections, and bandwidth.
**NLB ~$0.0225 / hour NLCU (Network Load Balancer Capacity Units) - Based on bandwidth and connections.
**GWLB ~$0.0125 / hour GLCU (Gateway Load Balancer Capacity Units).
**CLB ~$0.025 / hour Data Transfer (GB).