AWS Auto Scaling Groups
- Use Auto Scaling Groups (ASG) with Launch Templates or Launch Configurations referencing a pre-baked AMI.
- Attach to an Application/Network Load Balancer with health checks.
- Configure scaling policies:
- Target tracking
- Step scaling
- Scheduled scaling
- Options for instance protection and draining.
- create ASG watching class room recording

#!/bin/bash
while true; do
stress --cpu 8 --io 4 --vm 2 --vm-bytes 128M --timeout 60s -v
sleep 30s
done
