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 10 months ago
Relevant content
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 6 months ago
- How do I turn on the EC2 serial console, SAC, and boot menu to troubleshoot my Windows EC2 instance?AWS OFFICIALUpdated a month ago