I'd like to launch an EC2 Windows instance, upload an EXEcutable & execute it (all in an automated fashion, this is important)
So far I was able to programmatically launch EC2 Windows instance & get its parameters (password / IP), now I'd like to find a way to upload this Executable (from my Windows machine or from my other EC2 Linux instance) & run it.
I thought about launching an RDP connection & using a macro software to upload & execute the file, but based on previous experiences this is a poor/fragile approach, to say the least.
I also thought about uploading this EXE to a server, then do something like this on Windows:
wget http://www.domain.com/my-file.exe
Except that Windows doesn't have wget!
So my question is: is there a way to programmatically upload & execute an EXEcutable in EC2 Windows instance?