By AWS Spot, I am referring to Amazon EC2 Spot – Save up-to 90% on On-Demand Prices , which offers reduced prices at the cost of: at any time, you may receive a termination notice and be shut down in two minutes.
In my limited understanding, good tasks for Spot are tasks that are:
- compute intensive
- quick to start up
- can write out full data in 2-minutes
I am wondering if there is a way to take advantage to this by compiling Rust to run on a minimal Linux distro (perhaps via musl) and serializing everything out to S3 or EBS on termination notification.
Has anyone done anything like this ?