Anybody using spot instances for worker nodes?

This page summarizes the projects mentioned and recommended in the original post on /r/kubernetes

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • aws-node-termination-handler

    Gracefully handle EC2 instance shutdown within Kubernetes

  • First, install the AWS Spot Termination Handler to ensure you gracefully handle terminations. Along with other standard things you should install like Cluster Autoscaler to handle failures/scale outs.

  • eksctl

    The official CLI for Amazon EKS

  • Second, make sure you create a spot instance group that attempts to launch MULTIPLE different instance types. This way if one instance type gets flushed, your autoscaler will kick in and launch a different type. Without this, you WILL HAVE DOWNTIME if a sudden price hike and flush occurs. If you're using eksctl I have example configurations that use multi-instance types on Github here.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • autoscaler

    Autoscaling components for Kubernetes

  • First, install the AWS Spot Termination Handler to ensure you gracefully handle terminations. Along with other standard things you should install like Cluster Autoscaler to handle failures/scale outs.

  • EKSCTL-Example-Configurations

    Some sample configurations for EKSCTL.io to help understand how best to use it and increase adoption

  • Second, make sure you create a spot instance group that attempts to launch MULTIPLE different instance types. This way if one instance type gets flushed, your autoscaler will kick in and launch a different type. Without this, you WILL HAVE DOWNTIME if a sudden price hike and flush occurs. If you're using eksctl I have example configurations that use multi-instance types on Github here.

  • containers-roadmap

    This is the public roadmap for AWS container services (ECS, ECR, Fargate, and EKS).

  • Avoid managed node groups for now if you like saving money with spot, but leave a thumbs up at https://github.com/aws/containers-roadmap/issues/1903

  • amazon-ec2-instance-selector

    A CLI tool and go library which recommends instance types based on resource criteria like vcpus and memory

  • sounds like https://github.com/aws/amazon-ec2-instance-selector

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts