terraform-aws-gitlab-runner icon indicating copy to clipboard operation
terraform-aws-gitlab-runner copied to clipboard

EC2 instance type

Open mericano1 opened this issue 3 years ago • 4 comments

Is there any particular way to pick the runner image / architecture / instance type ? I would like to have some AMD and some ARM64 runners. Is that possible ?

Thanks

mericano1 avatar Jul 23 '21 08:07 mericano1

The runners are just plain ec2 instances managed via docker-machine (legacy). Once you are able to launch via docker-machine ARM instances, it should be no problem.

npalm avatar Jul 27 '21 19:07 npalm

Hi @npalm - thanks for getting back to me. Any idea of where I'd configure those in the terraform files ?

mericano1 avatar Jul 30 '21 11:07 mericano1

I am not using ARM myself, but setting ami_filter and docker_machine_download_url is hopefully doing the trick.

npalm avatar Jul 31 '21 08:07 npalm

Have you checked https://github.com/thejohnfreeman/ami-gitlab-runner ? You could choose the M6g instance type.

kayman-mk avatar Oct 05 '21 18:10 kayman-mk

@mericano1 Can this issue be closed?

kayman-mk avatar Dec 30 '22 13:12 kayman-mk

Yes, I think so. We eventually found another solution TBH

mericano1 avatar Dec 30 '22 16:12 mericano1

@mericano1 Have you being able to use this module to run ARM based runners? If yes, would you mind share your insights.

lmilbaum avatar Apr 19 '24 18:04 lmilbaum