您现在访问的是微软AZURE全球版技术文档网站,若需要访问由世纪互联运营的MICROSOFT AZURE中国区技术文档网站,请访问 https://docs.azure.cn.

Azure 上的 Cloud FoundryCloud Foundry on Azure

Cloud Foundry 是一种开源平台即服务 (PaaS),用于生成、部署和操作以各种语言和框架开发的十二因素应用程序。Cloud Foundry is an open-source platform-as-a-service (PaaS) for building, deploying, and operating 12-factor applications developed in various languages and frameworks. 本文档介绍了在 Azure 上运行 Cloud Foundry 的选项及其入门知识。This document describes the options you have for running Cloud Foundry on Azure and how you can get started.

Cloud Foundry 产品Cloud Foundry offerings

有两种形式的 Cloud Foundry 可在 Azure 上运行:开源 Cloud Foundry (OSS CF) 和 Pivotal Cloud Foundry (PCF)。There are two forms of Cloud Foundry available to run on Azure: open-source Cloud Foundry (OSS CF) and Pivotal Cloud Foundry (PCF). OSS CF 是完全开源版的 Cloud Foundrydation,由 Cloud Foundry Foundation 管理。OSS CF is an entirely open-source version of Cloud Foundry managed by the Cloud Foundry Foundation. Pivotal Cloud Foundry 是来自 Pivotal Software Inc. 的 Cloud Foundry 的企业分发。我们来看看两个产品间的一些差异。Pivotal Cloud Foundry is an enterprise distribution of Cloud Foundry from Pivotal Software Inc. We look at some of the differences between the two offerings.

开源 Cloud FoundryOpen-source Cloud Foundry

你可在 Azure 上部署 OSS Cloud Foundry:首先部署 BOSH 控制器,然后使用 GitHub 上提供的说明部署 Cloud Foundry。You can deploy OSS Cloud Foundry on Azure by first deploying a BOSH director and then deploying Cloud Foundry, using the instructions provided on GitHub. 若要了解有关使用 OSS CF 的详细信息,请参阅由 Cloud Foundry Foundation 提供的文档To learn more about using OSS CF, see the documentation provided by the Cloud Foundry Foundation.

Microsoft 通过以下社区渠道为 OSS CF 提供最大支持:Microsoft provides best-effort support for OSS CF through the following community channels:

备注

对 Azure 资源(例如运行 Cloud Foundry 的虚拟机)的支持级别以 Azure 支持协议为基础。The level of support for your Azure resources, such as the virtual machines where you run Cloud Foundry, is based on your Azure support agreement. 社区最大支持仅适用于 Cloud Foundry 特定的组件。Best-effort community support only applies to the Cloud Foundry-specific components.

Pivotal Cloud FoundryPivotal Cloud Foundry

Pivotal Cloud Foundry 包括与 OSS 分发相同的核心平台,以及一套专有管理工具和企业支持。Pivotal Cloud Foundry includes the same core platform as the OSS distribution, along with a set of proprietary management tools and enterprise support. 若要在 Azure 上运行 PCF,必须从 Pivotal 获取许可证。To run PCF on Azure, you must acquire a license from Pivotal. Azure 市场的 PCF 产品/服务包括 90 天的试用版许可证。The PCF offer from the Azure marketplace includes a 90-day trial license.

这些工具包括一个简化部署和管理 Cloud Foundry 基础的 Web 应用程序 Pivotal Operations Manager 和一个用于管理用户和应用程序的 Web 应用程序 Pivotal Apps ManagerThe tools include Pivotal Operations Manager, a web application that simplifies deployment and management of a Cloud Foundry foundation, and Pivotal Apps Manager, a web application for managing users and applications.

除了上面列出的 OSS CF 支持通道外,PCF 许可证允许联系 Pivotal 以获取支持。In addition to the support channels listed for OSS CF above, a PCF license entitles you to contact Pivotal for support. Microsoft 和 Pivotal 还启用了支持工作流,允许用户联系任意一方以获取帮助,并根据问题的具体所在正确地路由查询。Microsoft and Pivotal have also enabled support workflows that allow you to contact either party for assistance and have your inquiry routed appropriately depending on where the issue lies.

Azure 服务中转站Azure Service Broker

Cloud Foundry 鼓励采用“十二因素应用”方法论,因为它可以促进无状态应用程序进程和有状态支持服务的清晰分离。Cloud Foundry encourages the "twelve-factor app" methodology, which promotes a clean separation of stateless application processes and stateful backing services. 服务中转站 提供向应用程序预配和绑定后台服务一致方法。Service brokers offer a consistent way to provision and bind backing services to applications. Azure 服务中转站通过此渠道提供了部分关键 Azure 服务,包括 Azure 存储和 Azure SQL。The Azure service broker provides some of the key Azure services through this channel, including Azure storage and Azure SQL.

如果使用的是 Pivotal Cloud Foundry,也可作从 Pivotal 网络以磁贴的形式提供服务中转站。If you are using Pivotal Cloud Foundry, the service broker is also available as a tile from the Pivotal Network.

Azure DevOps Services 插件Azure DevOps Services plugin

Cloud Foundry 非常适合用于开发敏捷软件,其中包括使用持续集成 (CI) 和持续交付 (CD)。Cloud Foundry is well suited to agile software development, including the use of continuous integration (CI) and continuous delivery (CD). 如果使用 Azure DevOps Services 来管理项目,并且希望设置一个面向 Cloud Foundry 的 CI/CD 管道,则可使用 Azure DevOps Services Cloud Foundry 生成扩展If you use Azure DevOps Services to manage your projects and would like to set up a CI/CD pipeline targeting Cloud Foundry, you can use the Azure DevOps Services Cloud Foundry build extension. 无论是在 Azure 还是在另一环境中运行,都可以通过该插件轻松配置和自动化 Cloud Foundry 的部署。The plugin makes it simple to configure and automate deployments to Cloud Foundry, whether running in Azure or another environment.

后续步骤Next steps