在线求救, 现在需要在AWS auto scaling时,新建的EC2可以自动绑定IP.在网上查了一个python的脚本,但是不知该怎样调用.
https://github.com/skymill/aws-ec2-assign-elastic-ip#
The script is configured using command line options. You can provide your AWS credentials directly on the command line, but the script also supports all boto credential config options and AWS instance profiles.
usage: aws-ec2-assign-elastic-ip [-h] [--version] [--region REGION]
[--access-key ACCESS_KEY]
[--secret-key SECRET_KEY] [--dry-run]
[--valid-ips VALID_IPS]