Compute Engine documentation

Compute Engine is a computing and hosting service that lets you create and run virtual machines on Google infrastructure. Compute Engine offers scale, performance, and value that lets you easily launch large compute clusters on Google's infrastructure. There are no upfront investments, and you can run thousands of virtual CPUs on a system that offers quick, consistent performance.

Go to the Compute Engine product page for more.

Start your proof of concept with 300ドル in free credit

  • Get access to Gemini 2.0 Flash Thinking
  • Free monthly usage of popular products, including AI APIs and BigQuery
  • No automatic charges, no commitment

Keep exploring with 20+ always-free products

Access 20+ free products for common use cases, including AI APIs, VMs, data warehouses, and more.

Explore self-paced training, use cases, reference architectures, and code samples with examples of how to use and connect Google Cloud services.
Training
Training and tutorials

VM migration: planning

Learn how to plan a VM migration and deploy your basic infrastructure on Google Cloud.

Training
Training and tutorials

A tour of Cloud Networking

Get an overview of Google Cloud networking building blocks.

Training
Training and tutorials

Interactive walkthrough: Create a Linux VM in Compute Engine

Create a Linux VM by using a tutorial that walks you through the steps directly in the Cloud console.

Training
Training and tutorials

Hosting a web app on Compute Engine hands-on lab

Learn how to deploy and scale a sample application.

Use case
Use cases

VM migration

Migrate for Compute Engine allows you to easily migrate VMs from your on-premises data center, AWS, or Azure into Compute Engine. You validate, run, and migrate applications into Google Cloud without rewriting them, modifying the image, or changing management processes.

Migration On-Prem Automation

Use case
Use cases

Patterns for scalable and resilient apps

Learn patterns and practices for creating apps that are resilient and scalable, two essential goals of many modern architecture exercises. A well-designed app scales up and down as demand increases and decreases, and is resilient enough to withstand service disruptions.

Scaling Resilience Design

Use case
Use cases

Strategies to migrate IBM Db2 to Compute Engine

Learn best practices for a homogeneous Db2 migration to Compute Engine. This document is intended for database admins, system admins and software, database, and ops engineers who are migrating Db2 environments to Google Cloud.

IBM dB2 Migration

Code sample
Code Samples

C# samples

A set of .NET Cloud Client Library samples for Compute Engine.

Code sample
Code Samples

Go samples

A set of Go Cloud Client Library samples for Compute Engine.

Code sample
Code Samples

Java samples

A set of Java Cloud Client Library samples for Compute Engine.

Code sample
Code Samples

Node.js samples

A set of Node.js Cloud Client Library samples for Compute Engine.

Code sample
Code Samples

PHP samples

A set of PHP Cloud Client Library samples for Compute Engine.

Code sample
Code Samples

Python samples

A set of Python Cloud Client Library samples for Compute Engine.

Code sample
Code Samples

Ruby samples

A set of Ruby Cloud Client Library samples for Compute Engine.

Code sample
Code Samples

Terraform samples

A set of Terraform samples for Compute Engine.

Code sample
Code Samples

All samples

Browse all samples for Compute Engine.

Related videos

Try Compute Engine for yourself

Create an account to evaluate how our products perform in real-world scenarios.
New customers also get 300ドル in free credits to run, test, and deploy workloads.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月06日 UTC.