debian-mirror-gitlab/doc/subscriptions/self_managed/index.md

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

544 lines
26 KiB
Markdown
Raw Normal View History

2020-11-24 15:15:51 +05:30
---
2021-03-08 18:12:59 +05:30
stage: Fulfillment
group: Purchase
2022-11-25 23:54:43 +05:30
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/product/ux/technical-writing/#assignments
2020-11-24 15:15:51 +05:30
type: index, reference
---
2021-03-11 19:13:27 +05:30
# GitLab self-managed subscription **(PREMIUM SELF)**
2020-11-24 15:15:51 +05:30
You can install, administer, and maintain your own GitLab instance.
2021-01-29 00:20:46 +05:30
This page covers the details of your GitLab self-managed subscription.
2020-11-24 15:15:51 +05:30
2021-03-08 18:12:59 +05:30
GitLab subscription management requires access to the Customers Portal.
## Customers Portal
GitLab provides the [Customers Portal](../index.md#customers-portal) where you can
manage your subscriptions and your account details.
2023-03-17 16:20:25 +05:30
Customers are required to use their GitLab.com account to register for a new Customers Portal account.
If you have a legacy Customers Portal account that is not linked to a GitLab.com account, you may still [sign in](https://customers.gitlab.com/customers/sign_in?legacy=true) using an email and password. However, you should [create](https://gitlab.com/users/sign_up) and [link a GitLab.com account](../index.md#change-the-linked-account) to ensure continued access to the Customers Portal.
2021-03-08 18:12:59 +05:30
Customers of resellers do not have access to this portal and should contact their reseller for any
changes to their subscription.
2021-01-29 00:20:46 +05:30
## Subscription
The cost of a GitLab self-managed subscription is determined by the following:
2021-11-18 22:05:49 +05:30
- [GitLab tier](https://about.gitlab.com/pricing/)
- [Subscription seats](#subscription-seats)
2021-01-29 00:20:46 +05:30
2021-04-29 21:17:54 +05:30
## Choose a GitLab tier
2020-11-24 15:15:51 +05:30
2021-04-29 21:17:54 +05:30
Pricing is [tier-based](https://about.gitlab.com/pricing/), so you can choose
the features that fit your budget. For information on the features available
for each tier, see the
2023-01-13 00:05:48 +05:30
[GitLab self-managed feature comparison](https://about.gitlab.com/pricing/feature-comparison/).
2020-11-24 15:15:51 +05:30
2021-01-29 00:20:46 +05:30
## Subscription seats
2020-11-24 15:15:51 +05:30
2021-03-11 19:13:27 +05:30
A GitLab self-managed subscription uses a hybrid model. You pay for a subscription
2021-10-27 15:23:28 +05:30
according to the [maximum number](#maximum-users) of users enabled during the subscription period.
For instances that aren't offline or on a closed network, the maximum number of
simultaneous users in the GitLab self-managed installation is checked each quarter.
2020-11-24 15:15:51 +05:30
2023-04-23 21:23:45 +05:30
If an instance is unable to generate a quarterly usage report, the existing [true up model](#users-over-subscription) is used.
2021-10-27 15:23:28 +05:30
Prorated charges are not possible without a quarterly usage report.
### View user totals
You can view users for your license and determine if you've gone over your subscription.
2022-10-11 01:57:18 +05:30
1. On the top bar, select **Main menu > Admin**.
2021-10-27 15:23:28 +05:30
1. On the left menu, select **Subscription**.
The lists of users are displayed.
#### Billable users
2021-01-29 00:20:46 +05:30
A _billable user_ counts against the number of subscription seats. Every user is considered a
billable user, with the following exceptions:
2020-11-24 15:15:51 +05:30
2021-10-27 15:23:28 +05:30
- [Deactivated users](../../user/admin_area/moderate_users.md#deactivate-a-user) and
[blocked users](../../user/admin_area/moderate_users.md#block-a-user) don't count as billable users in the current subscription. When they are either deactivated or blocked they release a _billable user_ seat. However, they may
2021-01-29 00:20:46 +05:30
count toward overages in the subscribed seat count.
2021-10-27 15:23:28 +05:30
- Users who are [pending approval](../../user/admin_area/moderate_users.md#users-pending-approval).
2023-03-04 22:38:38 +05:30
- Members with the [Guest role on an Ultimate subscription](#free-guest-users).
2021-10-27 15:23:28 +05:30
- Users without project or group memberships on an Ultimate subscription.
2022-04-04 11:22:00 +05:30
- GitLab-created service accounts:
- [Ghost User](../../user/profile/account/delete_account.md#associated-records).
- Bots such as:
- [Support Bot](../../user/project/service_desk.md#support-bot-user).
- [Bot users for projects](../../user/project/settings/project_access_tokens.md#bot-users-for-projects).
- [Bot users for groups](../../user/group/settings/group_access_tokens.md#bot-users-for-groups).
2021-10-27 15:23:28 +05:30
**Billable users** as reported in the `/admin` section is updated once per day.
#### Maximum users
The number of _maximum users_ reflects the highest number of billable users for the current license period.
2023-04-23 21:23:45 +05:30
#### Users over subscription
2021-10-27 15:23:28 +05:30
2023-04-23 21:23:45 +05:30
The number of _users over subscription_ shows how many users are in excess of the number allowed by the subscription. This number reflects the current subscription period.
2021-10-27 15:23:28 +05:30
For example, if:
2023-04-23 21:23:45 +05:30
- The subscription allows 100 users and
2021-10-27 15:23:28 +05:30
- **Maximum users** is 150,
Then this value would be 50.
If the **Maximum users** value is less than or equal to 100, then this value is 0.
2023-04-23 21:23:45 +05:30
A trial license always displays zero for **Users over subscription**.
2021-10-27 15:23:28 +05:30
If you add more users to your GitLab instance than you are licensed for, payment for the additional users is due [at the time of renewal](../quarterly_reconciliation.md).
If you do not add these users during the renewal process, your license key will not work.
2020-11-24 15:15:51 +05:30
2023-03-04 22:38:38 +05:30
#### Free Guest users **(ULTIMATE)**
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](../../user/permissions.md#project-members-permissions).
- If your project is public, all users, including those with the Guest role
can access your project.
2023-04-23 21:23:45 +05:30
- A user's highest assigned role is updated asynchronously and may take some time to update.
2023-03-04 22:38:38 +05:30
NOTE:
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](../../user/admin_area/external_users.md).
2021-01-29 00:20:46 +05:30
### Tips for managing users and subscription seats
Managing the number of users against the number of subscription seats can be a challenge:
- If LDAP integration is enabled, 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 enabled on your instance, anyone who can access the instance can sign up for an
account.
GitLab has several features which can help you manage the number of users:
- Enable the [**Require administrator approval for new sign ups**](../../user/admin_area/settings/sign_up_restrictions.md#require-administrator-approval-for-new-sign-ups)
option.
2023-04-23 21:23:45 +05:30
- Enable `block_auto_created_users` for new sign-ups via [LDAP](../../administration/auth/ldap/index.md#basic-configuration-settings) or [OmniAuth](../../integration/omniauth.md#configure-common-settings).
2021-01-29 00:20:46 +05:30
- Enable the [User cap](../../user/admin_area/settings/sign_up_restrictions.md#user-cap)
2021-02-22 17:27:13 +05:30
option. **Available in GitLab 13.7 and later**.
2021-01-29 00:20:46 +05:30
- [Disable new sign-ups](../../user/admin_area/settings/sign_up_restrictions.md), and instead manage new
users manually.
2021-02-22 17:27:13 +05:30
- View a breakdown of users by role in the [Users statistics](../../user/admin_area/index.md#users-statistics) page.
2020-11-24 15:15:51 +05:30
2023-03-17 16:20:25 +05:30
## Subscription data synchronization
2021-10-27 15:23:28 +05:30
> Introduced in GitLab 14.1.
2023-03-17 16:20:25 +05:30
Subscription data can be automatically synchronized between your self-managed instance and GitLab.
To enable subscription data synchronization you must have:
2021-10-27 15:23:28 +05:30
2023-03-17 16:20:25 +05:30
- GitLab Enterprise Edition (EE), version 14.1 or later.
- Connection to the internet, and must not have an offline environment.
- [Activated](../../user/admin_area/license.md) your instance with an activation code.
2021-10-27 15:23:28 +05:30
2023-03-17 16:20:25 +05:30
When your instance is activated, and data is synchronized, the following processes are automated:
2021-10-27 15:23:28 +05:30
2022-08-13 15:12:31 +05:30
- [Quarterly subscription reconciliation](../quarterly_reconciliation.md).
- Subscription renewals.
- Subscription updates, such as adding more seats or upgrading a GitLab tier.
2021-10-27 15:23:28 +05:30
2023-03-17 16:20:25 +05:30
At approximately 03:00 UTC, a daily synchronization job sends subscription data to the Customers
Portal. For this reason, updates and renewals may not apply immediately.
2021-10-27 15:23:28 +05:30
2023-03-17 16:20:25 +05:30
The data is sent securely through an encrypted HTTPS connection to `customers.gitlab.com` on port
`443`. If the job fails, it retries up to 12 times over approximately 17 hours.
2021-10-27 15:23:28 +05:30
2023-03-17 16:20:25 +05:30
### Subscription data
2021-10-27 15:23:28 +05:30
2023-03-17 16:20:25 +05:30
The daily synchronization job sends **only** the following information to the Customers Portal:
2021-10-27 15:23:28 +05:30
- Date
- Timestamp
- License key
2022-07-23 23:45:48 +05:30
- Company name (encrypted within license key)
- Licensee name (encrypted within license key)
- Licensee email (encrypted within license key)
2021-10-27 15:23:28 +05:30
- Historical maximum user count
- Billable users count
- GitLab version
- Hostname
- Instance ID
2022-08-13 15:12:31 +05:30
Example of a license sync request:
2021-12-11 22:18:48 +05:30
```json
2021-10-27 15:23:28 +05:30
{
"gitlab_version": "14.1.0-pre",
"timestamp": "2021-06-14T12:00:09Z",
"date": "2021-06-14",
"license_key": "eyJkYXRhIjoiYlR2MFBPSEJPSnNOc1plbGtFRGZ6M
Ex1mWWhyM1Y3NWFOU0Zj\nak1xTmtLZHU1YzJJUWJzZzVxT3FQRU1PXG5
KRzErL2ZNd0JuKzBwZmQ3YnY4\nTkFrTDFsMFZyQi9NcG5DVEdkTXQyNT
R3NlR0ZEc0MjBoTTVna2VORlVcbjAz\nbUgrNGl5N0NuenRhZlljd096R
nUzd2JIWEZ3NzV2V2lqb3FuQ3RYZWppWVFU\neDdESkgwSUIybFJhZlxu
Y2k0Mzl3RWlKYjltMkJoUzExeGIwWjN3Uk90ZGp1\nNXNNT3dtL0Vtc3l
zWVowSHE3ekFILzBjZ2FXSXVQXG5ENWJwcHhOZzRlcFhr\neFg0K3d6Zk
w3cHRQTTJMTGdGb2Vwai90S0VJL0ZleXhxTEhvaUc2NzVIbHRp\nVlRcb
nYzY090bmhsdTMrc0VGZURJQ3VmcXFFUS9ISVBqUXRhL3ZTbW9SeUNh\n
SjdDTkU4YVJnQTlBMEF5OFBiZlxuT0VORWY5WENQVkREdUMvTTVCb25Re
ENv\nK0FrekFEWWJ6VGZLZ1dBRjgzUXhyelJWUVJGTTErWm9TeTQ4XG5V
aWdXV0d4\nQ2graGtoSXQ1eXdTaUFaQzBtZGd2aG1YMnl1KzltcU9WMUx
RWXE4a2VSOHVn\nV3BMN1VFNThcbnMvU3BtTk1JZk5YUHhOSmFlVHZqUz
lXdjlqMVZ6ODFQQnFx\nL1phaTd6MFBpdG5NREFOVnpPK3h4TE5CQ1xub
GtacHNRdUxTZmtWWEZVUnB3\nWTZtWGdhWE5GdXhURjFndWhyVDRlTE92
bTR3bW1ac0pCQnBkVWJIRGNyXG5z\nUjVsTWJxZEVUTXJNRXNDdUlWVlZ
CTnJZVTA2M2dHblc4eVNXZTc0enFUcW1V\nNDBrMUZpN3RTdzBaZjBcbm
16UGNYV0RoelpkVk02cWR1dTl0Q1VqU05tWWlU\nOXlwRGZFaEhXZWhjb
m50RzA5UWVjWEM5em52Y1BjU1xueFU0MDMvVml5R3du\nQXNMTHkyajN5
b3hhTkJUSWpWQ1BMUjdGeThRSEVnNGdBd0x6RkRHVWg1M0Qz\nMHFRXG5
5eWtXdHNHN3VBREdCNmhPODFJanNSZnEreDhyb2ZpVU5JVXo4NCtD\nem
Z1V1Q0K1l1VndPTngyc1l0TU5cbi9WTzlaaVdPMFhtMkZzM2g1NlVXcGI
y\nSUQzRnRlbW5vZHdLOWU4L0tiYWRESVRPQmgzQnIxbDNTS2tHN1xuQ3
hpc29D\nNGh4UW5mUmJFSmVoQkh6eHV1dkY5aG11SUsyVmVDQm1zTXZCY
nZQNGdDbHZL\ndUExWnBEREpDXG41eEhEclFUd3E1clRYS2VuTjhkd3BU
SnVLQXgvUjlQVGpy\ncHJLNEIzdGNMK0xIN2JKcmhDOTlabnAvLzZcblZ
HbXk5SzJSZERIcXp3U2c3\nQjFwSmFPcFBFUHhOUFJxOUtnY2hVR0xWMF
d0Rk9vPVxuIiwia2V5IjoiUURM\nNU5paUdoRlVwZzkwNC9lQWg5bFY0Q
3pkc2tSQjBDeXJUbG1ZNDE2eEpPUzdM\nVXkrYXRhTFdpb0lTXG5sTWlR
WEU3MVY4djFJaENnZHJGTzJsTUpHbUR5VHY0\ndWlSc1FobXZVWEhpL3h
vb1J4bW9XbzlxK2Z1OGFcblB6anp1TExhTEdUQVdJ\nUDA5Z28zY3JCcz
ZGOEVLV28xVzRGWWtUUVh2TzM0STlOSjVHR1RUeXkzVkRB\nc1xubUdRe
jA2eCtNNkFBM1VxTUJLZXRMUXRuNUN2R3l3T1VkbUx0eXZNQ3JX\nSWVQ
TElrZkJwZHhPOUN5Z1dCXG44UkpBdjRSQ1dkMlFhWVdKVmxUMllRTXc5\
nL29LL2hFNWRQZ1pLdWEyVVZNRWMwRkNlZzg5UFZrQS9mdDVcbmlETWlh
YUZz\nakRVTUl5SjZSQjlHT2ovZUdTRTU5NVBBMExKcFFiVzFvZz09XG4
iLCJpdiI6\nImRGSjl0YXlZWit2OGlzbGgyS2ZxYWc9PVxuIn0=\n",
"max_historical_user_count": 75,
"billable_users_count": 75,
"hostname": "gitlab.example.com",
2022-08-13 15:12:31 +05:30
"instance_id": "9367590b-82ad-48cb-9da7-938134c29088"
2021-10-27 15:23:28 +05:30
}
2021-12-11 22:18:48 +05:30
```
2021-10-27 15:23:28 +05:30
2023-03-17 16:20:25 +05:30
### Manually synchronize your subscription details
2021-10-27 15:23:28 +05:30
2023-03-17 16:20:25 +05:30
You can manually synchronize your subscription details at any time.
2021-10-27 15:23:28 +05:30
2022-10-11 01:57:18 +05:30
1. On the top bar, select **Main menu > Admin**.
2021-10-27 15:23:28 +05:30
1. On the left sidebar, select **Subscription**.
1. In the **Subscription details** section, select **Sync subscription details**.
A job is queued. When the job finishes, the subscription details are updated.
2020-11-24 15:15:51 +05:30
## Obtain a subscription
2021-03-11 19:13:27 +05:30
To subscribe to GitLab through a GitLab self-managed installation:
2020-11-24 15:15:51 +05:30
2021-03-11 19:13:27 +05:30
1. Go to the [Customers Portal](https://customers.gitlab.com/) and purchase a GitLab self-managed plan.
2022-05-07 20:08:51 +05:30
1. After purchase, an activation code is sent to the email address associated with the Customers Portal account.
You must [add this code to your GitLab instance](../../user/admin_area/license.md).
2020-11-24 15:15:51 +05:30
2021-02-22 17:27:13 +05:30
NOTE:
2021-03-11 19:13:27 +05:30
If you're purchasing a subscription for an existing **Free** GitLab self-managed
2020-11-24 15:15:51 +05:30
instance, ensure you're purchasing enough seats to
[cover your users](../../user/admin_area/index.md#administering-users).
## View your subscription
2021-02-22 17:27:13 +05:30
If you are an administrator, you can view the status of your subscription:
2020-11-24 15:15:51 +05:30
2022-10-11 01:57:18 +05:30
1. On the top bar, select **Main menu > Admin**.
2022-06-21 17:19:12 +05:30
1. On the left sidebar, select **Subscription**.
2020-11-24 15:15:51 +05:30
2022-06-21 17:19:12 +05:30
The **Subscription** page includes the following details:
2021-02-22 17:27:13 +05:30
- Licensee
- Plan
- When it was uploaded, started, and when it expires
2022-06-21 17:19:12 +05:30
It also displays the following information:
2021-02-22 17:27:13 +05:30
| Field | Description |
|:-------------------|:------------|
2021-03-08 18:12:59 +05:30
| Users in License | The number of users you've paid for in the current license loaded on the system. The number does not change unless you [add seats](#add-seats-to-a-subscription) during your current subscription period. |
2022-08-27 11:52:29 +05:30
| Billable users | The daily count of billable users on your system. The count may change as you block, deactivate, or add users to your instance. |
2021-03-08 18:12:59 +05:30
| Maximum users | The highest number of billable users on your system during the term of the loaded license. |
2023-04-23 21:23:45 +05:30
| Users over subscription | Calculated as `Maximum users` - `Users in subscription` for the current license term. This number incurs a retroactive charge that must be paid before renewal. |
2020-11-24 15:15:51 +05:30
2022-01-26 12:08:38 +05:30
## Export your license usage
2022-11-25 23:54:43 +05:30
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/66826) in GitLab 14.2.
2022-01-26 12:08:38 +05:30
If you are an administrator, you can export your license usage into a CSV:
2022-10-11 01:57:18 +05:30
1. On the top bar, select **Main menu > Admin**.
2022-01-26 12:08:38 +05:30
1. On the left sidebar, select **Subscription**.
2023-05-27 22:25:52 +05:30
1. In the upper-right corner, select **Export license usage file**.
2022-01-26 12:08:38 +05:30
2022-08-13 15:12:31 +05:30
This file contains the information GitLab uses to manually process quarterly reconciliations or renewals. If your instance is firewalled or an offline environment, you must provide GitLab with this information.
2022-01-26 12:08:38 +05:30
The **License Usage** CSV includes the following details:
- License key
2022-08-27 11:52:29 +05:30
- Licensee email
2022-01-26 12:08:38 +05:30
- License start date
- License end date
- Company
- Generated at (the timestamp for when the file was exported)
- Table of historical user counts for each day in the period:
2022-08-27 11:52:29 +05:30
- Timestamp the count was recorded
- Billable user count
2022-01-26 12:08:38 +05:30
2022-04-04 11:22:00 +05:30
NOTES:
2022-08-27 11:52:29 +05:30
- All date timestamps are displayed in UTC.
2022-04-04 11:22:00 +05:30
- A custom format is used for [dates](https://gitlab.com/gitlab-org/gitlab/blob/3be39f19ac3412c089be28553e6f91b681e5d739/config/initializers/date_time_formats.rb#L7) and [times](https://gitlab.com/gitlab-org/gitlab/blob/3be39f19ac3412c089be28553e6f91b681e5d739/config/initializers/date_time_formats.rb#L13) in CSV files.
2020-11-24 15:15:51 +05:30
## Renew your subscription
2023-03-17 16:20:25 +05:30
You can renew your subscription starting from 15 days before your subscription expires. To renew your subscription:
2022-08-13 15:12:31 +05:30
2023-03-17 16:20:25 +05:30
1. [Prepare for renewal by reviewing your account.](#prepare-for-renewal-by-reviewing-your-account)
1. [Renew your GitLab self-managed subscription.](#renew-subscription-manually)
2020-11-24 15:15:51 +05:30
### Prepare for renewal by reviewing your account
The [Customers Portal](https://customers.gitlab.com/customers/sign_in) is your
tool for renewing and modifying your subscription. Before going ahead with renewal,
2022-11-25 23:54:43 +05:30
sign in and verify or update:
2020-11-24 15:15:51 +05:30
- The invoice contact details on the **Account details** page.
- The credit card on file on the **Payment Methods** page.
2021-02-22 17:27:13 +05:30
NOTE:
2020-11-24 15:15:51 +05:30
Contact our [support team](https://support.gitlab.com/hc/en-us/requests/new?ticket_form_id=360000071293)
if you need assistance accessing the Customers Portal or if you need to change
the contact person who manages your subscription.
It's important to regularly review your user accounts, because:
2022-08-27 11:52:29 +05:30
- Stale user accounts may count as billable users. You may pay more than you should
2021-03-08 18:12:59 +05:30
if you renew for too many users.
2020-11-24 15:15:51 +05:30
- Stale user accounts can be a security risk. A regular review helps reduce this risk.
2023-04-23 21:23:45 +05:30
#### Users over subscription
2020-11-24 15:15:51 +05:30
2023-04-23 21:23:45 +05:30
A GitLab subscription is valid for a specific number of seats. The number of users over subscription
is the number of _maximum users_ that exceed the users in subscription for the current subscription term.
2021-03-08 18:12:59 +05:30
You must pay for this number of users either before renewal, or at the time of renewal. This is
2023-04-23 21:23:45 +05:30
called the _true up_ process.
2021-03-08 18:12:59 +05:30
2023-04-23 21:23:45 +05:30
To view the number of users over subscription go to the **Admin Area**.
2020-11-24 15:15:51 +05:30
2023-04-23 21:23:45 +05:30
##### Users over subscription example
2021-02-22 17:27:13 +05:30
2023-04-23 21:23:45 +05:30
You purchase a subscription for 10 users.
2021-02-22 17:27:13 +05:30
2022-08-27 11:52:29 +05:30
| Event | Billable users | Maximum users |
2021-03-08 18:12:59 +05:30
|:---------------------------------------------------|:-----------------|:--------------|
2021-04-29 21:17:54 +05:30
| Ten users occupy all 10 seats. | 10 | 10 |
| Two new users join. | 12 | 12 |
| Three users leave and their accounts are removed. | 9 | 12 |
2021-03-08 18:12:59 +05:30
2023-04-23 21:23:45 +05:30
Users over subscription = 12 - 10 (Maximum users - users in license)
2021-03-08 18:12:59 +05:30
### Add seats to a subscription
The users in license count can be increased by adding seats to a subscription any time during the
subscription period. The cost of seats added during the subscription
2020-11-24 15:15:51 +05:30
period is prorated from the date of purchase through the end of the subscription period.
2021-03-08 18:12:59 +05:30
To add seats to a subscription:
2020-11-24 15:15:51 +05:30
1. Log in to the [Customers Portal](https://customers.gitlab.com/).
1. Navigate to the **Manage Purchases** page.
1. Select **Add more seats** on the relevant subscription card.
1. Enter the number of additional users.
1. Select **Proceed to checkout**.
2021-02-22 17:27:13 +05:30
1. Review the **Subscription Upgrade Detail**. The system lists the total price for all users on the system and a credit for what you've already paid. You are only be charged for the net change.
2020-11-24 15:15:51 +05:30
1. Select **Confirm Upgrade**.
2022-07-23 23:45:48 +05:30
A payment receipt is emailed to you, which you can also access in the Customers Portal under [**View invoices**](https://customers.gitlab.com/receipts).
2020-11-24 15:15:51 +05:30
2022-07-23 23:45:48 +05:30
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](../../user/admin_area/license_file.md)
to your instance.
2020-11-24 15:15:51 +05:30
2023-03-17 16:20:25 +05:30
### Renew subscription manually
2020-11-24 15:15:51 +05:30
2022-08-13 15:12:31 +05:30
Starting 30 days before a subscription expires, a banner with the expiry date displays for administrators in the GitLab user interface.
2020-11-24 15:15:51 +05:30
2023-03-17 16:20:25 +05:30
You should follow these steps during renewal:
2020-11-24 15:15:51 +05:30
2022-05-07 20:08:51 +05:30
1. Prior to the renewal date, prune any inactive or unwanted users by [blocking them](../../user/admin_area/moderate_users.md#block-a-user).
2020-11-24 15:15:51 +05:30
1. Determine if you have a need for user growth in the upcoming subscription.
1. Log in to the [Customers Portal](https://customers.gitlab.com/customers/sign_in) and select the **Renew** button beneath your existing subscription.
2022-03-02 08:16:31 +05:30
The **Renew** button remains disabled (grayed-out) until 15 days before a subscription expires.
You can hover your mouse on the **Renew** button to see the date when it will become active.
2020-11-24 15:15:51 +05:30
2021-02-22 17:27:13 +05:30
NOTE:
2022-08-13 15:12:31 +05:30
If you need to change your [GitLab tier](https://about.gitlab.com/pricing/), contact our sales team with [the sales contact form](https://about.gitlab.com/sales/) for assistance as this can't be done in the Customers Portal.
2020-11-24 15:15:51 +05:30
2021-04-29 21:17:54 +05:30
1. In the first box, enter the total number of user licenses you'll need for the upcoming year. Be sure this number is at least **equal to, or greater than** the number of billable users in the system at the time of performing the renewal.
2023-04-23 21:23:45 +05:30
1. Enter the number of [users over subscription](#users-over-subscription) in the second box for the user overage incurred in your previous subscription term.
2020-11-24 15:15:51 +05:30
1. Review your renewal details and complete the payment process.
2022-05-07 20:08:51 +05:30
1. An activation code for the renewal term is available on the [Manage Purchases](https://customers.gitlab.com/subscriptions) page on the relevant subscription card. Select **Copy activation code** to get a copy.
1. [Add the activation code](../../user/admin_area/license.md) to your instance.
2020-11-24 15:15:51 +05:30
2021-02-22 17:27:13 +05:30
An invoice is generated for the renewal and available for viewing or download on the [View invoices](https://customers.gitlab.com/receipts) page. If you have difficulty during the renewal process, contact our [support team](https://support.gitlab.com/hc/en-us/requests/new?ticket_form_id=360000071293) for assistance.
2020-11-24 15:15:51 +05:30
2023-03-17 16:20:25 +05:30
### Automatic subscription renewal
When a subscription is set to auto-renew, it renews automatically on the
2023-04-23 21:23:45 +05:30
expiration date (at midnight UTC) without a gap in available service. Subscriptions purchased through Customers Portal are set to auto-renew by default.
2023-03-17 16:20:25 +05:30
The number of user licenses is adjusted to fit the [number of billable users in your instance](#view-user-totals) at the time of renewal.
2023-04-23 21:23:45 +05:30
Before auto-renewal you should [prepare for the renewal](#prepare-for-renewal-by-reviewing-your-account) at least 2 days before the renewal date, so that your changes synchronize to GitLab in time for your renewal. To auto-renew your subscription,
2023-03-17 16:20:25 +05:30
you must have enabled the [synchronization of subscription data](#subscription-data-synchronization).
You can view and download your renewal invoice on the Customers Portal
[View invoices](https://customers.gitlab.com/receipts) page. If your account has a [saved credit card](../index.md#change-your-payment-method), the card is charged for the invoice amount. If we are unable to process a payment or the auto-renewal fails for any other reason, you have 14 days to renew your subscription, after which your GitLab tier is downgraded.
#### Email notifications
15 days before a subscription automatically renews, an email is sent with information about the renewal.
- If your credit card is expired, the email tells you how to update it.
- If you have any outstanding overages or subscription isn't able to auto-renew for any other reason, the email tells you to contact our Sales team or [renew in Customers Portal](#renew-subscription-manually).
- If there are no issues, the email specifies the names and quantity of the products being renewed. The email also includes the total amount you owe. If your usage increases or decreases before renewal, this amount can change.
#### Enable or disable automatic subscription renewal
To view or change automatic subscription renewal (at the same tier as the
previous period), sign in to the [Customers Portal](https://customers.gitlab.com/customers/sign_in), and:
- If a **Resume subscription** button is displayed, your subscription was canceled
previously. Select it to resume automatic renewal.
- If a **Cancel subscription** button is displayed, your subscription is set to automatically
renew at the end of the subscription period. Select it to cancel automatic renewal.
If you have difficulty during the renewal process, contact the
[Support team](https://support.gitlab.com/hc/en-us/requests/new?ticket_form_id=360000071293) for assistance.
2020-11-24 15:15:51 +05:30
## Upgrade your subscription tier
2021-01-03 14:25:43 +05:30
To upgrade your [GitLab tier](https://about.gitlab.com/pricing/):
2020-11-24 15:15:51 +05:30
2021-01-03 14:25:43 +05:30
1. Log in to the [Customers Portal](https://customers.gitlab.com/customers/sign_in).
1. Select the **Upgrade** button on the relevant subscription card on the
[Manage purchases](https://customers.gitlab.com/subscriptions) page.
1. Select the desired upgrade.
1. Confirm the active form of payment, or add a new form of payment.
1. Select the **I accept the Privacy Policy and Terms of Service** checkbox.
1. Select **Purchase**.
2020-11-24 15:15:51 +05:30
2021-01-03 14:25:43 +05:30
The following is emailed to you:
2020-11-24 15:15:51 +05:30
2021-01-03 14:25:43 +05:30
- A payment receipt. You can also access this information in the Customers Portal under
[**View invoices**](https://customers.gitlab.com/receipts).
2022-05-07 20:08:51 +05:30
- A new activation code for your license.
2021-01-03 14:25:43 +05:30
2022-05-07 20:08:51 +05:30
[Add the activation code](../../user/admin_area/license.md) to your instance.
The new tier takes effect when the new license is activated.
2020-11-24 15:15:51 +05:30
2022-03-02 08:16:31 +05:30
## Add or change the contacts for your subscription
Contacts can renew a subscription, cancel a subscription, or transfer the subscription to a different namespace.
To change the contacts:
1. Ensure an account exists in the
[Customers Portal](https://customers.gitlab.com/customers/sign_in) for the user you want to add.
1. Verify you have access to at least one of
[these requirements](https://about.gitlab.com/handbook/support/license-and-renewals/workflows/customersdot/associating_purchases.html).
1. [Create a ticket with the Support team](https://support.gitlab.com/hc/en-us/requests/new?ticket_form_id=360000071293). Include any relevant material in your request.
2020-11-24 15:15:51 +05:30
## Subscription expiry
2021-04-29 21:17:54 +05:30
When your license expires, GitLab locks down features, like Git pushes
and issue creation. Then, your instance becomes read-only and
an expiration message is displayed to all administrators.
2020-11-24 15:15:51 +05:30
2021-04-29 21:17:54 +05:30
For GitLab self-managed instances, you have a 14-day grace period
before this occurs.
2020-11-24 15:15:51 +05:30
2022-07-16 23:28:13 +05:30
- To resume functionality, activate a new license.
2021-04-29 21:17:54 +05:30
- To fall back to Free features, delete the expired license.
2020-11-24 15:15:51 +05:30
2022-07-23 23:45:48 +05:30
## Activate a license file or key
If you have a license file or key, you can activate it [in the Admin Area](../../user/admin_area/license_file.md#activate-gitlab-ee-with-a-license-file-or-key).
2020-11-24 15:15:51 +05:30
## Contact Support
2023-04-23 21:23:45 +05:30
- See the tiers of [GitLab Support](https://about.gitlab.com/support/).
- [Submit a request](https://support.gitlab.com/hc/en-us/requests/new) through the Support Portal.
2020-11-24 15:15:51 +05:30
We also encourage all users to search our project trackers for known issues and
existing feature requests in the [GitLab](https://gitlab.com/gitlab-org/gitlab/-/issues/) project.
These issues are the best avenue for getting updates on specific product plans
and for communicating directly with the relevant GitLab team members.
## Troubleshooting
2023-03-17 16:20:25 +05:30
### Subscription data fails to synchronize
2023-04-23 21:23:45 +05:30
If the synchronization job is not working, ensure you allow network traffic from your GitLab
2023-03-17 16:20:25 +05:30
instance to IP addresses `172.64.146.11:443` and `104.18.41.245:443` (`customers.gitlab.com`).
2020-11-24 15:15:51 +05:30
### Credit card declined
If your credit card is declined when purchasing a GitLab subscription, possible reasons include:
- The credit card details provided are incorrect.
- The credit card account has insufficient funds.
- You are using a virtual credit card and it has insufficient funds, or has expired.
- The transaction exceeds the credit limit.
- The transaction exceeds the credit card's maximum transaction amount.
Check with your financial institution to confirm if any of these reasons apply. If they don't
apply, contact [GitLab Support](https://support.gitlab.com/hc/en-us/requests/new?ticket_form_id=360000071293).
2023-01-13 00:05:48 +05:30
### Check daily and historical billable users
Administrators can get a list of daily and historical billable users in your GitLab instance.
1. [Start a Rails console session](../../administration/operations/rails_console.md#starting-a-rails-console-session).
1. Count the number of users in the instance:
```ruby
User.billable.count
```
1. Get the historical maximum number of users on the instance from the past year:
```ruby
::HistoricalData.max_historical_user_count(from: 1.year.ago.beginning_of_day, to: Time.current.end_of_day)
```
### Update daily billable and historical users
Administrators can trigger a manual update of the daily and historical billable users in your GitLab instance.
1. [Start a Rails console session](../../administration/operations/rails_console.md#starting-a-rails-console-session).
1. Force an update of the daily billable users:
```ruby
identifier = Analytics::UsageTrends::Measurement.identifiers[:billable_users]
::Analytics::UsageTrends::CounterJobWorker.new.perform(identifier, User.minimum(:id), User.maximum(:id), Time.zone.now)
```
1. Force an update of the historical max billable users:
```ruby
::HistoricalDataWorker.new.perform
```