|« PreviousNext »|
|Did this page help you? Yes | No | Tell us about it...|
The Spot Instance request (or bid) is a core element in Amazon EC2 Spot Instances. Your specifications for a Spot request—price, Availability Zone, launch group, and schedule—affect the fulfillment of the request and the successful launch of Spot Instances.
This section discusses the bid fundamentals you need to know to help you manage your Spot requests.
Discusses the number of Spot Instances per instance type that you can launch for each region.
Discusses the options you can specify to customize your Spot request.
Discusses Spot bid status information and how you can use it to understand what is going on with your Spot requests.
Depending on how quickly you want your Spot request fulfilled and how long you want your Spot Instances to continue running, there are a number of factors you need to consider when you bid on Spot Instances. The requirements you include in your Spot request can affect the chances that it will be fulfilled. If you have a number of requirements that must be met, your request can take longer to fulfill.
The maximum Spot Instance price you're willing to pay—your bid price—may also affect how long your Spot Instances will run. If you want your instances to run as long as possible and have a low probability of interruption, you might consider submitting a higher bid price. If you are less concerned about Spot interruptions and simply want to take advantage of Spot cost savings, you should submit a lower bid price.
Your bid price is not necessarily the price that you pay. For example, if you bid $0.500, and the Spot price is $0.300 per hour for the period, you only pay $0.300 per hour. If the Spot price drops, you pay less. If the Spot price increases, you pay the new price up to your bid price. If the Spot price rises above your bid price (or another capacity constraint is encountered), your Spot Instance is interrupted.
Bidding high does not guarantee that your Spot Instance won’t be interrupted. Also, do not assume that the Spot price can never remain high for long periods of time. If Spot supply is tight for an extended period of time, the Spot price can be elevated for a sustained period of time, pegged to the bid price of the highest bidders.
The following video describes strategies to use when bidding for Spot Instances.
After you submit your bid for Spot Instances, use bid status codes to track your request. For information, see Tracking Spot Requests with Bid Status Codes.