ℹ️ 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:

Manual Scaling Test (this can be customized as needed)

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:

With reduced capacity, you may notice performance degradation when accessing your application through the Load Balancer’s DNS:

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

ℹ️ Information: The monitoring data clearly shows that the remaining instance is now handling approximately double the network traffic, with CPU utilization nearly quadrupled compared to the previous balanced state.
⚠️ 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.