In December 2009, Amazon Web Services announced EC2 Spot Instances as another way to obtain compute capacity. Customers specified a region, instance type, number of instances and a maximum price. They could run instances when their bid was above the current Spot Price and capacity was available. AWS could end those instances if the price moved above the customer's limit. The customer paid for capacity under a different continuity promise from an ordinary on-demand request. [1][2]
The offer addressed two needs. AWS could sell capacity that would otherwise be idle, and customers with flexible workloads could accept interruption in exchange for lower prices. AWS pointed to uses such as rendering, data processing and testing, where work can often be divided into separate jobs or moved to another machine. [1]
Spot turned unused capacity into a product with a defined price and interruption mechanism. A team could request more machines when they were available or run work when the price fell below its threshold. If the price went above the bid and AWS terminated the instance under the original model, AWS said it would not charge the partial hour. That billing rule did not compensate for the loss of work performed since the application's last saved state. [1][2]
The 2009 announcement established the product and its rules. It did not provide a measured effect on AWS fleet utilization or a typical customer's realized savings. The apparent saving per compute hour was only one input. A workload that repeatedly restarted could consume more time or money per finished job than its advertised rate implied. [1][2]
The economic opportunity came from differences in the cost of waiting. A user serving a live application might need compute at once and keep it running. A user rendering independent frames could accept a queue or restart one frame while preserving the others. Offering both kinds of capacity lets the platform serve customers whose ability to absorb interruptions differs. [1]
The application must make that flexibility real. If jobs save their outputs and can retry on another instance, a capacity interruption costs a limited amount of work. If they rely on data that only exists on the local machine, an interruption can mean repeating an entire calculation. The unit of comparison is therefore a completed job with its deadline and reliability requirement, not a single advertised machine-hour. [1][2]
Analysis & application
Identify which workloads can pause before moving them to an interruptible service. Keep state and intermediate results somewhere that survives the loss of a worker. Use short units of work, record which units are complete and make retries safe. Where the workflow has a deadline, allow it to move to another instance type or to regular capacity when the cheap option would no longer finish in time. [1][2]
Track completed work per dollar, restart rates, time waiting for capacity and the frequency of missed deadlines. Compare costs after retries and fallback. These measures reveal whether a cheaper hour actually produced a cheaper result. They also help a team decide which processes belong on regular capacity and which can take advantage of a discount. [1][2][3]
On November 28, 2017, AWS announced a pricing change toward rates that moved more gradually with supply and demand. Customers could request Spot Instances without specifying a bid. A subsequent research paper comparing observed prices around the switch found smoother pricing and higher prices for many of the instance types it examined. That comparison concerned sampled prices and periods, so it does not establish a universal price increase. The original bidding rules describe the launch and should not be used as a current configuration guide. [2][3] The continuing need for interruption-tolerant applications is independent of whether customers enter a maximum bid. [2][3]
FOLLOW THE EVIDENCE
The sources
- Amazon Web Services Announces Spot Instances for Amazon EC2 Amazon Web Services · press.aboutamazon.com ·
- Analyzing AWS Spot Instance Pricing IEEE International Conference on Cloud Engineering · sites.cs.ucsb.edu
- Amazon EC2 Spot introduces new pricing model and the ability to launch Spot instances via RunInstances API Amazon Web Services · aws.amazon.com ·