I also used this brief window of opportunity as a fun experiment in learning Ansible. As a result, I've published a repo which automates setting up LTC mining on g2.2xlarge instances.
If anybody's curious to spin up a GPU instance and dabble with this, this greatly facilitates downloading, compiling, and installing the CUDA drivers, and setting up the LTC miners. Amazon has a $100 credit available too, if the current spot instance prices are prohibitive.
I used your script to help me figure out how to dig for DogeCoin. Ultimately I wound up doing everything on Screen. Did 1, 3, 5, and finally 1 instances, a few hours at a time. I've stopped mining for now, going to wait until I set up my own rig and maybe create a new AltCoin. https://gist.github.com/benatkin/7868889
http://github.com/adammeghji/ansible-ltc-mining-on-ec2
If anybody's curious to spin up a GPU instance and dabble with this, this greatly facilitates downloading, compiling, and installing the CUDA drivers, and setting up the LTC miners. Amazon has a $100 credit available too, if the current spot instance prices are prohibitive.