Is Rust a good match for AWS Spot (and if so, what crates?)

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 ?

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.