Compute Engine 是一种计算和托管服务,可让您在 Google 基础架构上创建并运行虚拟机。Compute Engine 提供出众的扩缩能力、性能和价值,可让您在 Google 的基础架构上轻松发布大型计算集群。无需进行前期投资,即可在性能强大而稳定的系统上运行数千个虚拟 CPU。了解详情
获享 $300 免费赠金开始概念验证
-
体验 Gemini 2.0 Flash Thinking
-
免费使用热门产品(包括 AI API 和 BigQuery)的每月用量
-
不会自动收费,无需承诺
查看免费产品优惠
继续探索 20 多种提供“始终免费”用量的产品
使用适用于常见应用场景(包括 AI API、虚拟机、数据仓库等)的 20 多种免费产品。
培训
培训和教程
虚拟机迁移:规划
了解如何规划虚拟机迁移并在 Google Cloud 上部署基本基础设施。
培训
培训和教程
探索 Cloud 网络产品
大致了解 Google Cloud 网络基础组件。
培训
培训和教程
交互式演示:在 Compute Engine 中创建 Linux 虚拟机
按照教程中的说明,直接在 Cloud 控制台中创建 Linux 虚拟机。
培训
培训和教程
在 Compute Engine 实操实验中托管 Web 应用
了解如何部署和扩缩示例应用。
使用场景
使用场景
虚拟机迁移
借助 Migrate for Compute Engine,您可以将虚拟机从本地数据中心、AWS 或 Azure 轻松迁移到 Compute Engine。您可以验证应用、运行应用以及将应用迁移到 Google Cloud,而无需重写应用、修改映像或更改管理流程。
迁移
本地
自动化
使用场景
使用场景
构建可扩缩且弹性佳的应用时应遵循的模式
了解在构建应用时应遵循的模式和做法,这些应用具备可扩缩和弹性佳两种优点,这也是许多现代化架构实践的两个基本目标。一个精心设计的应用能够随着需求的增减而相应扩容和缩容,并具有足够的弹性以应对服务中断。
扩缩
弹性
设计
使用场景
使用场景
将 IBM Db2 迁移到 Compute Engine 的策略
了解将同构 Db2 迁移到 Compute Engine 的最佳做法。本文档适用于要将 Db2 环境迁移到 Google Cloud 的数据库管理员、系统管理员、软件工程师、数据库工程师、运维工程师。
IBM dB2
迁移
代码示例
代码示例
C# 示例
一组 Compute Engine 的 .NET Cloud 客户端库示例。
代码示例
代码示例
Go 示例
一组 Compute Engine 的 Go Cloud 客户端库示例。
代码示例
代码示例
Java 示例
一组 Compute Engine 的 Java Cloud 客户端库示例。
代码示例
代码示例
Node.js 示例
一组 Compute Engine 的 Node.js Cloud 客户端库示例。
代码示例
代码示例
PHP 示例
一组 Compute Engine 的 PHP Cloud 客户端库示例。
代码示例
代码示例
Python 示例
一组 Compute Engine 的 Python Cloud 客户端库示例。
代码示例
代码示例
Ruby 示例
一组 Compute Engine 的 Ruby Cloud 客户端库示例。
代码示例
代码示例
一组 Compute Engine 的 Terraform 示例。
代码示例
代码示例
所有示例
浏览 Compute Engine 的所有示例。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-23。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-07-23。"],[[["Compute Engine enables users to create and run virtual machines on Google's infrastructure, providing a scalable and high-performance computing environment."],["The service allows for the launching of large compute clusters without upfront investments, supporting thousands of virtual CPUs with consistent performance."],["Extensive documentation is available, including guides on machine families, deployment strategies, VM creation, SSH connections, migration paths, data protection, and instance lifecycle."],["Compute Engine offers various resources such as command-line tools, client libraries, REST APIs, pricing details, quotas, release notes, and support information."],["Training resources are available for VM migration planning, cloud networking, creating Linux VMs, and hosting web apps on Compute Engine."]]],[]]