2
votes
1answer
414 views

Run python script inside /etc/rc.local doesn't work

I modified /etc/rc.local on my Amazon AWS AMI #!/bin/sh touch /var/lock/subsys/local # setup hostname properly /usr/bin/python /root/automation/initSystem.py so last line calls Python script that ...
1
vote
2answers
310 views

How do I install Python 2.7.4 OR 3.3.1 on an Amazon AMI?

I have an EC2 instance running a standard AMI, and have exhausted the limit of my abilities with yum and similar avenues to update python to 2.7.4 or 3.3.1 for a library I need to use. Unfortunately, ...
3
votes
1answer
288 views

Dealing with upgrade of libevent on Amazon AWS

I am building an application (in Python) on Amazon EC2 that has a following dependency chain: gevent-websocket ---> gevent ---> libevent The last one (libevent) got upgraded on Sunday and ...
1
vote
1answer
722 views

Using boto, is there a way to create an AMI from a snapshot ID?

There's a command in the AWS EC2 API called ec2-register or ec2reg which has an argument -s for snapshot ID. You are able to create an image from a snapshot. I'd like to be able to do this in Python ...