Cut GitHub Actions CI cost ~10x: ephemeral self-hosted EC2 runners (github-aws-runners), a pre-built image, spot first, and a Claude Code skill that walks through the migration A developer released an MIT-licensed migration kit for moving GitHub Actions CI onto ephemeral self-hosted EC2 runners using the open-source github-aws-runners Terraform module. Each queued job spins up a fresh spot-first EC2 machine from a pre-built image that boots in about 35 seconds, and the author reports roughly 10x lower cost than CodeBuild on the same jobs — about $0.002/minute on spot versus $0.020 for CodeBuild LARGE. The kit includes a Claude Code skill (SKILL.md), a savings estimator script, Terraform and Packer configs, and a workflow that retries a job once when AWS reclaims its spot instance. Cut GitHub Actions CI cost ~10x with ephemeral self-hosted EC2 runners Every CI job gets its own fresh EC2 machine in your AWS account, created when the job is queued and destroyed when it finishes. GitHub still schedules the jobs and shows the logs; only the machine underneath changes. 8 vCPU Linux Per minute AWS CodeBuild LARGE $0.020 GitHub-hosted 8-core $0.022 EC2 on-demand ~$0.006 EC2 spot ~$0.002 Moving off CodeBuild, on the same jobs: about the same speed, about 10x cheaper spot first with on-demand fallback, light jobs on 2 vCPU machines, and no checks a change cannot affect . How it works php GitHub queues a job runs-on: