AWS, Terraform, Cloud Computing, Scaling, Ec2.
-y sudo yum install stress -y Then execute the following command to increase the CPU and memory: sudo stress --cpu 8 --vm-bytes $(awk '/MemAvailable/{printf "%d\n", $2 * 0.9;}' < /proc/meminfo)k --vm-keep -m 1 The CPU utilization starts increasing as observed in the EC2 metrics tab in the auto