Skip to content

Instantly share code, notes, and snippets.

@nicosingh
Last active December 28, 2021 19:50
Show Gist options
  • Save nicosingh/80dd2f5c2c396d289b89d23d861dc9a1 to your computer and use it in GitHub Desktop.
Save nicosingh/80dd2f5c2c396d289b89d23d861dc9a1 to your computer and use it in GitHub Desktop.
# . . . remaining part of /etc/gitlab-runner/config.toml
[runners.machine]
MachineDriver = "amazonec2"
MachineName = "gitlab-docker-machine-%s"
MachineOptions = [
"amazonec2-access-key=XXXX",
"amazonec2-secret-key=XXXX",
"amazonec2-region=us-central-1",
"amazonec2-vpc-id=vpc-xxxxx",
"amazonec2-subnet-id=subnet-xxxxx",
"amazonec2-use-private-address=true",
"amazonec2-tags=runner-manager-name,gitlab-aws-autoscaler,gitlab,true,gitlab-runner-autoscale,true",
"amazonec2-security-group=docker-machine-scaler",
"amazonec2-instance-type=m4.2xlarge",
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment