About licensing for GitHub Enterprise
GitHub Enterprise 提供两个部署选项。 除了 GitHub Enterprise Server 之外,还可以使用 GitHub Enterprise Cloud 在 GitHub.com 上托管企业的开发工作。有关详细信息,请参阅 GitHub 的计划。
GitHub 使用唯一的用户许可模型。 使用 GitHub Enterprise 计划时,你有权同时使用 GitHub Enterprise Cloud 和 GitHub Enterprise Server。 GitHub Enterprise Cloud 限额包括在 GitHub.com 或 GHE.com 上进行的一个部署****。
GitHub 会根据部署中的唯一用户数量来确定所使用的许可席位。 每个用户只使用一个许可证,无论该用户使用多少个 GitHub Enterprise Server 实例,或者在 GitHub Enterprise Cloud 部署上该用户是多少个组织的成员。 此模型允许每个人使用多个 GitHub Enterprise 部署,而不产生额外费用。 To understand how GitHub bills you for consumed licensed seats, see License consumption by organization members. For more about the price of GitHub Enterprise licenses, see Pricing on the GitHub website.
To ensure the same user isn't consuming more than one license for multiple enterprise deployments, you can synchronize license usage between your GitHub Enterprise Server and GitHub Enterprise Cloud deployments.
GitHub Enterprise 许可模式
有两种类型的 GitHub Enterprise (GHE) 许可证。
-
GHE(按流量计费):一种云优先的许可证,用户必须首先分配到一个 GitHub Enterprise Cloud 组织中。****
- 所有云用户会自动获得 GitHub Enterprise Server 的使用权。
- 计费是基于每月的活动用户数量。
- 用户可以生成他们自己的服务器许可证,该许可证涵盖生成时已分配的云席位数量,且有效期为一年。
- 仅服务器用户将添加到 GHE(按流量)计费。 这些用户通过电子邮件匹配进行去重,以避免重复计费。
-
GHE(按量/订阅,也称为 GHE Unified):一种适用于 GitHub Enterprise Cloud 和 GitHub Enterprise Server 的捆绑许可证。****
- 一个许可证同时涵盖 GitHub Enterprise Cloud 和 GitHub Enterprise Server,支持用户在其中一个平台或两个平台上进行工作。
- 用户可以通过 GitHub Connect 访问这两项服务。
- 此许可证需要手动设置,并且由 GitHubSales 提供。
许可模式的比较
许可模型 | GHE(按流量计费) | GHE(按量/订阅) |
---|---|---|
计费类型**** | 基于使用情况 | 基于量 |
云与服务器 | 云优先,为云用户提供服务器使用权 | 1 个用户许可证涵盖云和服务器(混合、仅云或仅服务器) |
设置 | 自助服务 | 通过 GitHub Sales 手动设置 |
服务器许可证生成**** | 用户可以生成自己的 GitHub Enterprise Server 许可证 | 企业所有者可以下载 GitHub Enterprise Server 许可证 |
许可证文件范围**** | 涵盖生成时由云分配的用户 | 涵盖云和服务器的所有已购买用户 |
许可证过期**** | 12 个月后过期 | 与批量许可证期限一致 |
许可证密钥使用情况**** | 限制服务器最大用户数 | 涵盖批量订阅中的所有用户 |
必需的 GitHub Enterprise 版本**** | 包含 GitHub Connect 的 GitHub Enterprise 3.13+ | 不需要特定版本 |
计费模式 | 针对未通过 GitHub Connect 在云端分配的用户开具发票 | 基于已购买量的固定成本 |
In order to use a GitHub Enterprise Server instance, you must upload a license file that GitHub provides when you purchase, renew, or add user licenses to GitHub Enterprise.
GitHub Enterprise Cloud customers can use Azure DevOps without additional per user charges. Access is available to customers using Microsoft Entra and users logging in with the same credentials in GitHub and Azure DevOps.
There is no action required; GitHub Enterprise users will be detected automatically when they log in to Azure DevOps. See User and permissions management in the Microsoft Learn documentation.
Access is not yet available in new data residency regions but will be coming in the future.
About synchronization of license usage for GitHub Enterprise
要让使用多个 GitHub Enterprise 环境的用户仅使用单个许可证,你必须在环境之间同步许可证使用情况。 然后,GitHub 将根据与用户帐户关联的电子邮件地址删除重复用户。 GitHub 会删除 GitHub Enterprise 计划本身的重复许可证,,则删除 GitHub Advanced Security 产品的重复许可证。 有关详细信息,请参阅“Troubleshooting license usage for GitHub Enterprise”。 For more information, see Syncing license usage from GitHub Enterprise Server to Cloud.
About license files for GitHub Enterprise
When you purchase or renew GitHub Enterprise, GitHub provides a license file for 你的 GitHub Enterprise Server 实例. A license file has an expiration date and controls the number of people who can use 你的 GitHub Enterprise Server 实例. After you download and install GitHub Enterprise Server, you must upload the license file to unlock the application for you to use.
For more information about downloading your license file, see 下载 GitHub Enterprise 许可证.
For more information about uploading your license file, see Uploading a new license to GitHub Enterprise Server.
If your license expires, you won't be able to access GitHub Enterprise Server 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 使用备份实用程序在实例上配置备份.
If you have any questions about renewing your license, contact GitHub 的销售团队.
Further reading
- Billing for GitHub Enterprise
- The People that consume a license section in "About per-user pricing"
- 设置 GitHub Enterprise Server 实例
- The GitHub Enterprise Releases website