I'd been using EC2 spot instances a lot to do stock analysis stuff, but it was a pain to specify and wait for the AMI instances to boot (aws cli is a bit low level). So I wrote this script to automate the process and pipe the output to stdout for use in other scripts.