{"id":22965224,"url":"https://github.com/ardikabs/gitlab-runner-cluster-aws","last_synced_at":"2026-04-21T05:31:11.751Z","repository":{"id":69655038,"uuid":"269942237","full_name":"ardikabs/gitlab-runner-cluster-aws","owner":"ardikabs","description":"Gitlab Runner cluster on AWS","archived":false,"fork":false,"pushed_at":"2021-06-08T14:06:29.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-02T04:27:54.331Z","etag":null,"topics":["autoscaling-groups","aws","gitlab-runner","packer","terraform"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ardikabs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-06-06T10:10:21.000Z","updated_at":"2023-03-09T02:38:11.000Z","dependencies_parsed_at":null,"dependency_job_id":"e3e091ef-a3c7-44ba-a4f6-94aff81201d5","html_url":"https://github.com/ardikabs/gitlab-runner-cluster-aws","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ardikabs/gitlab-runner-cluster-aws","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ardikabs%2Fgitlab-runner-cluster-aws","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ardikabs%2Fgitlab-runner-cluster-aws/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ardikabs%2Fgitlab-runner-cluster-aws/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ardikabs%2Fgitlab-runner-cluster-aws/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ardikabs","download_url":"https://codeload.github.com/ardikabs/gitlab-runner-cluster-aws/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ardikabs%2Fgitlab-runner-cluster-aws/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32078708,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-21T02:38:07.213Z","status":"ssl_error","status_checked_at":"2026-04-21T02:38:06.559Z","response_time":128,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["autoscaling-groups","aws","gitlab-runner","packer","terraform"],"created_at":"2024-12-14T20:13:55.488Z","updated_at":"2026-04-21T05:31:11.742Z","avatar_url":"https://github.com/ardikabs.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gitlab-runner-aws\nSimple project for spin up [gitlab-runner](https://docs.gitlab.com/runner/) cluster on AWS with some advanced configuration such as:\u003cbr\u003e\n1. Build with customized AMI with the help of [packer](https://packer.io/)\n1. Build with autoscaling setup, also added with autoscaling schedule with the help of [terraform](https://terraform.io)\n\n# Preqrequisites\n1. [Packer](https://packer.io) v1.5\n1. [Terraform](https://terraform.io) v0.12.25\n\n# How To\n### Build AMI with Packer\n```bash\ngit clone https://github.com/ardikabs/gitlab-runner-cluster-aws\ncd gitlab-runner-cluster-aws\n./setup.sh packer\n\nSetting up gitlab-runner cluster on AWS\nType the Gitlab URL to be used for gitlab-runner:\ngitlab.com\n\nType the Registration Token for Gitlab Runner to be used for gitlab-runner:\nFhurp9yJ3T46_vwZ7t92\n\nType VPC Id to be used for building the AMI:\nvpc-0ba5b3023a58bab6c\n\nType Public subnet Id to be used for building the AMI:\nsubnet-0ed6a2cee8c75f594\n\nRunning packer to build AMI for gitlab-runner on AWS\namazon-ebs: output will be in this color\n.\n.\n.\n\n```\n### Setup gitlab-runner cluster within autoscaling group on AWS with Terraform\n```bash\ncd gitlab-runner-cluster-aws\n./setup.sh terraform\nSetting up gitlab-runner cluster on AWS\n\nType the gitlab-runner AMI to be used for gitlab-runner cluster:\nami-0beaa8ab3a1274c50\n\nType the instance type to be used for gitlab-runner cluster (default c5.large):\n\nType the desired capacity for gitlab-runner instance should be run in gitlab-runner cluster (default 5):\n\nType the minimal gitlab-runner instance should be run in gitlab-runner cluster (default 3):\n\nType the maximal gitlab-runner instance should be run in gitlab-runner cluster (default 10):\n\nType VPC id to be used for running gitlab-runner cluster:\nvpc-0ba5b3023a58bab6c\n\nType Network Tier to be used for running gitlab-runner cluster:\nutility\n\nRunning Terraform to spin up for gitlab-runner cluster on AWS\nInitializing the backend...\n.\n.\n.\n```\n### Clean up\n```bash\n./setup.sh destroy\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fardikabs%2Fgitlab-runner-cluster-aws","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fardikabs%2Fgitlab-runner-cluster-aws","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fardikabs%2Fgitlab-runner-cluster-aws/lists"}