Articles → AWS → Stress Testing In AWS Linux EC2 Instances

Stress Testing In AWS Linux EC2 Instances






Steps




  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 apt update
sudo apt install software-properties-common -y
sudo add-apt-repository universe
sudo apt update
sudo apt install stress -y



Perform Stress Testing




sudo stress --cpu  70 --timeout 20



Output




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


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

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250