简体   繁体   中英

Python API for Amazon EC2 that supports files

The command line tool ec2-run-instances takes a -f parameter to pass a file to the instance at run time. Are there any Python APIs for EC2 that do the equivalent?

I'm looking to customize a Wowza Media Server, which requires passing in a file when booting up a new image.

You can either use boto. Then you can possibly code a small script to open a file first and read it's contents and pass it as user-data.

Or try http://github.com/fschulze/mr.awsome

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM