{"meta":{"title":"大型运行程序","intro":"了解有关 GitHub 托管的 大型运行器 的类型及其用途的信息。","product":"GitHub Actions","breadcrumbs":[{"href":"/zh/enterprise-cloud@latest/actions","title":"GitHub Actions"},{"href":"/zh/enterprise-cloud@latest/actions/concepts","title":"概念"},{"href":"/zh/enterprise-cloud@latest/actions/concepts/runners","title":"执行器"},{"href":"/zh/enterprise-cloud@latest/actions/concepts/runners/larger-runners","title":"大型运行程序"}],"documentType":"article"},"body":"# 大型运行程序\n\n了解有关 GitHub 托管的 大型运行器 的类型及其用途的信息。\n\n## 关于 大型运行器\n\nGitHub Team 和 GitHub Enterprise Cloud 计划的客户可以从一系列托管的虚拟机中选择，这些虚拟机比[标准 GitHub 托管的运行器](/zh/enterprise-cloud@latest/actions/how-tos/using-github-hosted-runners/using-github-hosted-runners/about-github-hosted-runners#supported-runners-and-hardware-resources)拥有更多资源。 这些计算机称为“大型运行器”。 具有以下高级功能：\n\n* 更多内存、CPU 和磁盘空间\n* 静态 IP 地址\n* Azure 专用网络\n* 分组运行器的能力\n* 自动缩放以支持并发工作流\n* GPU 支持的运行程序\n\n这些 大型运行器 由 GitHub 托管，并预安装了运行器应用程序和其他工具。\n\nGitHub 提供 大型运行器，适用于 macOS、Ubuntu 或 Windows 操作系统，并且根据所使用的操作系统，提供不同的功能和容量。\n\n## 关于用于 大型运行器 默认设置的 code scanning\n\n在以下情况下，建议为 大型运行器 默认设置配置 code scanning：\n\n* 使用标准 GitHub 托管运行器进行扫描耗时过长。\n* 使用标准 GitHub 托管运行器进行扫描时返回内存或磁盘错误。\n* 希望在不使用自托管运行器的情况下，自定义 code scanning 运行器的某些方面，例如运行器大小、运行器镜像以及作业并发数。\n\n有关为 大型运行器 默认设置配置 code scanning 的详细信息，请参阅 [为默认设置配置更大的运行器](/zh/enterprise-cloud@latest/code-security/how-tos/scan-code-for-vulnerabilities/manage-your-configuration/configuring-larger-runners-for-default-setup)。\n\n## 关于 Ubuntu 和 Windows 大型运行器\n\n适用于 Ubuntu 或 Windows 操作系统的 大型运行器 在你的组织或企业中进行配置。 添加 大型运行器 时，会通过精选的可用硬件规范和操作系统映像定义计算机类型。\n\n使用 Ubuntu 和 Windows 大型运行器，可以：\n\n* 从特定范围分配运行器静态 IP 地址，以便使用此范围来配置防火墙允许列表\n* 通过将运行器分配给运行器组来控制对资源的访问\n* 使用自动缩放来简化对运行器的管理并控制成本\n* 将运行器与 Azure 专用网络配合使用\n\n## 关于 macOS 大型运行器\n\n具有 macOS 操作系统的 大型运行器 不会手动添加到你的组织或企业，而是通过将工作流文件的 `runs-on` 键更新为 GitHub 定义的 macOS 大型运行器 标签之一来使用。\n\n由于 macOS 大型运行器 未预先配置，因此它们具有 Ubuntu 和 Windows 大型运行器 没有的限制。 有关详细信息，请参阅“[大型运行程序参考](/zh/enterprise-cloud@latest/actions/reference/larger-runners-reference#limitations-for-macos-larger-runners)”。\n\n## 计费\n\n> \\[!NOTE]\n> 大型运行器 不符合在专用存储库上使用包含分钟数的条件。 对于专用和公共存储库，使用 大型运行器 时，始终按每分钟费率计费。\n\n与标准的 GitHub 托管运行器相比，大型运行器 的计费方式有所不同。 大型运行器 仅根据在其上执行工作流的时间量按每分钟费率计费。 创建工作流未使用的 大型运行器 无需支付任何费用。 有关详细信息，请参阅“[Actions 运行程序定价](/zh/enterprise-cloud@latest/billing/reference/actions-minute-multipliers)”。\n\n## 后续步骤\n\n要开始使用 Windows 或 Ubuntu 大型运行器，请参阅 [管理较大的运行器](/zh/enterprise-cloud@latest/actions/how-tos/using-github-hosted-runners/using-larger-runners/managing-larger-runners)。\n\n要开始使用 macOS 大型运行器，请参阅 [在较大的运行器上运行作业](/zh/enterprise-cloud@latest/actions/how-tos/using-github-hosted-runners/using-larger-runners/running-jobs-on-larger-runners?platform=mac)。\n\n要查找有关使用 大型运行器 的参考信息，请参阅 [大型运行程序参考](/zh/enterprise-cloud@latest/actions/reference/larger-runners-reference)。"}