{"id":23520109,"url":"https://github.com/ventx/terraform-gitlabce-ec2","last_synced_at":"2026-01-28T17:34:28.105Z","repository":{"id":69452740,"uuid":"241592452","full_name":"ventx/terraform-gitlabce-ec2","owner":"ventx","description":"Deploy gitlab-ce on a single ec2 instance with https ","archived":false,"fork":false,"pushed_at":"2025-03-04T14:31:59.000Z","size":122,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-31T16:27:37.852Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ventx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null}},"created_at":"2020-02-19T10:23:05.000Z","updated_at":"2025-03-04T14:32:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"6a2227f8-4593-431b-8213-e6ec37ac4e6e","html_url":"https://github.com/ventx/terraform-gitlabce-ec2","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ventx/terraform-gitlabce-ec2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ventx%2Fterraform-gitlabce-ec2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ventx%2Fterraform-gitlabce-ec2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ventx%2Fterraform-gitlabce-ec2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ventx%2Fterraform-gitlabce-ec2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ventx","download_url":"https://codeload.github.com/ventx/terraform-gitlabce-ec2/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ventx%2Fterraform-gitlabce-ec2/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28847860,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-28T15:15:36.453Z","status":"ssl_error","status_checked_at":"2026-01-28T15:15:13.020Z","response_time":57,"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":[],"created_at":"2024-12-25T16:12:03.197Z","updated_at":"2026-01-28T17:34:28.090Z","avatar_url":"https://github.com/ventx.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"![](img/logo.png)\n# Simple gitlab-ce on a single EC2 instance\n\n\n### Requirements\n- EC2 Key pair (ssh key)\n- AWS HostedZone and 1 TLD\n\n### 1. Clone repo\n    git clone https://github.com/ventx/terraform-gitlabce-ec2.git\n    cd terraform-gitlabce-ec2\n### 2. Edit variables.tf\n- this is your hostedzone tld like `example.com`\n```\nvariable \"domain\" {\n  description = \"gitlab server TLD\"\n}\n```\n- this is the subdomain for the giltab-ce instance like `gitlab.example.com`\n```\nvariable \"subdomain\" {\n  description = \"Subdomain\"\n}\n```\n- this is your hostedzone tld like `example.com`\n### Rest of the variables are for your aws account informations like vpc, subnet and ssh key\n### 3. Deploy the instance\n    terraform init\n    terraform plan\n    terraform apply\nConnect to the instance\n- `ssh ubuntu@aws_instance.gitlabce.public_ip -i ssh_key.pem.txt`\n\nopen log file from the installation\n- `tail -f /var/log/cloud-init-output.log`\n\nwait for the setup to be completed. Visit your gitlab-ce instance unter https://gitlab.example.com \n- `${var.subdomain}.${data.aws_route53_zone.hostedzone.name}`]\n create your admin password on the first visit\n ![](img/login.png)\n\n# Version history\n- 1.0\n\n### Terraform Readme\n## Providers\n\n| Name | Version |\n|------|---------|\n| aws | n/a |\n| template | n/a |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:-----:|\n| ami | AMI to be used, default is Ubuntu 18.67 Bionic | `string` | `\"ami-090f10efc254eaf55\"` | yes |\n| domain | gitlab server TLD | `string` | `\"\"` | yes |\n| instancename | EC2 instance name | `string` | `\"gitlabce\"` | yes |\n| instancetype | EC2 instance type | `string` | `\"t3.medium\"` | yes |\n| keyname | SSH key name | `string` | `\"\"` | yes |\n| owner | Owner Tag for AWS console | `string` | `\"\"` | yes |\n| profile | AWS Profile | `string` | `\"default\"` | yes |\n| region | AWS Region | `string` | `\"eu-central-1\"` | yes |\n| subdomain | Subdomain | `string` | `\"gitlab\"` | yes |\n| subnetid | Subnet for the Gitlab Instance | `string` | `\"\"` | yes |\n| vpc | AWS VPC | `string` | `\"\"` | yes |\n\n## Outputs\n\n| Name | Description |\n|------|-------------|\n| instancename | Instance Name |\n| instancetype | Instance Type |\n| keyname | Instance SSH Keyname |\n| privateip | Instance Private IPv4 |\n| publicip | Instance Pupblic IPv4 |\n| userdata | Userdata for gitlabce Setup |\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fventx%2Fterraform-gitlabce-ec2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fventx%2Fterraform-gitlabce-ec2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fventx%2Fterraform-gitlabce-ec2/lists"}