How To Create Aws Classic Load Balancer-AWS Tutorials

Steps To Create Aws Classic Load Balancer

There are Three types of Load Balancer available in the AWS; 1- Application Load Balancer, 2- Network Load Balancer and 3- Classic Load Balancer. In this article we will go through aws Classic Load Balancer And look at the steps to create the aws classic load balancer.

Open the Amazon EC2 console at https://console.aws.amazon.com/ec2/. the first step is make sure that you have two or more than two Instances running in the same region where you want to deploy classic LB. Alongside EC2 make sure you have vpc and the security groups are in place as per requirements.

Go to the EC2 service in the desired region you wanted to deploy the classic load balancer. In the left side of the panel choose the option Load Balancer. Then, choose the Classic Load balancer from the 3 options.

Configure the load balancer

By clicking on the classic LB, you will land onto another page where you can name the LB of your choice and select the same vpc where you lunched your ec2 instances. leave the listener as it is.

Select Subnets for load balancer

Further, you can select the available subnet which you have created. As shown in the image below. To improve the availability of your load balancer, select all your subnets which are located in different availability zones. You can attaché at most one subnet per Availability Zone. If you select a subnet from an Availability Zone where there is already an selected subnet, this subnet replaces the currently selected subnet for the Availability Zone.

Assign Security Groups

After completing the previous step you can click on Next: Assign Security Groups. Here you can make the new security group for the Load balancer or you can just select the existing security group and attach it to the Load balancer. As shown in the image below.

here the we selected the http port 80 so the user from the internet will connect to the load balancer with 80 port.

Configure Health Check of backend ec2 instances.

After completing the previous step, you can click on Next: Configure Security Settings and proceed further. Here you can mention the health check path for the application you are using Load balancer. select the ping protocol as shown in the image below.

here port 80 represents the your ec2 instance webserver port and ping path represents home path of your website like index.html. so in the ping path mention home page path of the ec2 webserver. AWS classic load balancer checks the health of ec2 instances using this pingpath.

Add Ec2 Instances to load balancer

 In the next step, you need to add the EC2 instances on which you need to apply load balancing. attaché the EC2 instances and proceed further.

Add Tags To load balancer

In the next step after registering EC2, you can optionally Tag your load balancer. After finishing all these steps choose Review and Create. Congratulations after finishing  all the steps your Classic Load Balancer is ready to use.

 

  • how to create classic load balancer in aws
  • aws classic load balancer tutorial
  • how to create aws classic load balancer

 

Leave a Reply

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