Add support for launching and terminating EC2 instances


Add support for launching and terminating EC2 instances as well as the listing of them which had now been added

file attachments


whiterock wrote Jan 11, 2010 at 4:08 PM

Being able to launch, list, and terminate EC2 instances with this standalone .exe would be absolutely great!
The Amazon ec2 command line utilities require a Java installation, and it would be so much easier to be able to do it with a single exe.
If you implement it, it would be helpful to have all the options for launching an instance, including using a startup script or startup binary file.

wrote Feb 8, 2010 at 3:49 AM

wrote Feb 6, 2011 at 2:19 AM

whiterock wrote Feb 6, 2011 at 2:19 AM

I learned a bit of C# and enhanced the utility to support this functionality.
It provides a run command to start instances (with limited options), and a terminate command to terminate an instance.
I also added a couple of options to the instances command to list a specific instance and to get an output format that is easier to parse for instance data.
The code also includes the delete patch from Ted.
I updated the help with my enhancements.

As I don't know how to create a patch, I am including a zip file with the s3.exe and the source code.

As this is my first C# coding, please test carefully before relying on it!

wrote Feb 21, 2013 at 11:36 PM

wrote Oct 19, 2015 at 7:18 PM