AWS EC2 Spot Instance
Welcome to CloudAffaire and this is Debjeet
In the last blog post, we have discussed different instance types available under AWS EC2 service offering.
In this blog, we are going to discuss one such instance type that is AWS EC2 spot instance.
AWS EC2 Spot instance
AWS EC2 service provides the facility to use their unused servers and the instance build upon those servers are called Spot instance. The price of a Spot instance is much lower than on-demand instances and is called Spot price. Spot price varies with each availability zone and instance configuration and is updated constantly based on supply and demand.
Anyone with an active AWS account can request for a Spot instance with a Spot price. AWS will fulfill the request when there is capacity available in their unused servers and your Spot price is greater or equal to AWS current Spot price for that type of instance in that availability zone.
Note: AWS can reclaim these instances anytime whenever there is a shortage of capacity or your AWS Spot price exceeds your Spot price. Except if you are requesting for a ‘Reserve for duration’ request.
Below are some key terms related to an AWS EC2 Spot instance
Spot Instance pool:
Spot instance pool is the set of AWS unused servers with same location and server resources
The current Spot instance price
Spot Instance request:
Spot instance request is the Spot price that you are willing to pay for a particular Spot pool. If you don’t specify a maximum price, the default maximum price is the On-Demand price.
You can create a fleet of Spot instances based upon your criteria known as Spot fleet. Spot fleet can be used to replace your terminated Spot Instances.
Spot Instance interruption:
AWS can reclaim a Spot instance anytime whenever there is a shortage of capacity or your AWS Spot price exceeds your Spot price. This is known as Spot instance interruption.
Hope you have enjoyed this blog post. In the next post, we are going to raise our 1st Spot request.