%%
Last Updated:
- [[2021-02-10]]
Related
- [[Load Testing]] [[Performance Testing]] [[AWS]]
%%
URL: https://aws.amazon.com/ec2/spot/pricing
> With Spot Instances, you pay the Spot price that's in effect for the time period your instances are running. Spot Instance prices are set by Amazon EC2 and adjust gradually based on long-term trends in supply and demand for Spot Instance capacity. To learn more about pricing, visit the Spot Instance history page. The following table displays the Spot price for each region and instance type (updated every 5 minutes).
> Spot Instances are available at a discount of up to 90% off compared to On-Demand pricing. To compare the current Spot prices against standard On-Demand rates, visit the Spot Instance Advisor
> Spot Instances are also available to run for a predefined duration – in hourly increments up to six hours in length – at a discount of up to 30-50% compared to On-Demand pricing.
This is one pricing option offered by AWS, involving setting a certain price as a "bid" for instances and then being able to use those instances when the bid is accepted as the highest.
The advantage is that this can be significantly cheaper than using [[AWS On Demand pricing]].
The disadvantage is that someone can come along and bid higher than you, causing you to lose that instance instantly. For this reason, [[Consider using On Demand pricing rather than Spot Pricing]] for large load tests.