Spot instances and spot fleets Flashcards
What are spot instances?
Up to 90% discount for resources that are not being used in AWS. It is useful for stateless applications such as BigData, CI/CD, web servers, HPC, and development workloads. To use it, you define the maximum spot price. The instance will be provisioned as long as the price is below the maximum spot price. In case the price is higher than the threshold, you will get a 2 minutes notification that will terminate the instance. The price varies depending on the instance type, region, and even AZ
What are spot blocks?
You can set spot blocks for between 1 and 6 hours. This will stop your spot instances for being terminated
How to launch spot instance?
Create the request by specifying the price, the desired number of instances, the launch specification (instance type), one time|persistent, and the period
What is spot fleets?
It will launch spot instances whenever possible based on the price, but it will complement with on demand instances to fulfil the requirements. It will ensure the capacity is given by launching spot instances in case they are terminated