LeanerCloud / AutoSpotting

Saves up to 90% of AWS EC2 costs by automating the use of spot instances on existing AutoScaling groups. Installs in minutes using CloudFormation or Terraform. Convenient to deploy at scale using StackSets. Uses tagging to avoid launch configuration changes. Automated spot termination handling. Reliable fallback to on-demand instances.

Home Page:https://autospotting.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ICE-proof handling of spot terminations

cristim opened this issue · comments

Github issue

Issue type

  • Feature Idea

Summary

Currently AutoSpotting may not be able to properly handle sudden spot terminations that escalate into an ICE for the initial on-demand instance type.

The idea is to intercept these ICE events with the recently introduced event-based model, find the group they were happening for and launch spot in that group or even fallback to on-demand instances of different instance types to compensate for the sudden capacity loss in that group.