Comments (6)
If you run it in the private subnet, please make sure you use NAT Gateway with this subnet, so your instance with private IP has access to the Internet and can pull the jobs from GitHub. Otherwise, the instance with the private IP won't be able to connect to the internet.
@machulav you were right - worked once I attached a NAT gateway!
from ec2-github-runner.
Hey @davinchia,
The instance is currently running in a private VPC/subnet with a private IP. Does the instance need a public IP?
If you run it in the private subnet, please make sure you use NAT Gateway with this subnet, so your instance with private IP has access to the Internet and can pull the jobs from GitHub. Otherwise, the instance with the private IP won't be able to connect to the internet.
I hope it helps!
from ec2-github-runner.
Hey @mikemhenry, thanks for your question!
The issue could be related to the type of EC2 instance you selected: t4g.micro
is based on ARM64 CPU architecture, and the action currently uses x64 compatible GitHub Action Runner package as you can see here: https://github.com/machulav/ec2-github-runner/blob/main/src/aws.js#L13
As a result, I would expect that the runner is just can not be started on your EC2 instance and register itself in your GitHub repository. Try to use x64 compatible EC2 instance.
I hope it helps!
from ec2-github-runner.
I'm sure that is the issue! I am looking at this again today. Do you intend on supporting multiple architectures? Perhaps it defaults to x86 but could support arm64? It is a pre-release but I am interested in helping you test if needed.
from ec2-github-runner.
Hi, I'm running into this even on an intel based instance. This is my yaml.
My security group is also wide open for testing, both inbound and outbound. Any tips on how one would go about debugging this?
The instance is currently running in a private VPC/subnet with a private ip. I'm running this from a public OSS repo, does the instance need a public ip?
from ec2-github-runner.
I'm sure that is the issue! I am looking at this again today.
@mikemhenry, I hope you resolve the issue!
Do you intend on supporting multiple architectures? Perhaps it defaults to x86 but could support arm64?
Yeah, it's definitely a good point to support multiple architectures! Created a new issue for that #37
It is a pre-release, but I am interested in helping you test if needed.
Cool, thanks a lot! I will notify you when it's ready for testing.
from ec2-github-runner.
Related Issues (20)
- stop action fails to find Github runner though the labeled runner does exist HOT 2
- Runners fail to register when IPs/hostnames are reused HOT 4
- Instance role when added not working HOT 2
- update the options for github runner setup script (config.sh)
- Runner is up and running but job isn't running on selfhosted runner HOT 2
- Support for c7g instances. HOT 1
- Add missing library to README / Arm64
- Make ec2-github-runner working with GITHUB_TOKEN generated into the Github Action workflow HOT 3
- EBS Volume doesn't get deleted HOT 1
- [feature request] make to be installed github runner version configurable
- [feature request] Make configurable pre-commands in user-data possible HOT 1
- is there a way to pass additional parameter to ec2 instance, like enable detail monitor? HOT 2
- Github Runner - not able to register itself in GitHub as a new self-hosted runner HOT 1
- [feature request] Allow use of Fine-grained personal access tokens
- Issue starting runner HOT 1
- [feature request] Allow requesting spot instance instead of an on-demand instance. HOT 7
- Error regarding ec2 os input HOT 1
- Unable to register self-hosted runner HOT 8
- Support node 20 HOT 2
- Setting up GitHub Self-Hosted Runner On-Demand: Permission Denied Error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ec2-github-runner.