【发布时间】:2012-09-17 10:11:42
【问题描述】:
我想列出当前在 Auto Scaling 组中运行的所有实例。用boto能做到吗?
ASG 和实例之间一定存在某种关系,因为 boto 在 boto.ec2.autoscale.group.AutoScalingGroup 类中具有 shutdown_instances 方法。
高度赞赏任何正确方向的指针!
【问题讨论】:
-
对于 boto3 用户 - boto3.readthedocs.org/en/latest/reference/services/…
标签: python amazon-web-services boto autoscaling