4

Load testing sites behind an EC2 load balancer with ApacheBench

view full story
linux-howto

http://serverfault.com – When ever I try to load test a site that is load balanced on EC2 I get the following message: ab -n 20 -c 20 http://www.somesite.com/ Benchmarking www.somesite.com (be patient)...Send request failed! apr_socket_recv: Connection reset by peer (54) Any sites that are hosted on EC2 without the load balancer can be load tested successfully, so I figure it's not related to the security group I have configured. Does AWS EC2 load balancer block this type of request by default? If so how does it differentiate between an AB and normal browser based http request? (HowTos)