News for hackers. Stuff that matters.
Re:Gitlab More Than Doubles Valuation to $2.75B Ahead of Pla... by mcintyre1994 on Wednesday September 18, 2019 @04:57AM (#21003454)
Yep we see spot instances immediately created - there's no noticeable delay (compared to build times) against having permanent EC2 instances running. For our runners we want to use spot instances, the important part of the gitlab-runner register command are:

  --executor docker+machine \
  --machine-machine-driver amazonec2 \
  --machine-machine-options "amazonec2-request-spot-instance=true \
  --machine-machine-options "amazonec2-spot-price="
That last one means our bid defaults to the current on-demand price, which seems to get fulfilled immediately. FWIW we're using m4.large instances in eu-west-1a and according to the AWS UI the spot price has been perfectly consistent (at about 1/3 of on-demand) for at least the last 3 months so maybe that consistency is why it works so well for us.
Re:Gitlab More Than Doubles Valuation to $2.75B Ahead of Pla... by eblanshey on Sunday September 22, 2019 @01:34PM (#21042636)
Thanks, I'll try this out! Has it ever happened that it doesn't get created immediately for whatever reason? And if that happens, will it automatically cancel the request and/or pipeline within X minutes, so that it doesn't randomly get fulfilled like a month later?