Compute Engine

Accelerate your digital transformation with high-performance virtual machines.

New customers get $300 in free credits to spend on Google Cloud during the first 90 days. All customers get a general purpose machine (f1-micro instance) per month for free, not charged against your credits.

Try it free
  • action/check_circle_24px Created with Sketch.

    General purpose (E2, N1, N2, N2D) machines provide a good balance of price and performance

  • action/check_circle_24px Created with Sketch.

    Compute optimized (C2) machines offer high-end vCPU performance for compute-intensive workloads

  • action/check_circle_24px Created with Sketch.

    Memory optimized (M2) machines offer the highest memory and are great for in-memory databases

  • action/check_circle_24px Created with Sketch.

    Accelerator optimized (A2) machines are based on the A100 GPU, for very demanding applications


Easy integration

Integrate Compute with other Google Cloud services such as AI/ML and data analytics.

Scale globally as needed

Make reservations to help ensure your applications have the capacity they need as they scale.

Get more value

Save money just for running Compute with sustained-use discounts, and achieve greater savings when you use committed-use discounts.

Key features

Industry-leading compute

Confidential computing

Confidential VMs are a breakthrough technology that allows you to encrypt your most sensitive data in the cloud while it’s being processed.

Live migration for VMs

Compute Engine virtual machines can live-migrate between host systems without rebooting, which keeps your applications running even when host systems require maintenance.

Sole-tenant nodes

Sole-tenant nodes are physical Compute Engine servers dedicated exclusively for your use. Sole-tenant nodes simplify deployment for bring-your-own-license (BYOL) applications. Sole-tenant nodes give you access to the same machine types and VM configuration options as regular compute instances.

View all features


What's new

What's new

Sign up for Google Cloud newsletters to receive product updates, event information, special offers, and more.



Quickstart using a Linux VM

Create an instance and connect to that instance using SSH.

Google Cloud Basics
Confidential VMs and Compute Engine

Learn more about Confidential VMs in Compute Engine, including support for end-to-end encryption, compute-heavy workloads, and more security and privacy features.

Google Cloud Basics
Boot disk images

Learn about the public images that you can use to create your VMs, or learn how to create and import your own custom images to Compute Engine.

APIs & Libraries
Using the Compute Engine API through client libraries

Use client libraries to create and manage Compute Engine resources in Go, Python, Java, Node.js, and other languages.

Create managed instance groups

Managed instance groups maintain high availability of your applications by proactively keeping your VM instances available.

Google Cloud Basics
Virtual Private Cloud (VPC) network overview

A VPC network provides connectivity for your Compute Engine VM instances. Configure your VPC network and firewalls to handle network traffic for your applications.

Google Cloud Basics
Identity and Access Management (IAM) overview

Use IAM roles and permissions to manage access and permissions to your Compute Engine resources.

Google Cloud Basics
Compute Engine resources

Find Compute Engine pricing along with discounts, benchmarks, zonal resources, release notes and more.

Google Cloud Basics
Explore what you can build on GCP

Find out how to migrate and modernize workloads on Google’s global, secure, and reliable infrastructure.

Use cases

Use cases

Use case
VM migration to Compute Engine

Compute Engine provides tools to help you bring your existing applications to the cloud. You can have your applications running on Compute Engine within minutes while your data migrates transparently in the background. Bring your existing applications from your physical servers, VMware vSphere, Amazon EC2, or Azure VMs.

Reference architecture showing vSphere, AWS EC2, and Azure VMs connecting to Cloud VPN. Arrows from Cloud VPN connect to Google Cloud VPC, Migrate for Compute Engine, and then Cloud NAT Gateway. Cloud NAT Gateway connects to Cloud Storage as well as Cloud Logging and Cloud Monitoring.
Use case
Genomics data processing

Process petabytes of genomic data in seconds with Compute Engine and our high performance computing solution. Our scalable and flexible infrastructure enables research to continue without disruptions. Competitive pricing and discounts help you stay within budget to convert ideas into discoveries, hypotheses into cures, and inspirations into products.

Reference architecture: Users connect to Head Node, Compute Engine, which connects to multiple instances Compute Nodes, Preemptible VMs, which is 80% cheaper. It also connects to Standard VM. These connect to File System, instances of Compute Engine with Persistent Disk, which connects to Cloud Storage Input and Output data. This connects back to Users.
Use case
BYOL or use license-included images

