Skip to content

amaudy/gitlab-aws

Repository files navigation

GitLab Server on AWS

Terraform configuration to deploy GitLab Enterprise Edition on AWS with Cloudflare DNS integration.

Quick Start

  1. Prepare terraform.tfvars:
# AWS
aws_region    = "us-east-1"
instance_type = "t3.large"
environment   = "production"

# GitLab
gitlab_domain        = "gitlab.yourdomain.com"
gitlab_root_password = "xxxxxxxxxx"  # Change this!
volume_size         = 100

# Cloudflare
cloudflare_zone_id   = "your-zone-id"
cloudflare_api_token = "your-api-token"
  1. Deploy:
terraform init
terraform apply
  1. Access GitLab:

Prerequisites

  • AWS CLI configured
  • Terraform installed
  • Cloudflare account with domain

Monitoring

CloudWatch logs available at /aws/ec2/gitlab

Server Access

aws ssm start-session --target <instance-id>

Cleanup

terraform destroy

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages