4 ms·
spot instances can be interrupted anytime, there is very limited usage out of those.
by donald123 10y ago
spot instances can be interrupted anytime, there is very limited usage out of those.
- toomuchtodo 10y agoTrue, but you receive a two minute warning. Your app should be performing frequent checkpointing, and be ready to wrap up its work in two minutes. That's plenty of time for most workloads to end gracefully and notify your command and control. https://aws.amazon.com/blogs/aws/new-ec2-spot-instance-termination-notices/ https://aws.amazon.com/blogs/aws/new-ec2-spot-instance-termi...
- boulos 10y agoAgreed. On our 8 vcpu and higher instances, you can do ~16 Gbps. Even on AWS you can do upwards of 10 Gbps. So worst case scenario, you stream a ton of data at a recovery box. More likely, you just checkpoint along the way and save to PD / EBS (and then reattach the disk post preemption) or even do ~X Gbps to GCS / S3 and pickup whenever with a fresh VM. Disclaimer: I work on Preemptible VMs at Google.