Careeroza
Machine Types & Disks
Machine Families
| Family | Examples | Use |
|---|---|---|
| Cost-optimized | e2-micro, e2-small, e2-standard-4 | web servers, dev, small apps |
| General purpose | n2, n4, c3 | balanced production workloads |
| Compute-optimized | c2, h3 | CPU-heavy work |
| Memory-optimized | m1, m3 | large in-memory databases (SAP HANA) |
| Accelerator | a2, a3, g2 | GPUs for ML training and inference |
Disks
| Disk | Notes |
|---|---|
| Balanced persistent disk | good default SSD |
| SSD persistent disk / Hyperdisk | higher IOPS for databases |
| Standard persistent disk | cheap HDD for cold data |
| Local SSD | very 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.