我configuration了一个自动调节策略来调出8个实例,但不会超过2个。
以下是AWS的政策描述:
bash# /opt/aws/apitools/as/bin/as-describe-policies SCALING-POLICY mygroup Up 8 ExactCapacity 5 arn:aws:autoscaling:us-east-1:xxxxxxxxxxxx:scalingPolicy:xxxxxxxxxxxxxxx:autoScalingGroupName/mygroup:policyName/Up
我打电话给这样的政策:
bash# /opt/aws/apitools/as/bin/as-execute-policy Up --auto-scaling-group mygroup
看看扩展活动证实了我所看到的:它只是试图调出2个实例:
bash# /opt/aws/apitools/as/bin/as-describe-scaling-activities --auto-scaling-group mygroup --show-xml <AutoScalingGroupName>mygroup</AutoScalingGroupName> <Cause>At 2012-06-05T17:05:25Z a user request executed policy Up changing the desired capacity from 0 to 2. At 2012-06-05T17:05:37Z an instance was started in response to a difference between desired and actual capacity, increasing the capacity from 0 to 2.</Cause>
as-describe-scaling-activities的输出没有错误。 我现在只有一个自动缩放组。
任何线索,我可能做错了什么? 我删除/重新创build/重命名组,策略和启动configuration,但我从来没有看到超过2个实例。