Gitlab SaaS Free tier is now limited to 5 users. What can you do?
Tags: opensource, elestio, gitlab, saas
Published: 2023-10-11 12:14:05

---
title: Gitlab SaaS Free tier is now limited to 5 users. What can you do?
published: true
date: 2022-05-04 08:46:23 UTC
tags: opensource, elestio, gitlab, saas
canonical_url: https://elestio.hashnode.dev/gitlab-saas-free-tier-is-now-limited-to-5-users
---

Gitlab [announced recently](https://about.gitlab.com/blog/2022/03/24/efficient-free-tier/?ref=blog.elest.io) that they are limiting the number of users per namespace to 5. If you have more than 5 users in a group or subgroup you will be impacted by this change.

### What can you do?

1. Upgrade to [Gitlab paid offering](https://about.gitlab.com/pricing/?ref=blog.elest.io), if you have a relatively small number of users this option is quite interesting. But this is a deal-breaker when you have a few thousand or tens of thousands of users.
2. Migrate to something else like Github, [Gitea](https://elest.io/open-source/gitea?ref=blog.elest.io), Fossil, [Gogs](https://elest.io/open-source/gogs?ref=blog.elest.io), [Onedev](https://elest.io/open-source/onedev?ref=blog.elest.io) or others, but you will not get the same features and you will have to go through a migration and learning curve to master the new tool.
3. Migrate to the self-hosted version of Gitlab, this version is not limited in the number of users per namespace.

If options 1 & 2 are not working for you, lets go into more detail about option 3: migrate Gitlab SaaS to Gitlab self-hosted.

### List of topics you have to take care of when self-hosting a Gitlab instance

- DNS management
- SMTP Configuration
- Deploying and configuring Gitlab
- Updating frequently Gitlab (at least twice per month)
- Updating frequently OS (at least every week)
- Setting up multiple backups systems in multiple locations
- Setting up monitoring & alerts
- Setting up firewall / rate limiter / output cache
- Configure & Renew SSL certificates

Each point in this list above can be challenging depending on your skills, context, and permissions. Also, it can be very time-consuming.

Another option is to deploy a [fully-managed instance of Gitlab](https://elest.io/open-source/gitlab?ref=blog.elest.io) and if required also a [fully-managed instance of Gitlab Runner](https://elest.io/open-source/gitlab-runner?ref=blog.elest.io) with Elestio.

This way you get all the points above done for you **automatically** and you will also get **professional support** from our team of Linux experts and open-source enthusiasts.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1697005881211/0c715a34-ea1b-4ee1-857e-50f412339e51.png)

You can deploy a Gitlab instance in less than 5 minutes to any one of 80 datacenters in 27 countries through our 5 cloud providers. You can also BringYourOwnVM and host anywhere, including on-premise.

Click on the button below to launch a fully managed Gitlab instance.

Once your new Gitlab instance is ready you can migrate your repositories from Gitlab.com to your private Gitlab instance by following this tutorial:

### Step by step instructions to Migrate from Gitlab SaaS to Gitlab private instance

1) First go to your Gitlab.com Applications page: [https://gitlab.com/-/profile/applications](https://gitlab.com/-/profile/applications?ref=blog.elest.io)

2) There create a new Gitlab app by providing an app name (whatever you want) and also the redurect URI, you have to put 2 lines: [https://YOUR\_PRIVATE\_INSTANCE\_DOMAIN/import/gitlab/callback](https://YOUR_PRIVATE_INSTANCE_DOMAIN/import/gitlab/callback) and  
https://YOUR\_PRIVATE\_INSTANCE\_DOMAIN/users/auth/gitlab/callback

Replace YOUR\_PRIVATE\_INSTANCE\_DOMAIN with the your real gitlab instance domain.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1697005884004/8e30ddc6-133c-432c-b28f-bc1c7d461a28.png)

then validate by click on the Save application button below all options

You will then get an **Application ID & Secret** on screen, **copy both of them** , they will be required for next steps.

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1697005886040/c4f759d8-e26d-4f30-8205-5da1d757a4fc.png)

You will get something similar to this:

**Application ID:** f3205cad586b0eb7c287a629a6e4fa3b47c11e821ac82b95a260e94fdbc630c4  
**Application Secret:** 57e779604e485170c46757b2c63b5643fc4481a8f157da449f613feb0a10f718

3) Go back to Elestio Dashboard > click on your Gitlab instance to open the service overview:

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1697005887793/3649dea2-fee5-43c7-b4be-5f6b5122c6e2.png)

There click on Update Config button and paste this configuration including your app\_id and app\_secret you got at the previous step from gitlab.com like this:

gitlab\_rails['omniauth\_providers'] = [{ name: "gitlab", app\_id: "XXXXXXXXXXXXXXXX", app\_secret: "YYYYYYYYYYYYYYYYY", args: { scope: "read\_user" } # optional: defaults to the scopes of the application }]

It should now look like this:

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1697005890296/201927e4-2876-401b-8a0e-448a6620814b.png)

Finally click on Update & Restart, after 2 minutes your instance will be fully restarted with the new configuration.

from there you can start importing your Gitlab.com projects into your private Gitlab instance! To do that, go to your private Gitlab instance then click on New project > Import project > Gitlab

PS: you can also reach that screen with this url: [https://YOUR\_PRIVATE\_INSTANCE/projects/new#import\_project](https://your_private_instance/projects/new?ref=blog.elest.io#import_project)

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1697005892035/94bb5d29-1a57-4547-8ede-ec3dc34a7a0e.png)

Click on Gitlab.com in the import project from section, you will be asked to authorize access to your Gitlab.com account

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1697005893387/e14a81d8-076d-4bcd-a6c6-c4f7bc2bbcb3.png)

All your detected projects will be visible in the list, just click on the import button for each project you want to import in your private instance and your are done!

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1697005895558/32683d5b-a5cb-428c-bd21-d2264db0f405.png)

FYI, this method will import the repository and issues, but not everything. There is another way to export/import nearly everything, please [check here](https://docs.gitlab.com/ee/user/project/settings/import_export.html?ref=blog.elest.io#export-a-project-and-its-data).

With that alternative method the following items are exported:

- Project and wiki repositories
- Project uploads
- Project configuration, excluding integrations
- Issues with comments, merge requests with diffs and comments, labels, milestones, snippets, time tracking, and other project entities  
 Design Management files and data
- LFS objects
- Issue boards
- Pipelines history
- Push Rules
- Awards
- Group members are exported as project members, as long as the user has the
- Maintainer role in the exported projects group, or is an administrator

The following items are not exported:

- Child pipeline history
- Build traces and artifacts
- Container registry images
- CI/CD variables
- Pipeline triggers
- Webhooks
- Any encrypted tokens
- Merge Request Approvers and the number of required approvals
- Repository size limits
- Deploy keys allowed to push to protected branches
- Secure Files

These content rules also apply to creating projects from templates on the group or instance levels, because the same export and import mechanisms are used.

_Originally published at_ [_https://blog.elest.io_](https://blog.elest.io/gitlab-saas-free-trier-is-now-limited-to-5-users-per-namespace-few-alternatives-available/) _on May 4, 2022._