Presentation Information

[A-10-07]Performance and operational cost evaluation of AWS EC2 self-hosted runners for GitHub Actions

◎△Ryo Murakami1, Atuya Kanno2, Kaichi Taguchi2, Nagisa Nasu2, Takahiro Koita2, Akihito Kohiga1 (1. Doshisha Univ, 2. Graduate School of Doshisha Univ.)

Keywords:

Github Actions

With the spread of DevOps, CI/CD is widely used to automate build, test, package, and deployment. Because workflows run for each commit or pull request, long execution time can delay development and increase operational cost. GitHub Actions commonly uses GitHub-hosted runners, but their fixed computing resources may be insufficient for intensive tasks. This study evaluates whether AWS EC2 self-hosted runners can reduce execution time and cost by selecting suitable instance types. We compared a GitHub-hosted runner with four EC2 instance types in the Tokyo region: m7i.xlarge, c7i.xlarge, m7i.2xlarge, and c7i.2xlarge. The target was Docker build with parallel CPU processing, and build time, total workflow time, and estimated cost were measured. The results show that all EC2 self-hosted runners achieved shorter build times and lower costs than the GitHub-hosted runner. In particular, 2xlarge instances reduced build time by approximately 75%. The lowest cost was obtained with c7i.xlarge, while the shortest execution time was achieved with c7i.2xlarge. These results indicate that appropriate EC2 instance selection can improve CI/CD performance while reducing operational cost.