tag:blogger.com,1999:blog-4122528037416019071.post1731543755904756364..comments2024-02-15T09:24:55.131+01:00Comments on My Blog: AWS EC2 Auto Scaling: External CloudWatch MetricJuanhttp://www.blogger.com/profile/05349958818108206809noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-4122528037416019071.post-23252724395202374492020-02-19T10:34:07.424+01:002020-02-19T10:34:07.424+01:00This comment has been removed by the author.DevOpshttps://www.blogger.com/profile/03930370916936996473noreply@blogger.comtag:blogger.com,1999:blog-4122528037416019071.post-7523692084987575142012-12-18T13:49:54.747+01:002012-12-18T13:49:54.747+01:00nice post, I Have one problem. I have configured t...nice post, I Have one problem. I have configured the autoscaling correctly. Its creating and deleteing the instances correctly but, all the servers are out of services. can u tell me the code will transfers among the services or not. Please help me how to debug its working or not <br /><br />Here is my configuration <br /><br />[root@ip-10-130-18-230 html]# as-create-launch-config best-buy-config --image-id ami-02fbbd50 --instance-type t1.micro --region ap-southeast-1 --group an_securitygroup --key chand_key --monitoring-disabled<br /><br />OK-Created launch config<br /><br />[root@ip-10-130-18-230 html]#<br /><br />[root@ip-10-130-18-230 html]# as-create-auto-scaling-group best-buy-group --launch-configuration best-buy-config --region ap-southeast-1 -availability-zones ap-southeast-1a,ap-southeast-1b --min-size 0 --max-size 10 --load-balancers test-bestbuy --health-check-type ELB --grace-period 120<br /><br />OK-Created AutoScalingGroup<br /><br />[root@ip-10-130-18-230 html]# as-put-scaling-policy ScaleUp -auto-scaling-group best-buy-group --adjustment=1 --type ChangeInCapacity --region ap-southeast-1 --cooldown 180<br /><br />arn:aws:autoscaling:ap-southeast-1:364525547809:scalingPolicy:7870a794-28f5-475e-90b4-310fc08919c8:autoScalingGroupName/best-buy-group:policyName/ScaleUp<br /><br />[root@ip-10-130-18-230 html]# as-put-scaling-policy ScaleDown -auto-scaling-group best-buy-group --adjustment=-1 --type ChangeInCapacity --region ap-southeast-1 --cooldown 180<br /><br />arn:aws:autoscaling:ap-southeast-1:364525547809:scalingPolicy:9a926be3-fa42-4565-8602-bb39d0dd3966:autoScalingGroupName/best-buy-group:policyName/ScaleDown<br /><br />[root@ip-10-130-18-230 html]# as-execute-policy ScaleUp --auto-scaling-group best-buy-group --region ap-southeast-1<br /><br />OK-Executed Policy<br /><br />[root@ip-10-130-18-230 html]#<br /><br />but the newly created server is out of sevice and code is also not come. i am using ebs instance.<br /><br />Please can u help....Anonymoushttps://www.blogger.com/profile/17928618161759006439noreply@blogger.com