Sangram Anand
Sangram Anand

Reputation: 10844

AWS Load Balancing & Auto Scaling test

Recently we moved our java web appication to beanstalk, we configured the elastic load balancer & Auto scaling for the environment. How can i test whether the load balancer & autoscaling is working for my application environment. Any Load testing tools that i can try.

Upvotes: 2

Views: 1878

Answers (2)

CMerrill
CMerrill

Reputation: 1972

Correct - you need to load test it. Be sure to choose a load testing tool that supports elastic load balancing correctly. Specifically, it needs to not cache DNS lookups too long - a mistake which many load testing tools make. Otherwise, the load will continue to be directed to the existing servers even when new servers have been started to respond to increased load.

Upvotes: 1

jaminto
jaminto

Reputation: 3955

I'm not that familiar with beanstalk, but if you're scaling based on CPU usage, it's pretty easy to write a page with some bad code that pegs the CPU. Add a for loop that loops almost indefinitely in a web page, request the page, and watch the autoscaling do its thing.

Upvotes: 1

Related Questions