Articles → AWS → Stress Testing In AWS Linux EC2 Instances

Stress Testing In AWS Linux EC2 Instances


  1. Launch a Linux EC2 instance
  2. Install stress utility
  3. Perform stress testing
  4. Output

Launch A Linux EC2 Instance

Install Stress Utility

sudo amazon-linux-extras install epel -y
sudo yum install stress -y

Perform Stress Testing

sudo stress --cpu  70 --timeout 20


Picture showing the CPU utilization (%) in the Monitoring tab
Click to Enlarge

Posted By  -  Karan Gupta
Posted On  -  Thursday, July 28, 2022


Your Email Id  
Query/FeedbackCharacters remaining 250