After creating ELB
And Before getting in to the target registering get the Target Group associated to Load Balancer.
> Console > EC2 > Load Balancer > Select the Load Balancer > Listeners > get the rules forwarding target name

Now go to target group and add the target EC2 application instances.
> Console > EC2 > Load Balancer > Target Groups > Right Click > Register and de-register instance / ip target

Select the instances to add to the load balance

You can verify the target is registered under target group > target >

After adding the target to the LB target group go the LB to get the DNS details to check

Launch the URL to check from browner.

You can the http Apache from EC2 instance is accessed from Load balancer DNS.
And Before getting in to the target registering get the Target Group associated to Load Balancer.
> Console > EC2 > Load Balancer > Select the Load Balancer > Listeners > get the rules forwarding target name
Now go to target group and add the target EC2 application instances.
> Console > EC2 > Load Balancer > Target Groups > Right Click > Register and de-register instance / ip target
Select the instances to add to the load balance
You can verify the target is registered under target group > target >
After adding the target to the LB target group go the LB to get the DNS details to check
Launch the URL to check from browner.
You can the http Apache from EC2 instance is accessed from Load balancer DNS.
No comments:
Post a Comment