i have 4 instances already in AWS load balancer
I want to create a policy to add a couple of servers always when one of my instances shoots the cpu beyond 75%, minimum 2 instances and maximum 8 instances.
as-create-auto-scaling-group autoscale_api_group --launch-configuration autoscale_api_config --availability-zones us-east-1d --min-size 2 --max-size 8 --load-balancers api-lb --health-check-type EC2 --grace-period 2700 --desired-capacity 4
but this command starts making 2 more instances, the moment I run the command, I mean it shouldn't i haven't even specified the policy.