Below CloudFormation stack which runs GitHub Self-hosted runners on EC2 Spot Instances managed by AutoScalingGroup. It automatically register new instances as self-hosted runners and removes them when Spot is interrupted.
- Download YML below into file
- Create AWS CloudFormation stack
- Provide values for parameters
- If you need to install smt in
UserData
fill stack parameterAdditionalUserData