I have two instances of EC2 running with Tomcat servers. I deployed my war using beanstalk. My load balancer has both the EC2 machines listed under the Instances tab.
I'm trying to do some load testing. When I generate the load and hit using the load balancer URL, requests are sent only to a single instance(not the same one during all runs). The other instance is completely idle.
Even in my beanstalk autoscaling settings, I've set the max and min instance count to 2 which ensures that both the machines are up all the time.
Could someone suggest what might be issue.
Thanks a lot.