GitLab Self-Managed subscription

  • Tier: Premium, Ultimate
  • Offering: GitLab Self-Managed

After you subscribe to GitLab, you can manage the details of your self-managed subscription. If you experience any issues, see the troubleshooting page.

How GitLab bills for users

A GitLab Self-Managed subscription uses a hybrid model. You pay for a subscription according to the maximum number of users enabled during the subscription period.

For instances that are not offline or on a closed network, the maximum number of simultaneous users in the GitLab Self-Managed instance is checked each quarter.

If an instance is unable to generate a quarterly usage report, the existing true up model is used. Prorated charges are not possible without a quarterly usage report.

Billable users

Billable users count toward the number of subscription seats purchased in your subscription.

The number of billable users changes when you block, deactivate, or add users to your instance during your current subscription period.

A user is not counted as a billable user if:

The amount of Billable users is reported once a day in the Admin area.

Users in subscription

The number of users in subscription represents the number of users included in your current license, based on what you’ve paid for. This number remains the same throughout your subscription period unless you purchase more seats.

Maximum users

The number of maximum users reflects the highest number of billable users on your system for the current license period.

Users over subscription

A GitLab subscription is valid for a specific number of seats. The number of users over subscription shows how many users are in excess of the number allowed by the subscription, in the current subscription period.

Calculated as Maximum users - Users in subscription for the current license term. For example, you purchase a subscription for 10 users.

EventBillable usersMaximum users
Ten users occupy all 10 seats.1010
Two new users join.1212
Three users leave and their accounts are blocked.912
Four new users join.1313

Users over subscription = 13 - 10 (Maximum users - users in license)

The users over subscription value is always zero for trial license.

If users over subscription value is above zero, then you have more users in your GitLab instance than you are licensed for. You must pay for the additional users before or at the time of renewal. This is called the “true up” process. If you do not do this, your license key does not work.

To view the number of users over subscription, go to the Admin area.

Free Guest users

  • Tier: Ultimate
  • Offering: GitLab.com, GitLab Self-Managed, GitLab Dedicated

In the Ultimate tier, users who are assigned the Guest role do not consume a seat. The user must not be assigned any other role, anywhere in the instance.

  • If your project is private or internal, a user with the Guest role has a set of permissions.
  • If your project is public, all users, including those with the Guest role can access your project.
  • A user’s highest assigned role is updated asynchronously and may take some time to update.

If a user creates a project, they are assigned the Maintainer or Owner role. To prevent a user from creating projects, as an administrator, you can mark the user as external.

View users

View the lists of users in your instance:

  1. On the left sidebar, at the bottom, select Admin.
  2. Select Users.

Select a user to view their account information.

Check daily and historical billable users

Prerequisites:

  • You must be an administrator.

You can get a list of daily and historical billable users in your GitLab instance:

  1. Start a Rails console session.

  2. Count the number of users in the instance:

    User.billable.count
  3. Get the historical maximum number of users on the instance from the past year:

    ::HistoricalData.max_historical_user_count(from: 1.year.ago.beginning_of_day, to: Time.current.end_of_day)

Update daily and historical billable users

Prerequisites:

  • You must be an administrator.

You can trigger a manual update of the daily and historical billable users in your GitLab instance.

  1. Start a Rails console session.

  2. Force an update of the daily billable users:

    identifier = Analytics::UsageTrends::Measurement.identifiers[:billable_users]
    ::Analytics::UsageTrends::CounterJobWorker.new.perform(identifier, User.minimum(:id), User.maximum(:id), Time.zone.now)
  3. Force an update of the historical max billable users:

    ::HistoricalDataWorker.new.perform

Manage users and subscription seats

Managing the number of users against the number of subscription seats can be difficult:

  • If LDAP is integrated with GitLab, anyone in the configured domain can sign up for a GitLab account. This can result in an unexpected bill at time of renewal.
  • If sign-up is turned on in your instance, anyone who can access the instance can sign up for an account.

GitLab has several features to help you manage the number of users. You can:

Buy seats for a subscription

To increase the number of users covered by your license, buy seats for your subscription during the subscription period. The cost of seats added during the subscription period is prorated from the date of purchase through to the end of the subscription period. You can continue to add users even if you reach the number of users in license count. GitLab bills you for the overage.

You cannot buy seats for your subscription if either:

  • You purchased your subscription through an authorized reseller (including GCP and AWS marketplaces). Contact the reseller to add more seats.
  • You have a multi-year subscription. Contact the sales team to add more seats.

To buy seats for a subscription:

  1. Sign in to the Customers Portal.
  2. Go to the Subscriptions & purchases page.
  3. Select Add seats on the relevant subscription card.
  4. Enter the number of additional users.
  5. Review the Purchase summary section, which lists the total price for all users on the system and a credit for what you’ve already paid. You are only charged for the net change.
  6. Enter your payment information.
  7. Select Purchase seats.

A payment receipt is emailed to you, which you can also access in the Customers Portal under Invoices.

If your subscription was activated with an activation code, the additional seats are reflected in your instance immediately. If you’re using a license file, you receive an updated file. To add the seats, add the license file to your instance.

Export your license usage

Prerequisites:

  • You must be an administrator.

You can export your license usage into a CSV file.

This file contains the information GitLab uses to manually process quarterly reconciliations and renewals. If your instance is firewalled or an offline environment, you must provide GitLab with this information.

Do not open the license usage file. If you open the file, failures might occur when you submit your license usage data.

  1. On the left sidebar, at the bottom, select Admin.
  2. Select Subscription.
  3. In the upper-right corner, select Export license usage file.

License usage file contents

The license usage file includes the following information:

  • License key
  • Licensee email
  • License start date (UTC)
  • License end date (UTC)
  • Company
  • Timestamp the file was generated at and exported (UTC)
  • Table of historical user counts for each day in the period:

A custom format is used for dates and times in CSV files.

Review your account

You should regularly review your billing account settings and purchasing information.

To review your billing account settings:

  1. Sign in to the Customers Portal.
  2. Select Billing account settings.
  3. Verify or update:
    • Under Payment methods, the credit card on file.
    • Under Company information, the subscription and billing contact details.
  4. Save any changes.

You should also regularly review your user accounts to make sure that you are only renewing for the correct number of active billable users. Inactive user accounts:

  • Might count as billable users. You pay more than you should if you renew inactive user accounts.
  • Can be a security risk. A regular review helps reduce this risk.

For more information, see the documentation on:

Add or change the contacts for your subscription

Contacts can manage subscriptions and billing account settings.

For information about how to transfer ownership of the Customers Portal account to another person, see Change profile owner information.

To add another contact for your subscription, see Add a billing account manager.

Storage

The amount of storage and transfer for GitLab Self-Managed instances has no application limits. Administrators are responsible for the underlying infrastructure costs and can set repository size limits.