I need to create Jenkins agent cloud which runs under Windows VMs on Amazon EC2.
My view of this is simple scenario:
I have few of pre-configures AMIs, each of VM have specific environment which matches one of my projects. I have few projects to build often enough to keep VM running. But some builds will run weekly, others mounthly... Jenkins should be able to start VM automatically when project should be built and terminate VM when build is completed. I have several BCB projects and many .NET projects, Windows as slave VM OS is absolutely necessary.
It is not a problem to prepare pre-configured AMI where Jenkins slave is installed and configured. But I have no idea how to manage such slave VMs from master (run/terminate them)
I found Amazon EC2 plugin which can be used to run and terminate VMs. But it also tries to install and run slave there. Unfortunately, windows slaves are not supported yet. Is there a way to use pre-configured AMIs or let Amazon EC2 plugin install agent on Windows VM?
I tried to use TeamCity also - it can run pre-configured windows AMI and build projects there (exact my scenario). But I need too many VMs and my boss is not ready to pay for licenses (3 free licenses are not enough)
Is it possible to use Jenkins for my scenario? Is it any other alternatives?