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

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

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

android - How to create dynamically Fragment pager adapter -