About GitHub Enterprise licenses
When you purchase or renew GitHub Enterprise, you receive a license file to validate your application. A license file has an expiration date and controls the number of user licenses you can add to GitHub Enterprise. After you download and install GitHub Enterprise, uploading the license file unlocks the application for you to use.
You can allocate the user licenses included in your GitHub Enterprise license to users in your GitHub Enterprise Server instance and a GitHub Enterprise Cloud enterprise account. When you add a user to either environment, they will consume a license. If a user has accounts in both environments, to consume only one license, their primary GitHub Enterprise email address must be the same as their verified GitHub Enterprise Cloud email address. You can sync license count and usage between the environments.
If your GitHub Enterprise Server license expires, you won't be able to access your GitHub Enterprise Server instance via a web browser or Git. If needed, you will be able to use command-line utilities to back up all your data. For more information, see "Configuring backups on your appliance." If you have any questions about renewing your license, contact GitHub's Sales team.
Uploading a new license to GitHub Enterprise Server
After you purchase a new license or upgrade an existing license from GitHub's Sales team, you must download your new license file, then upload the file to GitHub Enterprise Server to unlock your new user licenses.
If you'd like to renew or add user licenses to GitHub Enterprise, contact GitHub's Sales team. Your new license file will be available for download immediately after you complete your order.
- Navigate to your enterprise account by visiting
https://github.com/enterprises/ENTERPRISE-NAME
, replacingENTERPRISE-NAME
with your enterprise account's name. - In the enterprise account sidebar, click Settings.
- In the left sidebar, click Enterprise licensing.
- Under "Enterprise Server Instances", click to download your license file.
- Log into your GitHub Enterprise Server instance as a site administrator.
- In the upper-right corner of any page, click .
- In the left sidebar, click Enterprise.
- In the enterprise account sidebar, click Settings.
- In the left sidebar, click License.
- Under "Quick links", click Update license.
- To select your license, click License file, or drag your license file onto License file.
- Click Upload.
Viewing license usage
- Navigate to your enterprise account by visiting
https://github.com/enterprises/ENTERPRISE-NAME
, replacingENTERPRISE-NAME
with your enterprise account's name. - In the enterprise account sidebar, click Settings.
- In the left sidebar, click Enterprise licensing.
- Review your current GitHub Enterprise license, as well as consumed and available user licenses.
Automatically syncing user license usage with GitHub Enterprise Cloud
You can use GitHub Connect to automatically sync user license count and usage between GitHub Enterprise Server and GitHub Enterprise Cloud. For more information, see "Enabling automatic user license sync between GitHub Enterprise Server and GitHub Enterprise Cloud."
Manually syncing user license usage between GitHub Enterprise Server and GitHub Enterprise Cloud
You can download a JSON file from GitHub Enterprise Server and upload the file to GitHub Enterprise Cloud to manually sync user license usage between the two deployments.
- In the upper-right corner of any page, click .
- In the left sidebar, click Enterprise.
- In the enterprise account sidebar, click Settings.
- In the left sidebar, click License.
- Under "Quick links", to download a file containing your current license usage on GitHub Enterprise Server, click Export license usage.
- Navigate to GitHub Enterprise Cloud.
- Navigate to your enterprise account by visiting
https://github.com/enterprises/ENTERPRISE-NAME
, replacingENTERPRISE-NAME
with your enterprise account's name. - In the enterprise account sidebar, click Settings.
- In the left sidebar, click Enterprise licensing.
- Under "Enterprise Server Instances", click Add server usage.
- Upload the JSON file you downloaded from GitHub Enterprise Server.