# Easy Steps to Create a Reliable Application Load Balancer

### Introduction

Load balancing is the method of distributing network traffic equally across a pool of resources that support an application. Modern applications must process millions of users simultaneously and return the correct text, videos, images, and other data to each user in a fast and reliable manner. To handle such high volumes of traffic, most applications have many resource servers with duplicate data between them. A load balancer is a device that sits between the user and the server group and acts as an invisible facilitator, ensuring that all resource servers are used equally.

### Steps to create an application load balancer

1. Open the **AWS Management Console** and navigate to the **EC2 dashboard**.
    
2. Create an instance and host a website, you can use an [**EC2 instance with Windows**](https://arishahmad.hashnode.dev/hosting-your-website-on-amazon-ec2-with-windows-a-complete-guide) or an [**EC2 instance with Linux**](https://arishahmad.hashnode.dev/hosting-your-website-launching-aws-ec2-instance-with-linux).
    
    **NOTE:** While launching the instance, increase the number of instances to the desired amount.
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1722213106112/532100be-cfb4-4554-a7c4-2a6beffe2787.png align="center")
    
3. Connect to each of these instances and host the website.
    
4. In the left navigation panel, choose **Load Balancers** under **Load Balancing.**
    
5. Click on **Create load balancer**.
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1722213136381/3486c4eb-08e9-493c-b3f6-c5a1bb58f5e8.png align="center")
    
6. Under **Application Load Balancer** click **Create.**
    
7. Give a suitable **Load balancer name.**
    
8. Select the desired Availability Zone under **Mappings**.
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1722214759302/182c0642-60b3-4bab-a9be-ec2705f5fe36.png align="center")
    
9. Under **Listeners and routing** click **Create target group**. A new tab will open up.
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1722214827769/e337669d-2d13-47a1-85c9-2a2eaa4d3dfe.png align="center")
    
10. Choose a **target type**, **Instances**.
    
11. Type a suitable **Target group name**.
    
12. Click Next.
    
13. Select the instances with which you want to make a load balancer.
    
14. Scroll and click on **Include as pending below**.
    
15. Click **Create target group**.
    
16. Please go ahead and return to the previous tab.
    
17. Refresh the default action.
    
18. Now select the newly created target group from the drop down.
    
19. Scroll and click **Create load balancer**.
    
20. Wait while the status is not Active.
    
21. Now copy the DNS Name to access the hosted website.
    
    The website will be accessed from any of the instances previously created.
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1722214380985/4398313f-9f5a-4b70-92a6-9ef948046b7c.png align="center")
    
    22. To delete the Load balancers, select the load balancer -&gt; Click **Actions** -&gt; **Delete load balancer** -&gt; type **confirm** -&gt; **Delete**.
        
    23. To delete the Target group, select the target group -&gt; Click **Actions** -&gt; **Delete** -&gt; Click **Yes, delete**
