I needed something quick and dirty in php to launch an instance in AWS. Here is what I came up with. Feel free to tweak to your own needs.

We use tags for the machine name, deployment and machine type, so you may have to do a little editing to fit your AWS usage.

Tweet
submit to reddit