# 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.

Repository: https://github.com/LeanerCloud/AutoSpotting
Canonical: https://ross.abutalabs.com/products/autospotting
Homepage: https://autospotting.io
Language: Go
License: OSL-3.0
License Family: other
Topics: aws, autoscaling-groups, aws-lambda, spot-instances, cost, ec2, amazon-web-services, terraform-module, infrastructure, aws-autoscaling, autoscaling, go, cheaper-spot-instances, cloudformation, automation, golang-application, ec2-spot, ec2-instance
Last push: 2026-03-03T14:00:51+00:00

## Health v2 (maintenance only)
Score: 64/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 70, release rhythm 35, longevity 100
- inputs: {"age_days": 3697, "days_push": 183, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2368, forks 312 (observed 2026-08-28T04:06:41.685848+00:00)

## What it is
AutoSpotting is a Go-based tool that automates the use of AWS Spot instances in existing AutoScaling groups, saving 60-90% on EC2 costs. It deploys via CloudFormation or Terraform, uses tagging for configuration, and automatically falls back to on-demand instances when Spot capacity is reclaimed.

## Use cases
- reduce aws ec2 costs with spot instances
- convert existing autoscaling groups to use spot instances without re-architecting
- automatically handle spot instance termination and fail back to on-demand
- roll out spot instance adoption across many aws accounts with stacksets
- diversify spot instance types automatically for interruption resilience
- avoid vendor lock-in when managing spot capacity

## When to choose
- you have existing AutoScaling groups and want Spot savings without converting to launch templates or re-architecting
- you want automatic on-demand failover when Spot capacity is exhausted
- you want tooling that runs entirely in your own AWS account with no SaaS backend
- you need to deploy cost optimization at scale across multiple accounts using StackSets

## When to avoid
- you need active development, new features, or guaranteed bug fixes - the community edition is in maintenance mode with most improvements going to the commercial version
- you need proactive spot replacement, ECS task draining, or termination-notification defaults available only in the commercial edition
- you prefer native AWS AutoScaling group Spot configuration and are willing to re-architect with launch templates
- your license requires OSI-approved open-source terms - it uses OSL-3.0 rather than MIT/Apache

## Facets
- artifact type: service
- maturity: maintenance
- function: cloud, deployment, workflow-automation, infrastructure-as-code
- domain: cloud-computing, infrastructure-as-code
- platform: cloud, go
- tags: aws-ec2, spot-instances, autoscaling, cost-optimization, cloudformation, aws-lambda, on-demand-failover, devops, automation, docker, terraform

## Member repositories
- LeanerCloud/AutoSpotting (main) score 64

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:41.685848+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:35:26.661609+00:00, confidence not recorded.
  - readme: https://github.com/LeanerCloud/AutoSpotting (fetched 2026-08-28T04:06:41.685848+00:00, sha 6324508475f2)
  - homepage: https://autospotting.io (fetched 2026-08-29T10:16:18.717227+00:00, sha a2d7f5f22d46)
  - site_page: https://autospotting.io/spot-instance-pricing (fetched 2026-08-29T10:16:18.726651+00:00, sha 69d9696a19a1)
- Data as of 2026-08-30T08:39:29.467469+00:00.
