TL;DR
This paper tackles the challenge of minimizing cloud computing costs for users with fluctuating demands by proposing a novel multi-instance purchase decision-making model. It accounts for the varying costs and risks associated with on-demand, reserved, and spot instances, offering a framework to optimize spending under uncertainty.
What Problem Does This Paper Address?
Cloud computing offers flexible resource provisioning through different instance types: on-demand (stable but expensive), reserved (guaranteed but requires upfront commitment and uncertain future demand), and spot (cheapest but prone to interruption). Users face a complex decision: how to choose a mix of these instances to minimize their total cost, especially when their computing needs fluctuate over time and they need to account for the potential financial losses from spot instance interruptions. This paper aims to provide a systematic approach to this decision-making problem.
Methods
The authors develop a multi-instance purchase decision-making model that quantifies both explicit costs (purchase and usage fees) and implicit costs (risk losses due to spot instance failures). They define a total cost (TC) function that incorporates:
- Reserved Instances (RIs): Cost based on reservation fees and hourly usage, considering the number of instances subscribed and actually executed.
- Spot Instances (SIs): Cost based on bid price, the percentage of needs met by SIs, and their successful execution rate. The risk of interruption is modeled using a failure sensitivity factor.
- On-Demand Instances (OIs): Used to cover any remaining demand not met by RIs or SIs.
The model considers fluctuating business needs, dividing them into stable basic needs (met by RIs) and fluctuating business needs (met by multi-instances). They use MATLAB 7.0 for numerical analysis and optimization.
Datasets
The paper uses Amazon EC2 as a case study. Specific pricing data for ec2/eu-west-1.windows with SQL Standard. m3.medium instances is referenced. The authors also mention recording price fluctuations of SIs over 15,220 time points and present figures illustrating the frequency of Amazon's spot prices and the successful execution rate of SIs under different bid prices. No new datasets were introduced; rather, real-world pricing and performance data from Amazon EC2 were utilized.
Key Insights and Ideas
- Balancing Cost and Risk is Crucial: The core insight is that simply choosing the cheapest option (spot instances) isn't always optimal due to the inherent risk of interruption and the associated costs. A balanced approach is necessary.
- Demand Fluctuation Matters: The model explicitly accounts for varying demand, which is a realistic scenario for many businesses.
- Implicit Costs are Significant: The paper highlights that the financial impact of spot instance failures (implicit cost) can be substantial and must be factored into the decision.
- RI Utilization is Key: The study shows that the utilization rate of reserved instances significantly impacts their cost-effectiveness. Over-provisioning RIs can lead to higher average costs.
- Multi-instance Strategy Outperforms Single-Instance: The proposed multi-instance purchase decision-making model consistently demonstrates cost savings compared to relying on only one type of instance.
Key Results
The paper presents numerical results for three types of RIs (medium, light, and heavy utilization) using Amazon EC2 pricing.
- For medium utilization RIs, the optimal decision-making model achieved a minimum total cost (TC) of 9.213 * 10⁴ when Q=90 and β=1. This was significantly lower than relying solely on RIs (9.473 * 10⁴), SIs (1.508 * 10⁵), or OIs (6.285 * 10⁵).
- For light utilization RIs, the optimal decision-making model achieved a minimum TC of 7.237 * 10⁴ when Q=20 and β=1. This was substantially lower than other single-instance strategies.
- For heavy utilization RIs, the optimal decision-making model achieved a minimum TC of 9.458 * 10⁴ when Q=90 and β=1.
In all tested scenarios, the multi-instance purchase decision-making model resulted in the lowest total cost, demonstrating significant cost savings.
Limitations and Future Work
- Limitations:
- The model assumes that cloud service providers can always meet user demands, which might not hold true in all scenarios.
- The paper focuses on overall instance demand at a certain time rather than the demand of a specific job, which could be a simplification.
- The "failure sensitivity factor" (λ) is a parameter that users need to define, and its accurate estimation can be challenging.
- Future Work:
- The authors suggest further research could explore more complex demand fluctuation patterns and more sophisticated risk assessment methods.
- Investigating the impact of different cloud provider pricing models and service level agreements (SLAs) would be valuable.
- Developing more automated tools or algorithms to assist users in making these complex decisions would be a practical next step.
Summary updated