You can run your Windows-based applications either by bringing your own licenses and running them in Compute Engine sole-tenant nodes or using a license-included image. After you migrate to Google Cloud, optimize or modernize your license usage to achieve your business goals. Take advantage of the many benefits available to virtual machine instances such as reliable storage options, the speed of the Google network, and autoscaling.

Reference architecture: The box on the left is labeled Normal host. This box contains a green box labeled Customer 1 with a box labeled VM1. There are two yellow boxes labeled Customer 2. One has a box labeled VM2 and the other VM 4. A pink box labeled Customer 3 contains a box labeled VM3. Under these are two more boxes labeled Hypervisor and Host hardware. The box on the right is labeled Sole-tenant node. This containers four green boxes labeled Customer 1. Each of these boxes contains a box labeled VM 1, VM 2, VM 3, and VM 4. Under these are two more boxes labeled Hypervisor and Host hardware.

All features

All features

Predefined machine types Compute Engine offers predefined virtual machine configurations for every need from small general purpose instances to large memory-optimized instances with up to 11.5 TB of RAM or fast compute-optimized instances with up to 60 vCPUs.
Custom machine types Create a virtual machine with a custom machine type that best fits your workloads. By tailoring a custom machine type to your specific needs, you can realize significant savings.
Confidential VMs Confidential VMs are a breakthrough technology that allows you to encrypt data in use—while it’s being processed. It is a simple, easy-to-use deployment that doesn't compromise on performance. You can collaborate with anyone, all while preserving the confidentiality of your data.
Preemptible VMs Low-cost, short-term instances designed to run batch jobs and fault-tolerant workloads. Preemptible VMs provide significant savings of up to 80% while still getting the same performance and capabilities as regular VMs.
Live migration for VMs Compute Engine virtual machines can live-migrate between host systems without rebooting, which keeps your applications running even when host systems require maintenance.
Persistent disks Durable, high performance block storage for your VM instances. You can create persistent disks in HDD or SSD formats. You can also take snapshots and create new persistent disks from that snapshot. If a VM instance is terminated, its persistent disk retains data and can be attached to another instance.
Local SSD Compute Engine offers always-encrypted local solid-state drive (SSD) block storage. Local SSDs are physically attached to the server that hosts the virtual machine instance for very high input/output operations per second (IOPS) and very low latency compared to persistent disks.
GPU accelerators

GPUs can be added to accelerate computationally intensive workloads like machine learning, simulation, and virtual workstation applications. Add or remove GPUs to a VM when your workload changes and pay for GPU resources only while you are using them.

Our new A2 VM family is based on the NVIDIA Ampere A100 GPU. You can learn more about the A2 VM family by requesting access to our alpha program.

Global load balancing Global load-balancing technology helps you distribute incoming requests across pools of instances across multiple regions, so you can achieve maximum performance, throughput, and availability at low cost.
Linux and Windows support Run your choice of OS, including Debian, CentOS, CoreOS, SUSE, Ubuntu, Red Hat Enterprise Linux, FreeBSD, or Windows Server 2008 R2, 2012 R2, and 2016. You can also use a shared image from the Google Cloud community or bring your own.
Per-second billing Google bills in second-level increments. You pay only for the compute time that you use.
Commitment savings With committed-use discounts you can save up to 57% with no up-front costs or instance-type lock-in.
Sustained-use savings Sustained-use discounts are automatic discounts for running Compute Engine resources for a significant portion of the billing month.
Container support Run, manage, and orchestrate Docker containers on Compute Engine VMs with Google Kubernetes Engine.
Reservations Create reservations for VM instances in a specific zone. Use reservations to ensure that your project has resources for future increases in demand. When you no longer need a reservation, delete the reservation to stop incurring charges for it.
Right-sizing recommenda­tions Compute Engine provides machine type recommendations to help you optimize the resource utilization of your virtual machine (VM) instances. Use these recommendations to resize your instance’s machine type to more efficiently use the instance’s resources.
OS patch management With OS patch management, you can apply OS patches across a set of VMs, receive patch compliance data across your environments, and automate installation of OS patches across VMs - all from a centralized location. 
Placement Policy Use Placement Policy to specify the location of your underlying hardware instances. Spread Placement Policy provides higher reliability by placing instances on distinct hardware, reducing the impact of underlying hardware failures. Compact Placement Policy provides lower latency between nodes by placing instances close together within the same network infrastructure. 



Pricing for Compute Engine is based on per-second usage of the machine types, persistent disks, and other resources that you select for your virtual machines. You can try Compute Engine at no charge.