A Hibernating Agent for Windows on Amazon EC2
This library is licensed under the Apache 2.0 License.
Running EC2HibernateAgentCompiler.ps1 will generate a C# executable called EC2HibernateAgent.exe. This is a wrapper for EC2HibernateAgent.ps1.
Follow the instructions here to install and run the agent โ i.e. place EC2HibernateAgent.exe and EC2HibernateAgent.ps1 in the directory "C:\Program Files\Amazon\Hibernate" of your Windows EC2 Spot instance, then run EC2HibernateAgent.exe from your instance user data.