Score:0

How to collect data for AWS autoscaling groups?

cn flag

My team has the task to establish the correct values for the auto scaling groups on our aws environment. Those values you establish on the alarms on cloudwatch, that when they are triggered the number of instances grows or decreases.

It has been suggested to us to use JMeter to stress (with lots of requests) the servers and collect metrics. But that method has not been very effective. Is there any other method we can use to obtain right values? Or how would you configure and use JMeter to this situation?

Tim avatar
gp flag
Tim
Search for "website stress test service" and find a tool that's easier to use if you're having trouble with JMeter. You haven't clearly said what the problem is so that limits the help you will receive.
Score:1
cn flag

Your "has not been very effective" is "not too informative"

Basically you need to conduct a stress test connected with the scalability test, to wit:

  1. Start with 1 virtual user

  2. Gradually increase the load

  3. Inspect the correlation of the following metrics:

  4. First start your test without auto-scaling to get the baseline results

    • for the first stage of test you will see response times being all the same and transactions per second growing by the same factor as the load increases (like N users = N transactions per second, Nx2 users = Nx2 transactions per second, etc)

    • at the certain stage response times will start increasing hence transactions per second will be going down. this is called saturation point

    • record the numbers for later comparision

  5. Repeat step 4 with first auto-scaling setting applied and see how many users the system can support now

  6. Repeat step 4 with second auto-scaling setting applied and see how many users the system can support now

  7. etc.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.