Test Auto Scaling
Mục lục
Test Auto Scaling
1. Copy the DNS name of the ALB for use with Apache Benchmark.
2. Open CloudShell.
3. Execute these commands to install the Apache Benchmark tool and run a load test:
- Replace
<alb-dns-name>with your ALB’s DNS name.
bash
sudo yum install -y httpd-tools
ab -n 1000000 -c 50 http://<alb-dns-name>/health
4. Wait approximately 5-10 minutes for auto scaling to trigger. You will see the additional tasks being provisioned as CPU utilization increases.