New Tau VMs deliver industry leading 42% better price-performance for scale-out workloads. Learn more.

Jump to

Compute Engine

Secure and customizable compute service that lets you create and run virtual machines on Google’s infrastructure.

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

  • action/check_circle_24px Created with Sketch.

    Predefined machine types: Start running quickly with pre-built and ready-to-go configurations

  • action/check_circle_24px Created with Sketch.

    Custom machine types: Create VMs with optimal amounts of vCPU and memory, while balancing cost

  • action/check_circle_24px Created with Sketch.

    Preemptible machines: Reduce computing costs by up to 80% with affordable short-term instances

  • action/check_circle_24px Created with Sketch.

    Confidential computing: Encrypt your most sensitive data while it’s being processed

  • action/check_circle_24px Created with Sketch.

    Rightsizing recommendations: Optimize resource utilization with automatic recommendations

Key features

Choosing the right virtual machine type

Scale-out workloads (T2D) - Coming soon

T2D offers the best price-performance compared to general-purpose VMs from any of the leading public cloud vendors. It is the first instance type in the Tau VM family and will come in predefined shapes, with up to 60vCPUs per VM and 4GB of memory per vCPU. T2D is ideal for scale-out workloads like web servers, containerized microservices, media transcoding, and large scale java applications. Sign up for launch updates.

General purpose workloads (E2, N2, N2D, N1)

E2, N2N2D, and N1 are general-purpose machines offering a good balance of price and performance, and are suitable for a wide variety of common workloads including databases, development and testing environments, web applications, and mobile gaming. They support up to 224 vCPUs and 896 GB of memory.

Ultra-high memory (M2, M1)

Memory-optimized machines offer the highest memory configurations with up to 12 TB for a single instance. They are well suited to memory-intensive workloads such as large in-memory databases like SAP HANA, and in-memory data analytics workloads.

Compute-intensive workloads (C2)

Compute-optimized machines provide the highest performance per core on Compute Engine and are optimized for workloads such as high performance computing(HPC), game servers, and latency-sensitive API serving.

Most demanding applications and workloads (A2)

Accelerator-optimized machines are based on the NVIDIA Ampere A100 Tensor Core GPU. Each A100 GPU offers up to 20x the compute performance compared to the previous generation GPU. These VMs are designed for your most demanding workloads such as machine learning and high performance computing.

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 Google Cloud

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 contains 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

VM Manager VM Manager is a suite of tools that can be used to manage operating systems for large virtual machine (VM) fleets running Windows and Linux on Compute Engine.
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.
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.
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.
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.
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.
Instance groups An instance group is a collection of virtual machines running a single application. It automatically creates and deletes virtual machines to meet the demand, repairs workload from failures, and runs updates.
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.
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. 


Compute Engine pricing

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. If you have a specific project in mind, use the pricing calculator to estimate cost. You can also reach out to our sales team to request a quote.

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.