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

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -