Skip to content

About

CDK constructs for self-hosted GitHub Actions runners

Topics

Resources

Contributing

Security policy

Stars

407 stars

Watchers

2 watching

Forks

Repository files navigation

GitHub Self-Hosted Runners CDK Constructs

NPM PyPI Maven Central Go Nuget Release Discord License awesome-runners

Use this CDK construct to create ephemeral self-hosted GitHub runners on-demand inside your AWS account.

  • 🛡️ Battle tested in production since 2022, from small teams to large organizations
  • 📈 Automatically scales to hundreds of runner types and as many runners as your AWS quotas allow
  • 🧩 Easy to configure GitHub integration with a web-based interface
  • 🧠 Customizable runners with decent defaults
  • 🏃🏻 Multiple runner configurations controlled by labels
  • 🔐 Everything fully hosted in your account
  • 🔃 Automatically updated build environment with latest runner version

Self-hosted runners in AWS are useful when:

  • You need easy access to internal resources in your actions
  • You want to pre-install some software for your actions
  • You want to provide some basic AWS API access (but aws-actions/configure-aws-credentials has more security controls)
  • You are using GitHub Enterprise Server (3.10 or newer, as runners are registered with just-in-time configurations)

Ephemeral (or on-demand) runners are the recommended way by GitHub for auto-scaling, and they make sure all jobs run with a clean image. Runners are started on-demand. You don't pay unless a job is running.

Documentation

Everything you need is on ghr.cloudsnorkel.com, with code in TypeScript, Python, Java, C# and Go.

Demo

Demo

Getting Help

Need help? We're here for you!

  • 💬 GitHub Discussions: Ask questions, share ideas, or get help from the community by opening a discussion
  • 🐛 GitHub Issues: Report bugs or request features by opening an issue
  • 💬 Discord: Join our Discord community for real-time help and discussions

Contributing

If you use and love this project, please consider contributing.

  1. 🪳 If you see something, say something. Issues help improve the quality of the project.
    • Include relevant logs and package versions for bugs.
    • When possible, describe the use-case behind feature requests.
  2. 🛠️ Pull requests are welcome.
  3. 💵 Consider sponsoring the project to show your support and optionally get your name listed below.

Sponsors

Thanks to our generous sponsors who helped make this project possible!

ThreatDown
ThreatDown
MagicBell
MagicBell
Fragment
Fragment
Nicon-David Milandru
Nicon-David Milandru
Andre Sionek
Andre Sionek

Other Options

  1. github-aws-runners/terraform-aws-github-runner if you're using Terraform
  2. actions/actions-runner-controller if you're using Kubernetes

About

CDK constructs for self-hosted GitHub Actions runners

Topics

Resources

Contributing

Security policy

Stars

407 stars

Watchers

2 watching

Forks

Releases

Sponsor this project

Used by

Contributors

Languages