Getting started with Managed GitLab
From order to first login takes about half an hour, and most of it happens by itself. All you need to do is create two DNS records.
What you need
- An account in the portal.
- A domain where you can change DNS, for example
yourcompany.com. GitLab gets its own name under it, usuallygit.yourcompany.com.
Step 1: Order
Order under Managed GitLab in the portal and choose Small or Large.
In the Hostname field, enter the full name GitLab should have, for
example git.yourcompany.com. It becomes the address of your GitLab and the
name on the certificate.
You cannot change the name yourself afterwards. If you need to change it later, contact support.
If you pay by card, the installation starts once the payment is complete. If you pay by invoice, it starts as soon as the order is placed.
Step 2: Create the DNS records
When the server is installed you get an email from hej@getgeek.se with the
subject "Aktivera HTTPS för git.yourcompany.com". The email lists the
server's addresses. Create two records with whoever runs DNS for your domain:
Both records are needed. We check both before the certificate is issued.
Then it must allow Let's Encrypt, otherwise the certificate cannot be issued.
Add 0 issue "letsencrypt.org" if it is missing. If the domain has no CAA
record you do not need to do anything.
Step 3: Enable HTTPS
Click Verifiera DNS & aktivera HTTPS in the email. The page that opens shows which addresses we expect and what we see right now.
- DNS is correct: we request the certificate straight away. It takes about a minute.
- DNS is not correct yet: the page tells you what is missing. New records can take a while to propagate. Wait a few minutes and click Verifiera again.
We check against two public DNS services, Google and Cloudflare, and both must see the right addresses. You do not need to sit and wait: we also check on our own every fifteen minutes and enable HTTPS once the records show up.
Step 4: Choose a password
Once HTTPS is on, we create your administrator account and GitLab sends an
email with a link where you choose a password. The email comes from
gitlab@getgeek.se to the email address on your customer account.
Your username is the part before @ in the email address. If the address is
anna.svensson@yourcompany.com, the username is anna.svensson. You can
change it in your profile.
Then log in at https://git.yourcompany.com.
Step 5: The first things to do
- Turn on two-factor authentication for your account: your avatar → Edit profile → Account → Enable two-factor authentication. Your account is an administrator, so it is worth protecting.
- Add your SSH key under Edit profile → SSH Keys if you want to
use git over SSH. The address is the usual one, on port 22:
git@git.yourcompany.com:group/project.git. - Create accounts for your colleagues. Self-registration is turned off on the server, so new users are created by an administrator: Admin → Users → New user. The user gets an email and chooses their own password.
The GetGeek Automation account
The user list contains the account GetGeek Automation (drift), with the
username getgeek-automation. It is our operations account: updates,
backups and monitoring go through it.
Do not delete or block the account, do not remove its administrator rights and do not revoke its token. Maintenance stops working if you do. The account is only used by our automated jobs and by support when you ask for help.
Moving in from another GitLab
The import settings are under Admin → Settings → General → Import and export settings.
- From GitLab.com or another GitLab server: Direct Transfer is turned off by default. Turn on Allow migrating GitLab groups and projects by direct transfer and then move with New group → Import group. Issues, merge requests, wiki and CI settings come along.
- From GitHub and other services: check that the service is ticked under Import sources and use New project → Import project.
Next steps
- Operations and backup: when we update and how restores work.
- Settings and add-ons: what you can change yourself, your own mail relay, your own runners and more.