Skip to content

Spot Reaper is a systemd service to monitor for AWS Spot Instance Termination Notifications.

License

Notifications You must be signed in to change notification settings

alex4108/spot-reaper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spot Reaper

GitHub issues GitHub forks GitHub stars GitHub contributors GitHub license GitHub All Releases

Spot Reaper is the PANIC! button that the OS presses when an AWS Spot Instance Termination Notificaiton arrives.

Installation

git clone https://www.github.com/alex4108/spot-reaper.git
sudo bash spot-reaper/install.sh

Spot Reaper will install to sysvinit (service) or systemd (systemctl) so you can stop/start it through the appropriate interface.

Once it's installed, put your handler script at /etc/spot-reaper/handler and ensure root has executible permission.

Management

Systemd

systemctl enable spot-reaper
systemctl start spot-reaper
systemctl status spot-reaper

Sysvinit

chkconfig spot-reaper on
service spot-reaper start

Details

Spot Reaper will run as a system service and monitor for spot termination notifications.

When a new spot termination arrives, the reaper will execute /etc/spot-reaper/handler. You can use this to implement any actions to take in the event a spot termination is about to arrive.

About

Spot Reaper is a systemd service to monitor for AWS Spot Instance Termination Notifications.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages