从自动缩放中分离实例时出错
Error detaching Instances from Autoscaling
在尝试从 EC2 自动缩放中分离超过 50 个实例的列表时,我收到以下验证错误:
conn_as.detach_instances(autoScalingGroup.name,listOfInstances,decrement_capacity=True)
List exceeds the maximum number of instances to detach. Please retry
your request with fewer instances.
如何强制分离所有请求数量的实例?
注意:我使用的是 boto2
根据官方文档 AWS AutoScaling Limits、
You can use AttachInstances, DetachInstances, EnterStandby, and ExitStandby with at most 20 instance IDs at a time.
因此,您可以减少自己的数量或向 AWS 提出支持请求以检查他们是否可以增加您帐户的限制。
在尝试从 EC2 自动缩放中分离超过 50 个实例的列表时,我收到以下验证错误:
conn_as.detach_instances(autoScalingGroup.name,listOfInstances,decrement_capacity=True)
List exceeds the maximum number of instances to detach. Please retry your request with fewer instances.
如何强制分离所有请求数量的实例?
注意:我使用的是 boto2
根据官方文档 AWS AutoScaling Limits、
You can use AttachInstances, DetachInstances, EnterStandby, and ExitStandby with at most 20 instance IDs at a time.
因此,您可以减少自己的数量或向 AWS 提出支持请求以检查他们是否可以增加您帐户的限制。