ℹ️ Information: Manual Scaling is performed by explicitly adjusting the Desired capacity parameter of your Auto Scaling Group. After modifying this value and confirming the update, the ASG will automatically launch or terminate EC2 instances to match your specified capacity.
Once your Auto Scaling Group is created, the service automatically launches an EC2 instance according to your configuration. To verify this deployment:

ℹ️ Information: You should observe the Target Group linked to two targets - your original EC2 instance and the new instance created by the Auto Scaling Group.
Now we’ll configure the load testing application downloaded earlier:

Load Test20000100600 seconds0second

Return to fcaj-alb the copy DNS Name

Type DNS Name you copied, paste into Server name or IP

We set the frequency for each request:

View details of each successful or failed request: Right click to Load Test > Add > Listener > View Result Trees.

Summary of speed and error rate: Right click to HTTP Request > Add > Listener > Summary Reports

Finally, press Ctr + S key to save file before we starting test

In the tool bar, press Start button

While the test is running, return to the AWS Management Console:

💡 Pro tip: Focus on these five key metrics to understand your application’s performance under load:
ℹ️ Information: The charts display one line per selected instance. Selecting multiple instances allows you to compare their performance simultaneously, helping you understand how the Load Balancer distributes traffic.
To simulate cost optimization during off-peak hours:



⚠️ Warning: While the instance is being terminated, you should pause your load testing application to avoid potential errors.
ℹ️ Information: The ASG will automatically terminate an instance based on your updated configuration. After a few minutes, returning to the Load Balancer’s Resource map will show only one remaining target.

💡 Pro tip: Remember to restart your load testing program after the scaling operation completes to continue your testing.
After scaling down, you’ll receive an email notification from Amazon SNS:

Return to the EC2 Console to observe the impact on your remaining instance:

⚠️ Warning: This demonstration uses simple GET requests, but real-world applications typically involve more complex operations that consume significantly more CPU resources and may experience more dramatic performance impacts during scaling events.
🔒 Security Note: While manual scaling provides direct control over your infrastructure costs, it requires human intervention and monitoring, which can lead to delayed responses during unexpected traffic spikes. Consider implementing automated scaling policies for production workloads to maintain both performance and security.