Selling Reserved Instances in Cloud Computing

Changjun Wang, Weidong Ma, Tao Qin, Xujin Chen, Xiaodong Hu, Tie-Yan Liu

Abstract

Current cloud infrastructure markets present a stark choice between expensive, flexible on-demand instances and discounted, rigid long-term reserved instances. This paper addresses the gap for users with predictable, mid-term workloads by proposing a flexible reservation system. We introduce two posted-pricing mechanisms that allow users to reserve virtual machines for any duration and start time. By utilizing an exponential pricing function based on real-time utilization, these mechanisms provide immediate pricing and achieve a competitive ratio that is theoretically optimal within a constant factor, maximizing social welfare in a dynamic environment.

Introduction

In the current cloud computing landscape, dominated by providers like Amazon EC2 and Microsoft Azure, users typically navigate two pricing extremes. "Pay-as-you-go" models offer high flexibility but come at a significant cost premium. Conversely, "Reserved Instances" offer substantial discounts but require rigid commitments, often spanning one to three years.

This binary system creates a significant inefficiency for users with predictable workloads that do not span years—for instance, a data scientist needing a cluster of GPUs for a specific three-week training phase. This paper proposes a new framework for selling reserved instances that is flexible, prompt, and socially optimal. The goal is to design a system where users can request any number of instances for any duration and receive an immediate "take-it-or-leave-it" price.

Problem Formulation

The authors identify three core requirements for an effective flexible reservation system:

  1. Flexibility: The system must support arbitrary start times and durations.
  2. Promptness: Users require an immediate price quote upon request to make timely scheduling decisions.
  3. Social Optimality: The mechanism should aim to maximize the total value generated for all users (social welfare) rather than focusing solely on short-term provider revenue.

Proposed Mechanisms

The research moves away from traditional auction-based models, which often lack promptness, in favor of Posted Pricing. In this model, the provider calculates a price based on current and projected cloud utilization. The authors propose two primary mechanisms:

Mechanism 1: Tight Jobs

This mechanism is designed for jobs where the reservation interval is exactly the length of the job. It employs an exponential auxiliary function to determine price:

$$f(x) = (3kT + 1)^x - 1$$

As the cloud's utilization ($x$) increases, the price rises exponentially. This serves as a natural filter, protecting capacity for potentially higher-value jobs that may arrive later in the observation window.

Mechanism 2: Delayable Jobs

This is a more generalized version where users provide a window of time (e.g., "I need 10 hours of compute time sometime between Monday and Friday"). The system searches for the specific time slot within that window with the lowest utilization—and thus the lowest price—and offers that slot to the user.

Theoretical Analysis and Results

As a theoretical study, the paper evaluates these mechanisms through rigorous mathematical proofs and competitive analysis. This framework compares the performance of the proposed online algorithms against an "all-knowing" offline algorithm that can see all future requests.

Key Findings

  • Competitive Ratio: Both mechanisms achieve a competitive ratio of $O(\ln(kT))$. Specifically, the ratio is bounded at $1 + 12 \ln(3kT + 1)$. This indicates that the efficiency of the system scales logarithmically with the range of job values ($k$) and job lengths ($T$).
  • Theoretical Optimality: The authors establish a lower bound showing that no deterministic algorithm can achieve a competitive ratio better than $\ln(2kT)$. This confirms that the proposed mechanisms are optimal within a constant factor.
  • Incentive Compatibility: The mechanisms are designed to be "truthful," meaning users have no incentive to misrepresent their job requirements or start times to secure a lower price.

Discussion and Future Work

The power of exponential pricing lies in its ability to manage capacity dynamically without the need for complex auctions. By providing immediate feedback, the system meets the practical needs of cloud users while maintaining high theoretical efficiency.

However, several areas for future research remain:

  • Job Length Uncertainty: The current model assumes users know their exact required duration. Future iterations could incorporate provider-side estimation for users who are unsure of their needs.
  • Market Competition: The study focuses on a single provider. Exploring how these pricing strategies perform in a competitive multi-provider market is a logical next step.
  • Revenue Maximization: While social welfare is a standard metric for economic efficiency, many providers may prioritize revenue maximization, which would necessitate a different pricing strategy.

By providing a mathematically sound approach to flexible reservations, this work offers a path toward more efficient and user-friendly cloud resource allocation.

Summary updated

BibTeX
@inproceedings{wang2015selling,
  author = {Changjun Wang and Weidong Ma and Tao Qin and Xujin Chen and Xiaodong Hu and Tie-Yan Liu},
  title = {{Selling Reserved Instances in Cloud Computing}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2015},
}
Figure