TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: DimeRun v2 – Run GitHub Actions on AWS EC2

5 pointsby xjiaabout 1 year ago

2 comments

cswilliamsabout 1 year ago
At first glance, this looks very cool!<p>On my queue at work coming up is to try to speed up our github action CI runs and I&#x27;ll definitely take a look at this. Our runs aren&#x27;t particularly slow by most standards (about 4 minutes), but I would really love to make them much faster. I&#x27;m not sure if 1 minute would be possible, but one can dream ;-). But I figure if I can run our test suite on my macbook air m2 in about a minute, I don&#x27;t see why it&#x27;s not possible to get my CI near that without spending a fortune. I feel like so much time is wasted in our GHA workflows by downloading the same container images and dependencies over and over. Anecdotally, I also find the GHA hosted runners to sometimes have huge performance swings, where some runs are 25-50% slower for no apparent reason (although time of day seems to affect it). I&#x27;m thinking running on EC2 might help with that too.<p>I&#x27;ve considered some of the third party hosted runners (e.g. buildjet), but didn&#x27;t love the idea of trusting them with our code base. On the other hand, I looked at some of the projects for running self-hosted gha runners and they seemed like they could require a decent amount of &quot;babysitting&quot;, and I didn&#x27;t see any that supported persistent disks.<p>Just out of curiosity, can you explain how the persistent disks work in a little more detail? Does it work something like the following:<p>1. Create EC2 Instance for Runner #1<p>2. Create new EBS volume and attach it to Runner #1<p>3. Runner #1 shuts down due to inactivity and EBS volume is detached.<p>4. Create EC2 Instance For Runner #1 (or does it just stop&#x2F;start an existing instance?)<p>5. Attach existing EBS volume created in step #2<p>Assuming you had multiple runners, would it check for an unattached EBS volume first before trying to create a new one?<p>Another question I had, do you manage the AMI that the runner uses? Is it the latest ubuntu like GHA uses?
评论 #39472615 未加载
dave4420about 1 year ago
Mmm, nice.<p>We were using something similar at $EX_EMPLOYER, but we needed explicit steps in our workflow to start and stop the runner. It was error prone.
评论 #39472653 未加载