How to configure ELB(Elastic Load Balancer) and add web-servers in AWS
To Configure ELB (ELASTIC LOAD BALANCER) on AWS
Introduction:
Load balancing involves efficiency in allocating incoming network traffic across a group of backend servers, also known as a server farm or server pool. In this manner, a load balancer performs the following functions including Distributes client requests or network load efficiently across multiple servers that also distributes a set of tasks over a set of resources, with the aim of making the process more efficient.
Steps to Configure ELB
Login to your AWS management console and run your any EC2 Instance as that is shown here
Now connect this instance to the terminal using the following way
And now in back end of instance I have installed the apache web server and created two html files index.html and healthcheck.html

Now came back to your instance here you have been provided with public and private ip, by using public ip you can access your instance from outside bound.
Now move downside in amazon management console in left pane you will find load balancer go over there
Now create new load balancer
From here select load balancer type
Configure and define load balancer
Assign the security group for your load balancer you need to make aware here that what the security group you are going to select here that must be allow all the http traffic from itself
This is the little SSL warning message because of this is the demo setup so leave it
Now configure health check will the credential here

Now I am going to add EC2 instance to our configured load balancer
These all the description for the Load Balancer
Here in instance section you will see that service is out and not configured, because of it will take some time to check the health status
There is another one thing important to remember is that everytime there is only DNS name is set up with the Load balancer. By this DNS load balancer will load the web server
I have checked the DNS on Browser it is loaded with the web server at AWS and also service is now active
Now with that DNS I am accessing the health check file.
With this Load Balancer configuration comes to an end
Comments ( 0 )
No comments available