Databases · head to head
etcd vs Google Compute Engine

etcd
Databases
A distributed key-value store using Raft consensus, built for cluster coordination rather than application data.
- From
- Free
- Free plan
- Yes

Google Compute Engine
Databases
Google Cloud virtual machines billed per vCPU and per GB of memory
- From
- On request
- Free plan
- No
The short version
- etcd is free; Google Compute Engine prices on request.
- Only etcd lists raft consensus; only Google Compute Engine lists machine families.
- Where Google Compute Engine falls short: you manage patching, hardening and scaling, so the effective cost includes operations time that serverless options remove.
How do etcd and Google Compute Engine differ?
etcd and Google Compute Engine differ on starting price (Free against On request), pricing model and free tier (Yes against No). Only the attributes on which etcd and Google Compute Engine actually diverge.
| Attribute | etcd | Google Compute Engine |
|---|---|---|
| Starting price | Free | On request |
| Pricing model | Open-source | Per vCPU and per GB of memory per hour |
| Free tier | Yes | No |
| Platforms | Web | Web, API |
Not yet recorded: category for Google Compute Engine, founded for Google Compute Engine.
Which features does each one have?
They share no listed features; 8 appear only for etcd and 5 only for Google Compute Engine. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.
Only in etcd
- Raft consensus
- Linearizable reads
- Transactions
- Leases
- Watches
- MVCC revision history
- Role-based access control
- Snapshot backup and restore
Only in Google Compute Engine
- Machine families
- Custom machine types
- Sustained use discounts
- Committed use discounts
- Free e2-micro
What is each one used for?
etcd is most often brought in for coordinating failover in a clustered database, as Patroni does for PostgreSQL; Google Compute Engine for lift-and-shift of virtual machine workloads to Google Cloud. The jobs each tool is most often brought in to do.
etcd
- Storing Kubernetes cluster state, which is what the overwhelming majority of etcd deployments are doingnot Google Compute Engine
- Leader election and distributed locking in a home-grown scheduler or control plane, using leases and transactionsnot Google Compute Engine
- Service discovery and dynamic configuration where readers need to be notified of changes rather than poll for themnot Google Compute Engine
- Coordinating failover in a clustered database, as Patroni does for PostgreSQLnot Google Compute Engine
Google Compute Engine
- Lift-and-shift of virtual machine workloads to Google Cloudnot etcd
- GPU and high performance computing jobsnot etcd
- Self-managed databases or legacy servers needing OS controlnot etcd
- Cost-optimised batch work on spot capacitynot etcd
Where do etcd and Google Compute Engine fall short?
Google Compute Engine's most cited limit: machine type choice is wide, and picking the wrong family wastes money until you resize. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
etcd
- It is sized for coordination data, not application data: the default backend quota is 2 GB and 8 GB is the documented recommended maximum, and exceeding it puts the cluster into a NOSPACE alarm where it accepts no writes until an operator compacts, defragments and clears the alarm by hand
- Every write is replicated and fsynced before acknowledgement, so cluster performance is bounded by the slowest disk in it; a member on network-attached storage with high fsync latency causes leader elections and cluster-wide latency spikes that look like network problems and are not
- Adding members increases availability but reduces write throughput, because each write must reach a larger quorum; you run three or five members for fault tolerance, and increasing capacity means faster hardware rather than more nodes
- There is no sharding and no multi-tenancy, so isolating workloads means running separate clusters, each with its own quorum, certificates, backup schedule and upgrade path, and that operational multiplication is often unexpected
- Running it yourself is a real job: periodic compaction and defragmentation, snapshot backups you have actually rehearsed restoring, and rotation of both peer and client TLS certificates, none of which happens automatically outside a managed Kubernetes service
- Losing quorum is not self-healing; recovering a cluster that has lost a majority means restoring from a snapshot and accepting that everything written since that snapshot is gone, which makes backup frequency a data-loss budget decision rather than a routine setting
Google Compute Engine
- You manage patching, hardening and scaling, so the effective cost includes operations time that serverless options remove
- Bills combine vCPU, memory, disks, network egress and licences, which makes forecasting hard without the pricing calculator
- Machine type choice is wide, and picking the wrong family wastes money until you resize
- Sustained use discounts do not stack with committed use discounts, so savings depend on getting commitments right
- Network egress charges can exceed compute cost for data-heavy applications
How much do etcd and Google Compute Engine cost?
etcd is free to use. Plan by plan below, from each vendor's own pricing page.
etcd
FreeNo published plan breakdown. See the etcd review.
Google Compute Engine
On request- On demandOn request
- vCPU and memory billed separately
- Sustained use discounts up to 30%
- Committed use discounts available
Which should you pick?
Choose etcd if
- You need raft consensus.
- You want to start without paying.
- You also want linearizable reads.
Choose Google Compute Engine if
- You need machine families.
- You work on Web, API.
- You also want custom machine types.
Questions people ask
- Is etcd or Google Compute Engine better?
- It depends on the job. etcd fits storing Kubernetes cluster state, which is what the overwhelming majority of etcd deployments are doing; Google Compute Engine fits lift-and-shift of virtual machine workloads to Google Cloud. etcd starts at Free and Google Compute Engine at On request.
- Which is cheaper, etcd or Google Compute Engine?
- etcd has a free tier; the other does not. Paid plans start at Free for etcd and On request for Google Compute Engine.
- Does etcd or Google Compute Engine run on more platforms?
- etcd runs on Web. Google Compute Engine runs on Web, API.
- Can I use etcd for free?
- Yes. etcd has a free tier, so you can try it without paying. Google Compute Engine starts at On request.
- What is etcd best used for?
- etcd is most often used for storing kubernetes cluster state, which is what the overwhelming majority of etcd deployments are doing, leader election and distributed locking in a home-grown scheduler or control plane, using leases and transactions, service discovery and dynamic configuration where readers need to be notified of changes rather than poll for them, coordinating failover in a clustered database, as patroni does for postgresql. Of those, storing kubernetes cluster state, which is what the overwhelming majority of etcd deployments are doing and leader election and distributed locking in a home-grown scheduler or control plane, using leases and transactions are not what Google Compute Engine is typically brought in for.
- What can etcd do that Google Compute Engine cannot?
- etcd covers Raft consensus, Linearizable reads, Transactions, Leases. Google Compute Engine covers Machine families, Custom machine types, Sustained use discounts, Committed use discounts.
Answered from the vendors’ own pages
etcd: Can I use etcd as an application database?
No. It is designed for metadata and coordination, with a recommended maximum store size of around 8 GB, no sharding and a write path deliberately optimised for durability rather than throughput. Application data belongs in a database built for it.
Google Compute Engine: How is Compute Engine billed?
Per vCPU and per GB of memory per hour, plus disks and network.
etcd: How many members should a cluster have?
Three for most cases, five where you need to survive two simultaneous failures. Always an odd number, because an even-sized cluster gains no additional fault tolerance while making quorum harder to reach.
Google Compute Engine: Is there a free VM?
Yes, Google Cloud offers a free e2-micro instance under its free programme.
etcd: What happens when the store fills up?
The cluster raises a NOSPACE alarm and stops accepting writes, becoming effectively read-only. Recovery requires compacting old revisions, defragmenting each member and then explicitly disarming the alarm, all done by an operator.
Google Compute Engine: What discounts exist?
Sustained use discounts of up to 30% and committed use discounts.
etcd: Why is my etcd cluster slow or unstable?
Almost always disk latency. Because every write is fsynced before acknowledgement, slow or shared storage causes heartbeat timeouts, leader elections and cascading latency. Local SSDs with low fsync latency are effectively a requirement.
etcd: How does it compare with Consul or ZooKeeper?
All three provide consensus-backed coordination. etcd has the simplest data model and the Kubernetes ecosystem behind it; Consul bundles service discovery, health checking and a service mesh; ZooKeeper is older, JVM-based and still common under Kafka and Hadoop-era systems.
Related pages
More on Google Compute Engine
Other head to heads
- etcd vs Redis
- etcd vs Valkey
- etcd vs DynamoDB
- etcd vs Timeplus
- etcd vs Firebase Realtime Database
- etcd vs Knack
- etcd vs BigQuery
- etcd vs TiDB
- etcd vs Turso
- etcd vs Dgraph
- etcd vs turbopuffer
- etcd vs Apache HBase
- etcd vs Fivetran HVR
- etcd vs Grafana Mimir
- etcd vs IBM Informix
- etcd vs Marqo
- etcd vs Google Cloud Spanner
- etcd vs IBM watsonx.data
- etcd vs Amazon EC2
- etcd vs DigitalOcean
- etcd vs Exoscale
- etcd vs OpenStack
- etcd vs Huawei Cloud
- etcd vs Portworx
- etcd vs Confluent Cloud
- etcd vs Nutanix
- etcd vs Proxmox VE
- etcd vs Wiz
- etcd vs Rancher
- etcd vs Wasabi
- etcd vs Oracle Cloud
- etcd vs OVHcloud
- etcd vs Red Hat OpenShift
- etcd vs AWS Fargate
- etcd vs Amazon EKS
- etcd vs Amazon EMR
- Google Compute Engine vs Redis
- Google Compute Engine vs Valkey
- Google Compute Engine vs DynamoDB
- Google Compute Engine vs Timeplus
- Google Compute Engine vs Firebase Realtime Database
- Google Compute Engine vs Knack
- Google Compute Engine vs BigQuery
- Google Compute Engine vs TiDB
- Google Compute Engine vs Turso
- Google Compute Engine vs Dgraph
- Google Compute Engine vs turbopuffer
- Google Compute Engine vs Apache HBase
- Google Compute Engine vs Fivetran HVR
- Google Compute Engine vs Grafana Mimir
- Google Compute Engine vs IBM Informix
- Google Compute Engine vs Marqo
- Google Compute Engine vs Google Cloud Spanner
- Google Compute Engine vs IBM watsonx.data
- Google Compute Engine vs Amazon EC2
- Google Compute Engine vs DigitalOcean
- Google Compute Engine vs Exoscale
- Google Compute Engine vs OpenStack
- Google Compute Engine vs Huawei Cloud
- Google Compute Engine vs Portworx
- Google Compute Engine vs Confluent Cloud
- Google Compute Engine vs Nutanix
- Google Compute Engine vs Proxmox VE
- Google Compute Engine vs Wiz
- Google Compute Engine vs Rancher
- Google Compute Engine vs Wasabi
- Google Compute Engine vs Oracle Cloud
- Google Compute Engine vs OVHcloud
- Google Compute Engine vs Red Hat OpenShift
- Google Compute Engine vs AWS Fargate
- Google Compute Engine vs Amazon EKS
- Google Compute Engine vs Amazon EMR
