Deliverables: Source code as a Visual Studio 2012 Project and the compiled code.
The application runs as a Windows Service.
Goal of the application:
Each day, at a certain time, the application checks if some servers are running. If a server is running, send an email to the responsible with a “prevent shut-down” link. If no action is performed within an hour, stop the EC2 instance. If the “prevent shut-down” link has been clicked, do not stop the instance.
A list of server and e-mail of the responsible is saved in a flat file (preferably an ini or xml file different to the config file).
Additional general configuration such as “time of the shut down”, connection to the AWS account, etc should be stored in a config file.
Emails are sent using the Amazon Email service (Amazon SES).