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

  • Develop with our latest Generative AI models and tools.
  • Get free usage of 20+ popular products, including Compute Engine and AI APIs.
  • 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.

Related resources

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.

MigrationOn-PremAutomation

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.

ScalingResilienceDesign

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 dB2Migration

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-worldscenarios.
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 theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-12-15 UTC.