Manage ArchiveTeam Warrior spot instances.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Manage ArchiveTeam Warrior spot instances.

Interactively check the output of your warrior instances and terminate if they're not doing anything.


ansible and boto are required for slayer to run. These can both be installed with pip, see


Clone this repository like so:

git clone
cd slayer

or download a zip.

You will need your AWS access key and secret key in the environment, or supplied on the command line.

You can get these by visiting the "security credentials" section of the menu in your AWS console.

In the environment:

export AWS_ACCESS_KEY_ID=<your access key>
export AWS_SECRET_ACCESS_KEY=<your secret key>

You can also set these on the command line:

./slayer --key=<your access key> --secret=<your secret key> --region=us-east-1

You'll also need to make your SSH key for the instances available with ssh-agent:

ssh-add ~/your-key.pem
ssh-add ~/your-other-key.pem

Running slayer

It's pretty simple:

./slayer --region=us-east-1

If everything's set up, this will start the interactive prompt, which will look something like this:


You'll be prompted before each major action; you can either type y or n - hitting return/enter is the same as typing n.

Other options:

usage: slayer [-h] [-k KEY] [-s SECRET] -r REGION [-l LINES]

Manage your warrior cluster.

optional arguments:
  -h, --help            show this help message and exit
  -k KEY, --key KEY     AWS key.
  -s SECRET, --secret SECRET
                        AWS secret.
  -r REGION, --region REGION
                        The AWS region to operate in.
  -l LINES, --lines LINES
                        Number of lines of console output to show from each