抢先一步
VMware 提供培训和认证,助您快速提升。
了解更多各位 Spring 爱好者,大家好!我想分享这篇由微软开发者事业部总裁 Julia Liuson 撰写的文章。
2019 年,当我们与 VMware 合作推出 Azure Spring Cloud 时,旨在解决开发者、IT 运维人员和 DevOps 团队在大规模运行 Spring Boot 应用时面临的常见挑战。自那时起,我们有机会与众多客户合作,帮助他们采用这项服务,其中包括 Bosch、Digital Realty、Kroger、Liantis、Morgan Stanley、National Life、Raley’s 和 Swiss Re。他们高度评价 Azure Spring Cloud 的全托管基础设施,这让他们能够专注于自己的应用,而服务负责管理动态扩展、安全补丁、开箱即用的监控工具等。
许多组织正在本地运行数千个 Spring Boot 应用,他们需要高级功能来加速 Spring 现代化项目。根据我们与客户合作的经验,我们构建了全新的 Azure Spring Cloud 层级——Enterprise,并在 SpringOne 2021 大会上宣布了其私有预览版。Azure Spring Cloud Enterprise 包含商业支持的 Spring 运行时组件,以帮助企业客户更快交付并释放 Spring 的全部潜力。我们感谢参与私有预览并分享经验的众多客户和合作伙伴,我们很高兴地宣布 Azure Spring Cloud Enterprise 现已推出公共预览版。
Azure Spring Cloud Enterprise 代表着我们与 VMware 的持续合作,将微软的云平台专业知识与 VMware 创新的 Tanzu 产品组合相结合。我们还致力于将其打造成一个应用平台,您可以在此部署可跨任何 Azure 服务、任何云或任何本地系统实现原生可移植性的多语言应用。借助 Azure Spring Cloud Enterprise,您可以提高生产力,并获得 Spring 专家在 Spring 应用开发和部署方面的支持。Azure Spring Cloud Enterprise 构建在标准层级提供的所有功能之上,包括利用更广泛的 Azure 生态系统来为您的 Spring Boot 应用赋能的能力。
图 1:Azure Spring Cloud 层级选择现在包括 Enterprise
Azure Spring Cloud Enterprise 中的 全托管 VMware Tanzu Build Service 使用开源 Cloud Native Buildpacks 和商业 VMware Tanzu Buildpacks,在企业规模上自动化容器的创建、管理和治理。Tanzu Build Service 为构建应用提供了更高层次的抽象,并在控制和减轻开发者操作负担之间取得了平衡,同时支持管理大规模应用的 IT 运维人员。您可以配置要应用的 Buildpack,并构建在 Azure Spring Cloud 上与 Spring 应用并行运行的 Spring 应用和多语言应用。
Tanzu Buildpacks 使构建 Spring、Java、NodeJS、Python、Go 和 .NET Core 应用以及配置应用性能监控代理(例如 Application Insights、New Relic、Dynatrace、AppDynamics 和 Elastic)变得更加容易。
您可以使用 全托管 VMware Tanzu 的 Spring Cloud Gateway 和 VMware Tanzu 的 API 门户,轻松管理和发现应用公开的请求路由和 API。
Spring Cloud Gateway for Tanzu 可有效将各种客户端请求路由到 Azure Spring Cloud、Azure 或本地的应用,并解决了 Gateway 后应用的关键横切关注点,例如安全、路由、速率限制、缓存、监控、弹性以及隐藏应用。您可以配置
VMware Tanzu 的 API 门户为 API 使用者提供了查找和查看 Spring Cloud Gateway for Tanzu 公开的 API 路由详细信息以及测试 API 请求的能力。
图 2 – 全托管 Spring Cloud Gateway for Tanzu 将各种客户端请求路由到 Azure Spring Cloud、Azure 或本地系统中的应用
图 3 – VMware Tanzu 的 API 门户可视化可通过 Spring Cloud Gateway for Tanzu 和其他符合 OpenAPI 标准的源访问的 API
借助 Azure Spring Cloud Enterprise,客户可以在 Azure 上使用全托管的 VMware Tanzu 组件。客户可以在创建 Enterprise 实例期间选择要在其环境中使用的 VMware Tanzu 组件。Tanzu Build Service、Spring Cloud Gateway for Tanzu、API portal for VMware Tanzu、Application Configuration Service for VMware Tanzu 和 VMware Tanzu Service Registry 在公共预览期间可用。
VMware Tanzu 组件为客户带来更多价值,让您可以
Microsoft 和 VMware 将继续增加更多企业级功能,包括 Tanzu 组件,例如 Application Live View for VMware Tanzu、VMware Tanzu Application Accelerator for VMware Tanzu 和 Spring Cloud Data Flow for VMware Tanzu*。
* Azure Spring Cloud Enterprise 路线图尚未最终确定,可能会有所更改。
Azure Spring Cloud Enterprise 包括针对应用开发和部署的 VMware Spring Runtime Support。此支持使您能够获得 Spring 专家的帮助,从而释放 Spring 生态系统的全部潜力,并更快地开发和部署应用。
图 3 – VMware Tanzu 的 API 门户可视化可通过 Spring Cloud Gateway for Tanzu 和其他符合 OpenAPI 标准的源访问的 API
图 4 – 通过世界一流的 Spring 项目支持,利用 Spring framework 实现更多功能
通常,开源 Spring 项目的小版本发布自首次发布之日起至少支持 12 个月。在 Azure Spring Cloud Enterprise 中,通过 VMware Spring Runtime Support 授权,Spring 项目的小版本发布自首次发布之日起将获得至少 24 个月* 的商业支持。此扩展支持即使在开源生命周期结束日期之后,也能确保您的 Spring 应用组合的安全性和稳定性。
* 您可以在 Spring Initializr - start.spring.io 上找到 Spring 项目的当前支持时间表
图 5 – Spring Boot 商业支持时间表(链接到来源)
Azure Spring Cloud(包括 Enterprise 层级)在 Azure 上以全托管环境运行。您将获得 Azure 和 Java 生态系统的所有优势,并且体验熟悉且直观
常见开发实践 | Azure 生态系统 |
---|---|
使用预配工具创建服务实例 | Azure 门户、CLI、ARM 模板、Bicep 或 Terraform |
自动化环境和应用部署 | GitHub、Azure DevOps、GitLab 和 Jenkins |
使用任何工具和平台进行端到端监控 | Application Insights、Azure Log Analytics、Splunk、Elastic、New Relic、Dynatrace 或 AppDynamics |
连接 Spring 应用并与您的云服务交互 | Spring 与 Azure 服务(用于数据、消息、事件、缓存、存储和目录)的集成 |
安全加载应用机密和证书 | Azure Key Vault |
使用熟悉的开发工具 | IntelliJ、VS Code、Eclipse、Spring Tool Suite、Maven 或 Gradle |
例如,在创建 Enterprise 服务实例并部署应用后,您可以使用 Application Insights 或您选择的任何其他应用性能管理工具轻松进行监控。
图 6 – 通过 Application Insights 应用地图可见的应用事务
Azure Spring Cloud Enterprise 提供了更高的生产力,并且您可以利用 Spring 专家来使您的项目更加成功。我们非常希望您尝试 Enterprise 并分享您的反馈 – 立即开始。
您还可以通过 VMware 了解有关 Azure Spring Cloud Enterprise 公共预览版公告的更多信息。