DEV Community

GitHub Self hosted runners on AWS - part 1 - Fargate

Jimmy Dahlqvist on May 24, 2020

"GitHub Actions makes it easy to automate all your software workflows, now with world-class CI/CD." That is how GitHub describe their built in CI/...
Collapse
 
jeroenknoops profile image
Jeroen Knoops

Hello Jimmy.

We've got it working all fine on AWS with spot instances. We've faced the same problems with auto-updating and so on, but finally we have everything working.

We're using terraform to deploy the setup and a github app to trigger auto-scaling of workers.

github.com/philips-labs/terraform-...

One of the creators also wrote a blog about it: 040code.github.io/2020/05/25/scali...

Collapse
 
davidkarlsen profile image
davidkarlsen

You might be interested in github.com/evryfs/github-actions-r... which can automate some of this.

Collapse
 
axel_fontaine_1c40fe93080 profile image
Axel Fontaine

Also have a look at sprinters.sh for fast-starting ephemeral runners on EC2 spot with no infrastructure to maintain on your part.