Strategic Bidding For Cloud Resources Under Dynamic Pricing Schemes
Strategic Bidding For Cloud Resources Under Dynamic Pricing Schemes
Strategic Bidding For Cloud Resources Under Dynamic Pricing Schemes
K.Sowmya1, R.P.Sundarraj2
Department of Management Studies
IIT Madras
1
[email protected], [email protected]
Abstract— Cloud computing offers computing and storage The availability of different pricing schemes has in turn
services which can be dynamically developed, composed and led to a broader set of options to choose for a cloud user.
deployed on virtualized infrastructure. Cloud providers This fact is further magnified by newer schemes of pricing
holding excess spare capacity, incentivize customers to such as the dynamic pricing where users bid for compute
purchase it by selling them in a market (spot market), where resources on the cloud. Users need to think strategically
the prices are derived dynamically based on supply and before choosing a pricing model or placing their bids.
demand. The cloud providers allow clients to bid on this excess The purpose of this paper is to specifically examine the
capacity by allocating resources to bidders while their bids behavior of bidders in a dynamic cloud resource pricing
exceed a intermittently changing dynamic spot price. In this
environment and propose strategies that can serve as a
paper we have used game theory to model the bidding
reference for bidders intending to procure compute resources
strategies of bidders in a spot market who are attempting to
procure the cloud instances, as a prisoner dilemma game. We on the cloud. A game theoretic approach has been taken to
then analyze real time data from Amazon EC2 spot market to model the set of strategies available to bidders. We have
validate this model. In a single shot prisoner dilemma game proposed a Prisoner Dilemma game to model the bidding
mutual defection is the Nash equilibrium. We find that a strategies of the bidders. We then identify the conditions
majority (approx. 85%) of bidders choose to Defect which is under which this game can be modeled as a Prisoner
in-line with the single shot classical prisoner dilemma game. Dilemma game. For this we have resorted to simulation to
However considering that most bidders in a spot market are identify the ranges within which the game can be modeled as
repetitive bidders, we propose a Co-operation strategy which is a Prisoner Dilemma game. We then evaluate our model
in-line with the Iterated Prisoner Dilemma Game. using real-time spot price data. Next we examine the current
strategies of the bidders from this data to understand the
Keywords- Cloud Computing; Spot pricing; Dynamic pricing; strategies that are being adopted by bidders in real-time.
Bidding; Prisoner Dilemma; Repeated Games Section 2, provides a review of literature of the cloud
pricing and dynamic pricing literature. Section 3, provides
I. INTRODUCTION
the context for Spot pricing. In section 4, we model the
As per the NIST definition, Cloud computing is a model bidding strategies as a Normal form Game and compare it
for enabling convenient, on-demand network access to a with the Classic prisoner dilemma game. The simulation
shared pool of configurable computing resources (e.g., model used to check for the Prisoner dilemma condition is
networks, servers, storage, applications, and services) that also described in Section 4. In section 5, we provide our
can be rapidly provisioned and released with minimal observations and results. Section 6 provides the summary
management effort or service provider interaction [1]. and scope for future work.
Despite some well-known fears like security, trust and
privacy, cloud computing continues to draw more adopters. II. LITERATURE REVIEW
From the recent industry reports [2] one can clearly infer that
A. Cloud Pricing
the emerging network of cloud players is bound to expand
[3]. This is primarily because of the flexibility that it offers Much before the advent of Cloud Computing, online
to organizations to meet variable demand without any fixed markets for computational resources have been proposed by
investment in capacity. These online businesses experience many researchers. One of the earliest works is the
fluctuations in the number of users of their platforms. It is POPCORN MARKET project by Regev and Nisan [4].
thus necessary for these businesses to support any sudden Since then many economic models for sharing computing
surge in demand without incurring excessive upfront resources have been formulated. In the case of Cloud service
investments in computing infrastructure. The expansion in providers, every provider has its own pricing scheme. For
the size and number of cloud players would in turn create a example, Salesforce uses “pay per use” scheme [5]. Amazon
demand for robust and efficient pricing models, as large and uses “pay-per-use fixed pricing” say first 50 TB / Month of
mid-size cloud vendors try to capture greater market share. Storage used costs $0.150 per GB [6]. Some others use “pay
Selection of a pricing policy for the cloud is complicated due for the resources” that are assessed based on speed of
to the constant fluctuation in the number of users and the bandwidth or amount of storage (storage or bandwidth size).
heterogeneous nature of their demand. This has resulted in This method is more common in Platform as a Service
adoption of different types of pricing models by the cloud (PaaS) and Infrastructure as a Service (IaaS) deployments.
vendors. According to Weinhardt et al. [5], the most prevalent method
of pricing in cloud is pay per use (also known as the on-
26
be low, i.e when both players bid at BL, the resulting spot Rewriting equations (1) and (2) based on the payoffs given
price cannot exceed BL, hence the payoffs in cell A (in in the game in Figure 1, we have
Figure 1) for both players is –BL. Similarly, when both
players defect by bidding high (Cell D), the resulting spot ሺെܤ ɒሻ െ െ ሺെܤ െ Ʉሻ (3)
price determined by the cloud vendor is also high. Cells B
and C represent cases where one player defects and other െ ሾሺെܤ െ Ʉሻ ሺെܤ ɒሻሿȀʹ (4)
player co-operates. Since bidding for spot instances is like a
(N+1) auction, the lowest of the two bid values is finally 1) Computing BL, BH, ߟܽ݊݀߬
chosen as the bid price. In this case the lowest bid price is As per the definition in previous section, BL is chosen
BL. In addition the Defecting player gets an advantage from a range of values between the average spot price and
captured by and the Co-operating player gets a the minimum spot price. Similarly BH is chosen from a
disadvantage captured by . range of values between average spot price and maximum
spot price. The advantage of Defecting () is computed as
Player 2 the difference between the Bid price (BH) and actual Spot
Price. The disadvantage due to Co-operating is computed as
Co-operate Defect the difference between the On-Demand price and the Bid
(place a low bid) (place a high bid)
price (BL), since it is assumed that when spot users who get
(-BL, -BL) (-BL- , -BL+) intermittently terminated would continue their computing
Co-operate
jobs on an on-demand instance.
Player 1
27
= OD – BL TABLE 1: RESCALING FIGURE 6 TO SPECIFIC VALUES OF ON-DEMAND
OD = on-demand price PRICE AND NUMBER OF BIDDERS a
% of On- % of Bid Spot BD * Bidder
By observing real-time data from Amazon EC2 Spot the demand Distribution price N/100 Strategy
price (OD) (BD) b c
values for , and OD were determined. The simulation
results yielded a of 0.9. Increasing beyond 0.9 failed to
satisfy the conditions (3) and (4). However, decreasing 0 - 30% - - - NA
below 0.9 continued to meet the conditions (3) and (4). To 30-39% 9.00 0.456 5.67 Low
test for different values of < 0.9 , we used an Iterated Grid Bidder
Search Method. 40-49% 5 0.57 3.15 High
3) Testing using iterated Grid Search Method Bidder
50-59% 14 0.684 8.82 High
An iterated Grid Search Method was used to choose Bidder
different values of BH and BL in accordance with 60-69% 14 0.798 8.82 High
Equation(5) and (6). Bidder
70-79% 9 0.912 5.67 High
BH = – ---- (5) Bidder
80-89% 10.2 1.026 6.426 High
Bidder
BL = – ---- (6) 90-99% 3.5 1.14 2.205 NA
28
High Bid or Low Bid, based on whether it is above or below
the mean ().
Clearly from Table 1, we can observe that most bidders
about (85%) choose to Bid High (indicative of Defection)
and a meager number (15%) choose to Bid Low (indicative
of Co-operation).
A. Coherence with Single shot Prisoner Dilemma Game
In a single shot prisoner dilemma game mutual
defection is the equilibrium strategy, i.e., both the players (if
they are self-interested and rational) should choose to
Defect by bidding high. Results from our analysis indicate
that the bidders who are competing for spot instances
behave in-line with the game-theoretic prediction by
predominantly Defecting. This indicates that the bidders are
bidding strategically. This result is acceptable only for
Figure 4: A plot of C, A, D, B for different values of obtained from
multiple simulation runs
bidders who bid on the spot market only once. However,
bidders on a spot market are not one-time bidders, the
bidders need to be conscious of the fact that they would be
V. OBSERVATIONS AND RESULTS bidding in multiple rounds. Hence, a strategic bidder should
Comparing the equilibrium solution in the previous look at bidding in multiple rounds which can be captured in
section with the actual bidding strategies in real-time is the form of an iterated prisoner dilemma.
crucial to understand and create a blueprint of bidder B. Strategic Bidding Using Iterated Prisoner Dilemma
behavior while procuring cloud services electronically. To Most bidders on a spot market may not be first time
achieve this we have used real time bidding information of users; hence the co-operation may be due to the fact that
users in a spot market from Amazon EC2 (one of the largest they are bidding in multiple rounds, which can be modeled
players in the cloud services market). Figure 6 provides a as a repeated or an iterated prisoner dilemma game. There
snapshot of Spot Bid distribution as a percentage of On- are results which indicate that repetition yields co-operation
Demand prices. On the outset we can infer from the chart in in a Prisoner Dilemma game [17]. The optimal (points-
Figure 6 that, a significant number of bidders are bidding maximizing) strategy for the one-time PD game is simply
either close to or above the on-demand price itself. defection; as explained above, this is true whatever the
composition of opponents may be. However, in the iterated-
PD game the optimal strategy depends upon the strategies of
likely opponents, and how they will react to defection and
cooperation. The best deterministic strategy was found to be
tit for tat. The strategy is simply to cooperate on the first
iteration of the game; after that, the player does what his or
her opponent did on the previous move. Co-operation
tended to be collectively stable in an iterated prisoner
dilemma game.
Whether cooperation is the best strategy, depends to a
great extent on the probability (generally indicated by )
that the players will meet again [17] which is also called the
discount parameter. When the bidders have a negligible
chance of meeting again is low– each interaction can in
Figure 6: Snapshot from Amazon EC2: Spot Bid distribution as a
percentage of OnDemand price. effect be modeled as a single-shot Prisoner's Dilemma
game, and the strategy "ALL DEFECT" is the most
However we cannot directly compare the results from appropriate, because even if one of the bidder decides to
section 3 with that depicted by Figure 6. Hence we have re- cooperate, then a rational self-interested opponent will try to
baselined the chart using the real-time on-demand price and opportunistically exploiting that by defecting. But in the
the corresponding average spot price from the data set used iterated Prisoner Dilemma the total value of repeated co-
in the simulation model in section 3. Table 1 indicates the operations in repeated interactions can become larger than
re-baselined data. We then look for rows that fall within the the benefit of a single Defection (tit for tat strategy).
BLmin and BLmax values, which is further categorized as a In the context of bidding for the Spot Instances, when
the bidders realize that mutual co-operation will yield
29
greater benefits in the long run and start bidding low , the [7] A. Anandasivam and M. M. Premm, "Bid price control and dynamic
pricing in clouds," Proceedings of the European Conference on
overall spot price set by the vendor starts to decline. This Information Systems, pp. 1-14, 2009.
can cause a cyclical effect and in a market comprising of [8] M. Mihailescu and Teo.Y, " Dynamic resource pricing on federated
strategic bidders the spot price can eventually be as low as Clouds.," Proceedings of 10th IEEE/ACM International Conference
the vendor’s reserve price. on Cluster, Cloud and Grid Computing (CCGrid) , pp. 513-517, 2010.
[9] W. Reinartz, "Customising prices in online markets," European
C. Triggering Co-operation Business Forum, pp. 35-41, 2001.
Even when the discount parameter is high enough to [10] Y. Narahari, C. Raju, K. Ravikumar and S. Shah, " Dynamic pricing
attract reciprocal cooperation there is still a question of models for electronic business.," Sadhana(30), pp. 231-256, 2005.
whether and how cooperation might start. In the current case [11] M. Baughman and S. S. Siddiqi, " Real-time pricing of reactive
power: theory and case study results.," IEEE Transactions on Power
of bidding for spot instances, there is a degree of Systems (6:1), pp. 23-29, 1991.
predictability, since the spot price history data for the last 90 [12] A. Andrzejak, D. Kondo and S. Yi, "Decision model for cloud
days is publicly available. Bidders in a spot market can use computing under SLA constraints.," Proceedings of IEEE
this information to choose their Bidding Strategy. International Symposium on Modelling, Analysis & Simulation of
Computer and Telecommunication Systems (MASCOTS), pp. 257--
266, 2010.
VI. CONCLUSION [13] B. Javadi, R. Thulasiram and R. Buyya, "Statistical Modeling of Spot
Instance Prices in Public Cloud Environments.," Proceedings of
In this paper we have modeled the bidding strategies of Fourth IEE International Conference on Utility and Cloud Computing
spot users as a normal form game. We have then shown that , pp. 219-228, 2011.
for a band of bid values the game is equivalent to the [14] S. Wee, "Debunking Real-Time Pricing in Cloud Computing.,"
Proceedings of 11th IEEE/ACM International Symposium on Cluster,
prisoner dilemma game. We then analyze the real-time Cloud and Grid Computing (CCGrid), pp. 585 -590, 2011.
bidding strategies of bidders to understand if they are [15] O. Agmon Ben-Yehuda, M. Ben-Yehuda, A. Schuster and D. Tsafrir,
already bidding strategically. Most bidders choose the "Deconstructing Amazon EC2 spot instance pricing," IEEE Third
Defection strategy which is the equilibrium strategy in a International Conference on Cloud Computing Technology and
single shot prisoner dilemma game. However, users of a Science (CloudCom), pp. 304-311, 2011.
spot market who typically have a non-negative discount [16] Y. Shoham and K. Leyton-Brown, Multi Agent Systems, 2009.
[17] R. Axelrod, The Evolution of Cooperation, Basic Books, 1984.
factor will need to look at the game as an iterated prisoner
dilemma, in which Co-operation has shown to be a
collectively stable strategy. Hence a bidder will benefit in
the long run by cooperating rather than defecting.
As part of future work we intend to look at
generalizing the PD factor as a function of mean. The
perspective of vendor in determining the spot prices by
observing the strategic bidding behavior of bidders is
another potential area for future research. Bidding strategies
in the presence of irrational bidders could be a potential
future research area.
REFERENCES
[1] P. Mell and T. Grance, "Effectively and Securely Using the Cloud
Computing Paradigm," NIST, Information Technology Laboratory,
2009.
[2] Gartner Predicts, "Top Predictions for IT Organizations and Users for
2012 and Beyond,," Gartner.
[3] J. Weinman, "The future of Cloud Computing.," Proceedings of IEEE
Technology Time Machine Symposium on Technologies Beyond
2020 (TTM) , pp. 1-2, 2011.
[4] O. Regev and N. Nisan, "The POPCORN market. Online markets for
computational resources," vol. (28:1), no. 177--189., 2000.
[5] C. Weinhardt, A. Anandasivam, B. Blau and J. Stößer, "Business
models in the service world.," IEEE IT Professional, Special Issue on
Cloud Computing, p. 28–33, 2009.
[6] "Amazon Simple Storage Service (Amazon S3) Last accessed on July
13th, 2012.," [Online]. Available: http://aws.amazon.com/s3/.
[Accessed 13 July 2012].
30