Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Install Gitlab on AWS

Tags:

gitlab

My company has a master codebase and several instances of the same codebase i.e company.com/instance1, company.com/instance2, company.com/instance3 and so on running on AWS and a mysql database.

I thought it would help if we install gitlab on AWS as it would simplify our overall developement process. Is this a good idea ?.

I am confused as to whether we have to install centOS on AWS to install gitlab or does gitlab will work on AWS without centos.

I am puzzled as in my local centos system i have installed gitlab locally and i have trouble setting up URL's.

The users need to type company.com/instance to get what is required and already people have started using it on AWS.

May be i have do CI and deploy the code on AWS ? How does this work?

Will gitlab work well in LAMP environment on an already existing AWS server instance? how to go about the same?

like image 936
sunshine Avatar asked Sep 17 '16 12:09

sunshine


People also ask

Can I use GitLab with AWS?

GitLab is a DevOps platform with bring-your-own-infrastructure flexibility. From the on-premise to cloud, run GitLab on AWS and deploy to your workloads and AWS infrastructure using a single solution for everyone on your pipeline.

What is GitLab runner AWS?

gitlab-ci. yml file describing a pipeline's jobs, and a Gitlab Runner, an application that executes the pipeline jobs. Setting up the Gitlab Runner is a time-consuming process. It involves provisioning the necessary infrastructure, installing the necessary software to run pipeline workloads, and configuring the runner.


1 Answers

GitLab should work as an Amazon Machine Image

As explained in GitLab CE AWS AMI:

Search for GitLab CE X.Y (X.Y represent version number) under Community AMIs.
The latest version of GitLab CE will be fetched on first boot.

Launch a c4.large instance with open ports for ssh, http and https.

SSH into the instance with ubuntu@your-instance, edit the /etc/gitlab/gitlab.rb file to your needs, and run:

sudo gitlab-ctl reconfigure

Visit the public IP in a browser and sign in as the default user

username: root
password: 5iveL!fe
like image 187
VonC Avatar answered Sep 25 '22 16:09

VonC