Machine Types & Disks

Machine Families

FamilyExamplesUse
Cost-optimizede2-micro, e2-small, e2-standard-4web servers, dev, small apps
General purposen2, n4, c3balanced production workloads
Compute-optimizedc2, h3CPU-heavy work
Memory-optimizedm1, m3large in-memory databases (SAP HANA)
Acceleratora2, a3, g2GPUs for ML training and inference

Disks

DiskNotes
Balanced persistent diskgood default SSD
SSD persistent disk / Hyperdiskhigher IOPS for databases
Standard persistent diskcheap HDD for cold data
Local SSDvery fast, but data is lost when the VM stops

Take snapshots (or snapshot schedules) to back up persistent disks.

Pricing Options

  • Per-second billing while the VM runs; a stopped VM still pays for its disks.
  • Sustained use discounts: automatic for VMs running most of the month (N1/N2).
  • Committed use discounts: 1 or 3-year commitments for big savings.
  • Spot VMs: up to ~90% cheaper, but can be stopped at any time: good for batch jobs.