是否可以在
python中使用boto3创建一个ec2实例?
Boto3文档在这里没有帮助,我在网上找不到任何帮助文件.请提供一些示例代码/链接.
解决方法
API已经更改,但文档中正确
# Boto 3 ec2.create_instances(ImageId='<ami-image-id>',MinCount=1,MaxCount=5)
链接到文档:
http://boto3.readthedocs.org/en/latest/guide/migrationec2.html#launching-new-instances