What is GitLab? It’s a self-hosted Git management platform and open-source Continuous Integration (CI) server. You can also perform code reviews and collaborate with merge requests, it also includes an issue tracker and a wiki by project.
So do you use git? need a remote repo? would like to track bugs and merge fixes and features? Then follow the simple tutorial below.
You can search the Azure Marketplace for this any many other solutions or you can use the Azure Portal which is what we are going to do.
- Navigate to portal.azure.com
- Search for “GitLab” in the search box & submit
GitLab like many solutions in the Azure Marketplace is a pre-configured virtual machine image, so you will need to define what kind of VM you need.
- Basics: Configure basic settings
* Enter a
Namefor the Virtual Machine
* Enter a
User namefor the default admin/root account
* Select your preferred
Authentication type& enter a
SSH public key
- For Linux it’s recommended to use SSH Public Key. How to generate an SSH key on Windows & Mac/OSX.
- Select the
subscriptionto deploy the VM in.
- More often than not you will not need to change this.
Resource Groupselect an existing one (if this deployment is related to previous resources in Azure) or create a new one.
- Not sure what a Resource Group is? A resource group is a container that holds related resources for an application. The resource group could include all of the resources for an application, or only those resources that are logically grouped together. Read more resource groups.
- Select a
Locationfor the virtual machine
- Size: Choose virtual machine size
* Unless you are a large organization with hundreds of projects a smaller VM size like A1 should be more than enough.
- Settings: Configure optional features
* All the defaults here are just fine
* GitLab itself is free, however the VM it will be deployed on has a cost (based on the size and disk options you chose).
In a few minutes you will have your new VM with BitLab already installed, network & endpoints configured and everything ready to get you going!
To make it easier for your team to collaborate you should assign a custom fully qualified domain name to your VM.
- In the dashboard for your VM you will see it’s
public IP, clicking on it will open the settings blade.
- Enter a custom
For more on custom domain names check out Create a Fully Qualified Domain Name in the Azure portal.
The disks in your VM are (and all of Azure Storage) already triple redundant so Azure protects you from data loss right out the gate. Learn more about Azure Storage replication.
Need to know more about GitLab check out their documentation.
For more solutions that can be easily deployed check out the Azure Marketplace Gallery.
Follow me, @marc_gagne on Twitter.