Can't Be Late: Optimizing Spot Instance Savings under Deadlines
Zhanghao Wu, Wei-Lin Chiang, Ziming Mao, Zongheng Yang, Eric J. Friedman, Scott Shenker, Ion Stoica
Abstract
Cloud providers offer spot instances alongside on-demand instances to optimize resource utilization. While economically appealing, spot instances' preemptible nature causes them ill-suited for deadline-sensitive jobs. To allow jobs to meet deadlines while leveraging spot instances, we propose a simple idea: use on-demand instances judiciously as a backup resource. However, due to the unpredictable spot instance availability, determining when to switch between spot and on-demand to minimize cost requires careful policy design. In this paper, we first provide an in-depth characterization of spot instances (e.g., availability, pricing, duration), and develop a basic theoretical model to examine the worst and average-case behaviors of baseline policies (e.g., greedy). The model serves as a foundation to motivate our design of a simple and effective policy, Uniform Progress, which is parameter-free and requires no assumptions on spot availability. Our empirical study, based on three-month-long real spot availability traces on AWS, demonstrates that it can (1) outperform the greedy policy by closing the gap to the optimal policy by 2× in both average and bad cases, and (2) further reduce the gap when limited future knowledge is given. These results hold in a variety of conditions ranging from loose to tight deadlines, low to high spot availability, and on single or multiple instances. By implementing this policy on top of SkyPilot, an intercloud broker system, we achieve 27%-84% cost savings across a variety of representative real-world workloads and deadlines. The spot availability traces are open-sourced for future research. 1
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 25df973d-c636-43bd-bf0f-2de6a690031bCited by top-tier papers4
- Decouple and Decompose: Scaling Resource Allocation with DeDeZhiying Xu, Minlan Yu, Francis Y. YanOSDI 2025 · 5 citations
- Opportunistic Scheduling for Optimal Spot Instance Savings in the CloudNeelkamal Bhuyan, Randeep Bhatia, Murali S. Kodialam, T. V. LakshmanINFOCOM 2026 · 2 citations
- Exploiting Spot Instances for Time-Critical Cloud Workloads Using Optimal Randomized StrategiesNeelkamal Bhuyan, Randeep Bhatia, Murali S. Kodialam, T. V. LakshmanINFOCOM 2026 · 1 citation
- DistRS: Disaggregated Reward Service for RLVR with Batch-Level ConstraintRuidong Zhu, Mingcong Han, Yinmin Zhong, Wencong Xiao et al.NSDI 2026 · 1 citation
Builds on5
- Bamboo: Making Preemptible Instances Resilient for Affordable Training of Large DNNsJohn Thorpe, Pengzhan Zhao, Jonathan Eyolfson, Yifan Qiao et al.NSDI 2023 · 144 citations
- SkyPilot: An Intercloud Broker for Sky ComputingZongheng Yang, Zhanghao Wu, Michael Luo, Wei-Lin Chiang et al.NSDI 2023 · 135 citations
- Providing SLOs for Resource-Harvesting VMs in Cloud PlatformsPradeep Ambati, Iñigo Goiri, Felipe Vieira Frujeri, Alper Gun et al.OSDI 2020 · 101 citations
- Snape: Reliable and Low-Cost Computing with Mixture of Spot and On-Demand VMsFangkai Yang, Lu Wang, Zhenyu Xu, Jue Zhang et al.ASPLOS 2023 · 18 citations
- Modeling The Temporally Constrained Preemptions of Transient Cloud VMsJ. C. S. Kadupitige, Vikram Jadhao, Prateek SharmaHPDC 2020 · 16 citations
Related papers
- SkyServe: Serving AI Models across Regions and Clouds with Spot InstancesZiming Mao, Tian Xia, Zhanghao Wu, Wei-Lin Chiang et al.EuroSys 2025 · 16 citations
- Making Cloud Spot Instance Interruption Events VisibleKyunghwan Kim, Kyungyong LeeWWW 2024 · 6 citations
- Machine Learning on Volatile InstancesXiaoxi Zhang, Jianyu Wang, Gauri Joshi, Carlee Joe-WongINFOCOM 2020 · 17 citations
- Cremes: Cost-Efficient and Reliable Microservice Execution on Spot InstancesLiao Chen, Chenyu Lin, Junlin Chen, Shutian Luo et al.HPDC 2026
- Waiting game: optimally provisioning fixed resources for cloud-enabled schedulersPradeep Ambati, Noman Bashir, David Irwin, Prashant J. ShenoySC 2020 · 14 citations
