Compute Engine

High-performance, scalable VMs
Scalable and high-performance virtual machines

Compute Engine delivers configurable virtual machines running in Google’s data centers with access to high-performance networking infrastructure and block storage.

  • Select the right VM for your needs, whether general purpose, or workload optimized, in predefined or custom machine sizes
  • Integrate compute with other Google Cloud services such as AI/ML and data analytics
  • Make reservations to help ensure your applications have the capacity they need as they scale. Save money just for running compute with sustained-use discounts, and achieve greater savings when you use committed-use discounts

General purpose (N2)

N2 machine types provide a balance between price and performance. These VMs are well suited for most workloads, including line-of-business applications, web serving, and databases.

Compute optimized (C2)

C2 machine types offer consistent high-end vCPU performance. These machine types are great for AAA gaming, EDA, HPC, and other applications.

Memory optimized (M2)

M2 machine types offer the highest amount of memory. These VMs are well suited for in-memory databases, such as SAP HANA, real-time analytics, and in-memory caches.

General purpose (N2D)

N2D machines are built atop 2nd Gen AMD EPYC Processors. N2D is a great option for general purpose workloads, such as web applications and databases, as well as HPC workloads requiring high-memory bandwidth including financial modeling, rendering, and reservoir analysis.

General purpose (E2)

E2 machine types offer the lowest TCO of any VM on Google Cloud and are great for a broad range of workloads including web servers, business-critical applications, small-to-medium-sized databases and development environments requiring up to 16 vCPU and no processor dependency.

Key features

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.

Preemptible VMs

Run batch jobs and fault-tolerant workloads on preemptible VMs to reduce your vCPU and memory costs by up to 80% while still getting the same performance and capabilities as regular VMs.

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

Customer Stories

Highlights

  • Faster infrastructure provisioning helped launch more new experiences in less time

  • Pilot MVP ground-up rewrite of core supply-chain system was live in a matter of weeks

  • CIO: “Today I don’t worry that much about system stability”

Industry

  • Retail and consumer goods

View all customers

What’s new

Documentation

Google cloud basics
Compute Engine pricing

See pricing for all Compute Engine resources including VM machine types.

Tutorial
Quickstart using a Linux VM

Create an instance and connect to that instance using SSH.

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.

Tutorial
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.

Tutorial
Create managed-instance groups

Managed-instance groups support stateless applications that can run across multiple VMs. Use autoscaling to automatically add or remove instances depending on the size of your workload.

Google cloud basics
Virtual Private Cloud (VPC) network overview

Virtual networking connects your Compute Engine VMs to each other and also allows you to connect VMs to other Google Cloud services. 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 control access to your Compute Engine resources. To access your cloud resources, each project member and application service account must have the necessary IAM permissions.

Common use cases

VM Migration

Compute Engine VMs can run a variety of workloads and are flexible enough to handle your existing applications with minimal changes. Bring your existing systems to Compute Engine to gain the flexibility and reduced costs of running in the cloud.

Move your existing systems 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.

Cloud StorageCloud NAT GatewayvSphereOn-premises VMsvCenter serverMigrate for Compute Engine vCenter PluginVPCMigrate for Compute Engine Cloud ExtensionMigrate for Compute Engine ManagerZone: us-east1-aEdge node AZone: us-east1-bEdge node BAWS EC2 VMsMigrate for Compute Engine ImporterAzure VMsMigrate for Compute Engine ImporterCloud VPNLocal computeLocal computeMigrated VMsLocal computeMigrate for Compute Engine BackendCloud Logging & Cloud MonitoringCloud LoggingCloud Monitoring

High performance computing

High performance computing is all about scale and speed. And when you're backed by Google Cloud’s state-of-the-art infrastructure, you can accelerate the time to complete your most complex HPC jobs. Competitive pricing and discounts help you stay within budget to convert ideas into discoveries, hypotheses into cures, and inspirations into products.

Genomics data processing

Process petabytes of genomic data in seconds with Compute Engine and our big data tools. Our scalable infrastructure enables research to continue without disruptions or delays.

NEW PREEMPTIVELayer 1GCP logoFill-3Fill-5Fill-7Fill-8Fill-9Fill-10Fill-11Fill-12Fill-13Fill-14Fill-15Fill-16Fill-17Fill-18Fill-19Fill-20Fill-21Fill-22Fill-23Page-1ShapeShapeShapeShapeOvalzone internal - blueUp to 80% CheaperCombo Card 2 TemplateCompute EngineHead NodeIconFill-1Fill-4Fill-7Fill-9Combo Card 2 TemplateCompute EngineHead NodeIconFill-1Fill-4Fill-7Fill-9pathusersUsersShape_1_pathpathpathpathpathpathpathCombo Card 2 TemplateMultiple InstancesCompute Nodes Preemptible VMIconFill-1Fill-4Fill-7Fill-9pathCombo Card 2 TemplateInstances w/PDFile System Compute EngineIconFill-1Fill-4Fill-7Fill-9pathpathpathpathpathpathCombo Card 2 TemplateCompute EngineHead NodeIconFill-1Fill-4Fill-7Fill-9Cloud StorageInput Data Cloud StorageCloud StorageFill-1Fill-4Fill-6Fill-8Cloud StorageOutput Data Cloud StorageCloud StorageFill-1Fill-4Fill-6Fill-8Compute EngineHead Node Compute EngineCompute EngineFill-1Fill-4Fill-7Fill-9pathCombo Card 2 TemplateMultiple InstancesCompute Nodes Standard VMIconFill-1Fill-4Fill-7Fill-9

Windows Workloads on Google Cloud

Google Cloud offers everything you need to run, optimize, and modernize your Windows applications and workloads with full license compliance. From managed SQL Server and Active Directory to optimized virtual machine images and Windows Containers, Google Cloud provides the capabilities you need to run Windows in the cloud. Develop your apps and manage your operations with the tools your teams use today. Migrate some workloads, optimize license usage, or modernize others. Google can help you solve your biggest Windows challenges.

Bring your own license or use license-included images

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

Architecture, showing all components of the infrastructure

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.
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 virtual machine instances. Data is stored redundantly for integrity, flexibility to resize storage without interruption, and automatic encryption. You can create persistent disks in HDD or SSD formats. You can also take snapshots of your persistent disk 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, medical analysis, 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.
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.
Sustained-use savings Sustained-use discounts are automatic discounts for running Compute Engine resources for a significant portion of the billing month.
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.

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. You can try Compute Engine for free.

View pricing details

Take the next step

Get $300 in free credits to learn and build on Google Cloud for up to 12 months.

Need help getting started?
Work with a trusted partner
Continue browsing