Skip to content

Manage spot instances in a cloud environment

License

Notifications You must be signed in to change notification settings

julianpistorius/spotmanager

 
 

Repository files navigation

GPLv3 License CI Coverage Status

Spotmanager

Manage spot (preemptible) instances in a cloud environment. The code will query for the existence of running instances, retire from the condor queue servers that have been alive for a while (to prevent jobs running when machines are pulled down), will pull down idle machines and finally create new ones.

Install

The best is to install inside a virtualenv

python3 -m venv spotmanager
cd spotmanager
source bin/activate
pip install --upgrade pip
pip install wheel
pip install git+https://github.com/egede/spotmanager.git

The code can run from the controller script. Do

controller --help

to see the options. Almost for sure code will need to be modified to suit an individual use.

About

Manage spot instances in a cloud environment

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 94.1%
  • Shell 5.9%