Skip to main content

About networking for hosted compute products

You can manage private networking for GitHub-hosted products using network configurations.

About network configurations

Network configurations provide an overarching construct to manage private networking settings for GitHub-hosted compute products including GitHub-hosted runners.

By customizing network configurations for hosted compute products, you can securely access private resources, control outbound network access, and monitor network traffic. This allows you to control and manage network security for your development and CI/CD managed infrastructure within a single place.

Using GitHub-hosted runners with an Azure private network

注意:

  • 将 GitHub 托管的运行器与 Azure VNET 一起使用的功能目前为 beta 版阶段,可能随时更改。
  • Azure VNET 仅支持 4-64 CPU Ubuntu 和 Windows 运行器。 有关这些运行器类型的详细信息,请参阅“关于较大的运行器”。
  • 支持的区域包括 East USEast US 2West US 2。 要请求支持不在此列表中的区域,请填写区域请求表单
  • GitHub 托管的运行器专用网络不支持将静态 IP 地址用于大型运行器。必须使用动态 IP 地址,这是大型运行器的默认配置。 有关适用于大型运行器的网络的详细信息,请参阅“关于较大的运行器”。

如果使用 Azure 和 GitHub Enterprise Cloud,则可以在 Azure VNET 中创建 GitHub 托管运行器。 这样就可以利用 CI/CD 的 GitHub 托管基础结构,同时取得对运行器网络策略的完全控制。 有关 Azure VNET 的详细信息,请参阅 Azure 文档中的什么是 Azure 虚拟网络?

For more information about how Azure private networking with GitHub-hosted runners works, see "关于在 Azure 虚拟网络中使用 GitHub 托管的运行器."

To use GitHub-hosted runners with Azure VNET, you will need to configure your Azure resources then create an Azure private network configuration in GitHub. For more information, see "为 GitHub 托管的运行器配置专用网络."