From a735b889834a829ba5f8bf82b72df75861b4bced Mon Sep 17 00:00:00 2001 From: Sean Kelly Date: Tue, 26 May 2015 21:52:20 -0500 Subject: [PATCH] Request spot instances The max price is set to $0.05. In us-west-1, one region consistently has a price of around $0.032 for m3.xlarge. --- master/master.cfg | 2 ++ 1 file changed, 2 insertions(+) diff --git a/master/master.cfg b/master/master.cfg index 5767609..55671c4 100644 --- a/master/master.cfg +++ b/master/master.cfg @@ -308,6 +308,8 @@ for line in open("slave-list.txt"): build_wait_timeout=build_wait_timeout, # notify_on_missing=['admin@rust-lang.org'], max_builds=int(ext['max_builds']), + spot_instance=True, + max_spot_price=0.05, tags = { 'Name': env + "-slave-" + name }) else: slave = BuildSlave(name, pw, max_builds=int(ext['max_builds']))