Home > Blockchain >  AWS spare EC2 compute capacity, how it is calculated?
AWS spare EC2 compute capacity, how it is calculated?

Time:09-29

Spot Instance Definition: Spot Instances are spare EC2 compute capacity in the AWS Cloud available to you at savings of up to 90% off compared to On-Demand prices

My Confusions are:

  1. How this Spare EC2 compute capacity is calculated
  2. This Spare Capacity calculation is based on the Current Account OR Current Region OR Entire AWS Regions ?

CodePudding user response:

Anybody with an AWS Account can launch an Amazon EC2 instance as a Spot Instance. If there is available capacity for the selected Instance Type and Availability Zone, the Spot Instance will be launched and you will be charged a price that is at the current Spot Price (normally much less than On-Demand prices).

However, AWS can stop/terminate that Spot Instance at any time when they need the capacity for customers who are using On-Demand instances. Therefore, the Spot Instance is not guaranteed to keep running.

You have no visibility into the available capacity or the likelihood that the Spot Instance will be stopped/terminated. If you want to maintain a level of capacity using Spot Instances, then you can use a Spot Fleet - Amazon Elastic Compute Cloud, which can automatically replace Spot Instances when they are stopped/terminated.

  • Related