1 Answer
- Newest
- Most votes
- Most comments
0
A few months ago, I started working on a very similar solution and came up with the following scalable and cost-efficient solution.
- GitHub sends a webhook event when starting a job.
- The API Gateway receives the event.
- A Lambda function validates the event and sends a message to SQS.
- Another Lambda function reads the message from SQS and launches an EC2 instance in an VPC of your choice.
- The EC2 instance starts and registers the GitHub runner.
- The GitHub runner executes the job.
- The EC2 instance terminates itself.
My solution is called HyperEnv for GitHub Actions Runner.
answered 3 months ago
Relevant content
- asked 6 months ago
- AWS OFFICIALUpdated 22 days ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 3 months ago