python - How to create an ec2 instance using boto3 -
is possible create ec2 instance using boto3 in python? boto3 document not helping here, , couldn't find helping documents online. please provide sample codes/links.
the api has changed it's right there in documentation
# boto 3 ec2.create_instances(imageid='<ami-image-id>', mincount=1, maxcount=5)
link documentation: http://boto3.readthedocs.org/en/latest/guide/migrationec2.html#launching-new-instances
Comments
Post a Comment