Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I'm developing an image processing application running on Windows on Amazon EC2. The application is currently a console app I'm starting manually on a few machines. I'm refactoring it into a Windows service and am trying to understand the best way to deploy and manage Windows services on a large scale clustered computer environment.

I realize that I can update a central machine, make a new AMI, and then start creating new instances with that new AMI, but feel like there has to be a better way to deploy, update and control (Start/Stop/Restart) Windows services on a large scale.

Are there any best practices for how to do this?

Thank you- Hg

share|improve this question

migrated from stackoverflow.com Oct 15 '11 at 11:06

This question came from our site for professional and enthusiast programmers.

2 Answers 2

I have not done this myself yet, but in the documentation there are ways to manage ec2 instances over the command line. I've read about people using the amazon monitoring service to program when servers are started/stopped.

Here's the link to the ec2 api: http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/

Good luck!

share|improve this answer

For "workhorse" types of applications, the pattern of launching new instances from a template and terminating old instances is arguably the simplest (if not that, then definitely in the top recommended patterns).

In these scenarios, the local hard drive is considered scratch space, and work is obtained from some off-server source (like a database, S3, or SQS, etc.) and results are stored back to something similar.

Also, this way, if one of your servers fails, you can just launch more from your AMI template to compensate.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.