A load test is a controlled test that generates workload to evaluate system behavior under specified demand. In an AWS web application, Apache Bench sends concurrent HTTP requests while CloudWatch and Auto Scaling expose the system’s response. section 17.3.1
Apply a basic load test to a scalable WordPress deployment:
- Install Apache Bench from the Amazon Linux httpd-tools package. section 17.3.1
- Watch the CloudWatch target-tracking alarm and EC2 instances as Auto Scaling launches additional machines and later removes them. section 17.3.1
- For queue-backed work, generate messages, monitor SQS queue-length alarms, and observe step scaling add or remove workers. section 17.3.2
WordPress scaling test
A WordPress deployment behind a load balancer receives 500,000 requests through 15 Apache Bench threads. After roughly three minutes, Auto Scaling launches new EC2 instances; after the test and cooldown period, the extra instances disappear. Large tests should be checked against the AWS Acceptable Use Policy and may require permission. section 17.3.1




