Description
ec2-github-runner is a GitHub Action that starts an AWS EC2 instance to run a GitHub Actions job, then stops it when the job is done. The README describes the flow: start the runner right before a job needs it, run the job on it, and stop it afterward, all within one workflow file. Its use cases include reaching private resources inside a VPC, such as a database in a private subnet, and choosing any EC2 instance type for heavier jobs than GitHub-hosted runners offer. It also helps save cost, because the instance runs only while needed. Configuration uses inputs and environment variables, and the README covers JIT runners, multi-AZ failover, debug mode and self-hosted runner security for public repositories. The project is licensed under MIT. Teams that run CI on AWS and need private network access or custom hardware are the intended users.…
Highlights
- Starts an EC2 runner for a GitHub Actions job
- Stops the instance after the job
- Access to private VPC resources
- Any EC2 instance type
- JIT runners and multi-AZ failover
Ratings & Reviews
No ratings yet
Be the first to rate Ec2 Github Runner.
People also visit
TestFlows-GitHub-Hetzner-Runners
Autoscaling Self-Hosted GitHub Actions Runners on Hetzner Cloud
Ec2 Github Runner FAQ
What does this action do?
It starts an AWS EC2 instance as a GitHub Actions runner, runs the job on it, and stops the instance afterward.
Why use it instead of GitHub-hosted runners?
The README says it helps when jobs need private VPC resources, more powerful hardware, or lower cost for work that does not need GitHub's runners.
Is it free?
The action is MIT licensed. You pay AWS for the EC2 instances it starts.
Is it safe for public repositories?
The README has a section on self-hosted runner security with public repositories, which you should read before enabling it.
What are the best Ec2 Github Runner alternatives?
Popular alternatives to Ec2 Github Runner include CDK Github Runners, RunsOn and Cirun. See all Ec2 Github Runner alternatives




