What price will I ultimately pay for an instance of ASS and will I raise prices?

I would like to create an autoscale group [ASG] with point instances as a complement to my production ASG, which has instances on request.

After reading this post , I would like to simulate it, but perhaps without dynamic bids and automatic scaling in the beginning.

So, I was wondering if I would only set the bid price for spot instances equal to the price on demand of the instance that I use [m3.large], I would pay the lowest bid [for this case, in the region, at this hour ] ??

So, if the spot price is $ 0.01 and my maximum bid in ASG is $ 0.067, I would pay $ 0.01 for every random case that launches ASG, right? [This is what I understood from AWS docs, but I would like confirmation)

And finally, with the help of such thinking [I believe that I am not the only one who has], I force spot stock prices up?

+6
source share
1 answer

Spot prices vary among availability zones. You pay at the market price (M) where your copies are.

You set the bid price (B). Payment Rule:

  • If the market price is lower than or equal to your bid (M <= B), and there are free resources on the pool of random copies, you pay the market price .
  • If the market price is higher than your bid (M> B, outbid) or free resources for a pool of random copies, your spot copies will be terminated and there is no need to pay the current hour. You only need to pay for all the hours that you used.
  • If you run specimen spots for less than an hour, and you complete it yourself, you need to pay for that hour.

Your bid is just the maximum amount you want to pay for spot instances.

For more details, you can see the official documentation . Market prices are determined by the availability of free resources and market demand.

For a bid strategy, you can consult a Spot Advisor . On this page you can find which types of instances have a lower rate of outgoing traffic based on the bid.

Added as suggested by @Michael to the comment below:

The current market price is the lowest rate among all currently running copies. As an illustration, suppose that 3 copies were available (maybe more in the real case), and there were 4 bets for $ 1, 2, 3 and 5, the three highest participants would have launched copies, and the market price would be $ 2 . Thus, your bid price may indirectly indicate a spot instance if you are the winner of the bidding, and there are more open bids than available instances of the place.

+6
source

All Articles