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.
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.