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.
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.