Saturday, 18 January 2020

AWS ELB adding more target EC2 instance or application

Create the multiple instance using AMI or Launch Instance
Then go the ELB > Target > as like Previous post

> Console > EC2 > Load Balancer > Right Click > Register and Deregister Instance /ip targets

Select the Target new instance and add > Save>

Check the status


healthy


Now test the Load balances using  ELB DNS URL,
So now we have two application EC2 instances binded with one ELB,When we lauch the ELB DNS we much get one time EC2 1st server and 2nd time EC2 2nd server.
1st Time : From Browser

And at the same time checking the Hostname from putty


2nd time test in the Browser,Same URL but different IP Which is EC2 instance 2


 From Putty
 

This confirm that Load balancer URL redirecting to both the EC2 instances.

No comments: