A script to start a spot instance based on a template.
Provide instance type, AMI ID and an owner id, and the script will launch and instance naming it on the owner id and AMI id, and will return the instance ID and external IP
The tamplate used is a spot template (hence the name), but any template will do. The usage of the template is mainly to provide easier inclusion of keys, role and user data.