AWS PredSpot: Machine Learning for Predicting the Price of Spot Instances in AWS Cloud.

Authors

  • Alejandro Baldominos Universidad Carlos III de Madrid.
  • Yago Saez Universidad Carlos III de Madrid.
  • David Quintana Universidad Carlos III de Madrid.
  • Pedro Isasi Universidad Carlos III de Madrid.

DOI:

https://doi.org/10.9781/ijimai.2022.02.003

Keywords:

Cloud Computing, Machine Learning, Prediction, Prices, Forecasting

Abstract

Elastic Cloud Compute (EC2) is one of the most well-known services provided by Amazon for provisioning cloud computing resources, also known as instances. Besides the classical on-demand scheme, where users purchase compute capacity at a fixed cost, EC2 supports so-called spot instances, which are offered following a bidding scheme, where users can save up to 90% of the cost of the on-demand instance. EC2 spot instances can be a useful alternative for attaining an important reduction in infrastructure cost, but designing bidding policies can be a difficult task, since bidding under their cost will either prevent users from provisioning instances or losing those that they already own. Towards this extent, accurate forecasting of spot instance prices can be of an outstanding interest for designing working bidding policies. In this paper, we propose the use of different machine learning techniques to estimate the future price of EC2 spot instances. These include linear, ridge and lasso regressions, multilayer perceptrons, K-nearest neighbors, extra trees and random forests. The obtained performance varies significantly between instances types, and root mean squared errors ranges between values very close to zero up to values over 60 in some of the most expensive instances. Still, we can see that for most of the instances, forecasting performance is remarkably good, encouraging further research in this field of study.

Downloads

Download data is not yet available.

Downloads

Published

2022-03-01
Metrics
Views/Downloads
  • Abstract
    3
  • PDF
    2

How to Cite

Baldominos, A., Saez, Y., Quintana, D., and Isasi, P. (2022). AWS PredSpot: Machine Learning for Predicting the Price of Spot Instances in AWS Cloud. International Journal of Interactive Multimedia and Artificial Intelligence, 7(3), 65–74. https://doi.org/10.9781/ijimai.2022.02.003