Closed gnomefin closed 5 months ago
Since the instance is being created, that eliminates the provisioning strategy as a source of problem. Basically it doesn't matter whether it's a spot instance or a on-demand.
Does your instance have internet access ? The Github runner agent on the EC2 machine needs to reach out to GH API to register itself.
Being stuck in Waiting...
means the code is in a loop constantly querying GH API and waiting for the runner to show up but it never shows up until TTL expires.
Does your instance have internet access
Superb.
After checking my public subnet, it turns out I didn't turn on the auto-assign public ipv4
at startup. and now it works perfectly. I will close this thread as it is fixed already on my side.
Overview
I was trying to privision a spot instance it works, however, it is always saying "Waiting..." in github action.
Is there any caveat I have missed?
Expectation
It will proceed to the next job.