This article explains how Elastigroup manages the replacement of instances in Spot markets with predicted interruptions to ensure that your workloads remain available, as well as how Elastigroup handles the process of ranking (scoring) Spot instance markets.
- Elastigroup detects an unstable Spot Market, based on patterns in past interruptions and real-time market analytics.
- If other Spot Markets are available, a new instance is launched in the least expensive market and the old instance is drained and terminated.
- If other Spot Markets aren’t available, Elastigroup activates the Fallback to On-Demand process in which an On-Demand instance is launched and the old instance is drained and terminated.
Spot Instance Replacement
Elastigroup continuously monitors Spot markets to identify available markets for workloads currently running on On-Demand instances. When a Spot market becomes available, a new Spot instance is launched and the old On-Demand instance is drained and terminated.
Spot Market Scoring
Spot markets are defined as the supply and demand for a specific instance type, at a specific spot price in a specific Availability Zone, for a specific product (Linux/Windows). Spot markets are ranked by Elastigroup based on real-time and historical data on availability and cost, enabling Elastigroup to predict interruptions to instances in a market approximately 15 minutes prior to the interruptions. This advance notification on upcoming interruptions is what triggers the Spot instance replacement and ensures the continuous availability of your workloads.