How can I do an stress test to my AWS Infrastructure and check different metrics?



I need to do some stress test to my APP that is deployed in my AWS Infrastructure. I need to test in one month traffic:

  1. How many users I can have in paralel at the same time
  2. How many request I receive monthly more or less to check if the infrastructure scales up well and I do not have any bottleneck
  3. Security check

Since now we are in a developing stage we don't have real clients still, but I would like to test my infrastructure before delivering something to be sure that everything works fine and have metrics and KPIs to give confidence to my clients. There is any technique like simulating everything to do this? In that case which technique or tools could I use?


1 Answer
Accepted Answer

Load testing

  1. Distributed Load Testing on AWS:

  2. Apache JMeter - an open-source tool designed for load testing and measuring performance. It can be run from an EC2 instance to simulate traffic.

  3. Artillery - a modern, powerful, and easy-to-use load-testing toolkit for HTTP, WebSockets, and more.

  4. Gatling - a highly capable load testing tool, especially for web applications.

  5. Locust - an open-source load testing tool that allows you to define user behavior with Python code and swarm your system with millions of simultaneous users.

Security testing

  1. AWS Inspector - assesses applications for vulnerabilities and deviations from best practices. It can be used to scan EC2 instances and Docker images in ECR for vulnerabilities.

  2. Penetration Testing

  • OWASP ZAP is an open-source tool for finding vulnerabilities in web applications. It can be used to perform manual penetration testing.
  • Burp Suite is a powerful tool for web security testing, offering a range of features for manual and automated testing.
  • Metasploit is a penetration testing framework that helps identify and exploit vulnerabilities in your infrastructure.
profile picture
answered a month ago
profile picture
reviewed a month ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions