IaaS · Container-compatible

Compute Engine

Virtual machines in your VPC network with full control over the operating system, machine type and disks.

When to use it

Choose Compute Engine when you need full control over the operating system, runtime and installed software: lift-and-shift migrations, applications with OS-level dependencies or server-bound licences, Windows workloads, and anything that can't be containerized. Sustained use and committed use discounts lower the price of VMs that run all month.

When not to use it

Avoid Compute Engine when a managed service can run the workload with less operational work. Web apps, event-driven code and containers run on Cloud Run without OS patching, capacity planning or instance scaling.

Trade-offs at a glance

Hosting model IaaS
Container support Container-compatible
Minimum nodes 1 (2+ across zones for a higher SLA)
State management Stateless or stateful
Web hosting Agnostic
Autoscaling Managed instance groups (MIGs)
Load balancer Cloud Load Balancing (global or regional)
Scale limit Set by your project's regional CPU and GPU quotas; up to 2,000 VMs per regional managed instance group
Multiregion Global external Application Load Balancer in front of MIGs in several regions
Virtual network integration Native (runs in your VPC network)
Hybrid connectivity Cloud VPN, Cloud Interconnect, Network Connectivity Center
GPU support Supported (A2, A3, A4, G2 and G4 accelerator-optimized machines, plus TPUs)
TLS Terminate on the load balancer (Google-managed certificates) or set up in the VM
Architecture styles N-tier, big compute (HPC), lift-and-shift
Required skills OS administration, networking, security patching
Operational overhead High — you manage the OS, patching and scaling
Best for teams Teams with traditional IT operations experience

Frequently asked questions

Does Compute Engine autoscale?

Not a single VM. Use a managed instance group (MIG) to add or remove identical VMs by CPU, load balancing capacity, Cloud Monitoring metrics or schedules, with autohealing and rolling updates.

How do I get a higher availability SLA on Compute Engine?

Run instances in two or more zones of a region, for example with a regional managed instance group behind a load balancer. The multi-zone SLA is higher than the single-instance one.

Can Compute Engine run containers?

Yes. A VM can run Docker or containerd. For managed containers, use Cloud Run (serverless) or GKE (Kubernetes).

Starting point, not a verdict

This is one candidate from the Google Cloud compute decision wizard. The right choice depends on your full requirements — evaluate scaling, cost, and operational fit before committing.

Run the Google Cloud wizard →