Load Balacing Resources

Overview

Here, we are reviewing some resources such as the Target Group, Load Balancer, and our web server using a web browser.

Target Group

ConnectPrivate

You can see that our target group also checks the health of the two EC2 instances.

Load Balancers

ConnectPrivate

ConnectPrivate

Test Web Server Using Web browser

You can test the web server by using the DNS of the ALB. You can copy the value in the terminal or load balancers.

ConnectPrivate

ConnectPrivate

Open the web browser, enter the DNS name. You will see like below.

ConnectPrivate

You notice that the IP address appears on the screen is 10.10.2.114. Now, let press F5 to refresh the web browser.

ConnectPrivate

After refresing the web browser, the IP address changes to 10.10.1.181. You can notice that these IP addresses are the IP addresses of the two EC2 instances that are running.

Now, let’s configure our Auto Scaling Group with Amazon SNS so that we can get notifications when an instance launches or terminates.