Here, we are reviewing some resources such as the Target Group, Load Balancer, and our web server using a web browser.
You can see that our target group also checks the health of the two EC2 instances.
You can test the web server by using the DNS of the ALB. You can copy the value in the terminal or load balancers.
Open the web browser, enter the DNS name. You will see like below.
You notice that the IP address appears on the screen is 10.10.2.114. Now, let press F5 to refresh the web browser.
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.