News for hackers. Stuff that matters.
Re:We use Kubernetes and spot instances to reduce EC2 billin... by toomuchtodo on Monday February 24, 2020 @10:27PM (#22410679)
This is run of the mill for job schedulers (Nomad, Mesos/Marathon, Globus), it’s just more accessible with k8s, containers, and VM spot pricing than historically.

As you mention, definitely don’t do this where persistence is paramount (cache that is expensive to backfill upon recovery, database, etc) but it’s just fine for transient workloads or workloads you can rapidly and safely preempt and resume.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by 3fe9a03ccd14ca5 on Monday February 24, 2020 @10:33PM (#22410706)
If your instance is stateless, and your app can easily self-heal, there’s lots of computing paradigms you can explore. Serverless/function is also an option.

Of course, at the end of the day rarely is something ever truly stateless.

Re:We use Kubernetes and spot instances to reduce EC2 billin... by halbritt on Monday February 24, 2020 @11:06PM (#22410828)
Eh, I'm currently running an old version of DCOS which does a pretty terrible job of scaling down. Much more than just a scheduler is required to make this work well.
Re:We use Kubernetes and spot instances to reduce EC2 billin... by ec109685 on Tuesday February 25, 2020 @12:50AM (#22411203)
Yeah, your fleet can become fragmented.