Install GitLab on Microsoft Azure cloud

  1. Introduction
  2. Register with Azure
  3. Choose the Right Service
  4. Customize Your VM
  5. Choose Your Size
  6. Finalize Settings
  7. Approve Purchase
  8. Access Your GitLab
  9. Setup The Root User
  10. THAT’S IT!

Introduction

Linnovate has partnered with Microsoft to present a new approach to deploying GitLab — through a cloud service that automatically configures GitLab for you. Using this approach, you can quickly begin to manage your code, push and pull from Git, and enjoy the plethora of features included in Gitlab, such as the ability to create projects with issues and fine-tune access to repositories.

Until now, you had to hire a professional integrations engineer to log into your server and configure GitLab for you. Otherwise, even if you managed to install GitLab on your own, none of the git functions of GitLab would work properly.

But, No more! Now, instead of searching for SSH tutorials and GitLab configuration tutorials, our new offering allows you to simply deploy GitLab to the cloud in a matter of minutes.

Register with Azure

If your organization doesn’t have an account already, you’ll need to subscribe to Azure with your personal account. Currently Azure awards you with many benefits, including a $200 credit for spending on their services! Click Here to learn more.

Choose the Right Service

There are two ways to access the new solution:

  1. Through the Azure marketplace
  2. Directly from your Dashboard

If you’re already in the Azure portal, you can click the green + New and simply start typing gitlab enterprise. You’ll see the autocomplete result for GitLab Enterprise Ready by Linnovate:

To start deploying GitLab in a new virtual machine, hit the Create button. Then continue reading to learn how to customize your VM.

Deploy GitLab from Azure’s Portal

Customize Your VM

Once you hit Create, you’ll be presented with a very short series of simple configuration screens. The first one asks you to choose:

  • Name: The name of your GitLab virtual machine. This name will help you to identify your GitLab VM in the portal. Use any name that makes sense to you. E.g.: gitlab
  • VM disk type: The type of disk to install your GitLab VM on. Choose either HDD(cheaper but slower) or SSD(faster, recommended)
  • User Name: Used for SSH connections. While this is not really needed when choosing Linnovate’s GitLab, it’s a required field. Almost any name would work here — your name, your company’s name, or simply gitlab.
  • Authentication type: Method used to authenticate when logging into the GitLab server via SSH. For simplicity, I recommend using the Password method. If you have an SSH key and know how to use it, you can paste it here.
  • Resource Group: Group of resources related to your GitLab VM. Use an existing group if you were guided to do so by your organization, or create a new one. A good practice would be to use the same name as the one you chose for the Name field above.
  • Location: The region in which to deploy your GitLab VM. Choose the closest region to your users. Note that different regions may have different pricing.

Click OK to move on to the next step.

Choose Your Size

Choosing a virtual machine size is fast and easy. Choose a size which is suitable for your budget and requirements. In general, GitLab requires at least 4GB RAM for moderate usage and at least 8GB RAM for heavier usages. The more RAM you choose the better GitLab will perform — and the more expensive it will be.

Finalize Settings

This is the easiest part. In most cases, you can leave the default values exactly as they are. However, pay attention that the Auto-Shutdown is set to OFF.

Approve Purchase

This is the last step in the GitLab creation process. You’ll be presented with the hourly costs, based on the size and type of virtual machine that you chose earlier.

IMPORTANT: After hitting the “Create” button, Azure will automatically deploy GitLab for you, to the virtual machine that you just configured. This process is not immediate and usually takes a few minutes. You’ll have time for a coffee or a few mails. When you’re back, GitLab will be ready for you to begin working!

Access Your GitLab

When the deployment is done, you’ll be able to see the new GitLab VM in the Virtual Machines section of your Azure dashboard. The name of the VM will be the name which you gave it earlier.

Click on the name of your GitLab virtual machine to see it’s IP, which you will need in order to access your new GitLab.

Finding your new virtual machine’s IP:

Copy the Public IP from the GitLab VM’s settings and paste it in your browser.

Setup The Root User

The first screen you are faced with when you visit your GitLab’s IP, asks you to change the password for the initial user — root. The root user is the all-mighty administrator of your system and has all the privileges to manage GitLab, create users and projects, configure various settings, and more.

Enter your new password twice and move on to the login screen.

Login with user root and the password you created in the previous step:

THAT’S IT!

You can now begin creating projects, adding users, and managing issues!

More Questions?

Linnovate offers excellent Professional Support for this Product. Shoot us an email at contact@linnovate.net to get help with your brand new GitLab.

--

--

--

Open Source advocate, developer and solutions architect. Founder of Linnovate(.net), Stacksight(.io), OpenideaL(app.com) and a scarred DevOps engineer… @zstolar

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Operations on Image in OpenCV

What is ASP .Net Core? An Introduction to the New Framework

1.Support fine regulation,0.001A 、0.01V 、 0.001W

Top 3 Free Coding Courses!!!

The Git Branching Model You Need

Docker Basic Guide

Docker logo

Automate Creating Budgets for Resource Groups in Azure

DevOps Explained

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Zohar Stolar

Zohar Stolar

Open Source advocate, developer and solutions architect. Founder of Linnovate(.net), Stacksight(.io), OpenideaL(app.com) and a scarred DevOps engineer… @zstolar

More from Medium

Azure Kubernetes (AKS) Events with Azure Log Analytics

Connect Azure Kubernetes Java Applications to SQL with Kerberos Integrated Authentication

Deploying Nginx container on Azure Kubernetes AKS

Introduction to Azure DevOps

Private Linking from inside an Azure VM to multiple regional networks