Cloud · head to head
Google Cloud Run vs Vitess

Google Cloud Run
Cloud
Managed platform for running containers and functions on Google Cloud
- From
- On request
- Free plan
- No

Vitess
Databases
Scalable database clustering system for horizontal scaling of MySQL
- From
- Free
- Free plan
- Yes
The short version
- Vitess is free; Google Cloud Run prices on request.
- Only Google Cloud Run lists deploy any container image; only Vitess lists horizontal Sharding.
- Where Google Cloud Run falls short: runs only on Google Cloud, so there is no self-hosted option.
- Where Vitess falls short: VTGate scatter queries without sharding key incur significant performance penalties.
How do Google Cloud Run and Vitess differ?
Google Cloud Run and Vitess differ on starting price (On request against Free), free tier (No against Yes) and platforms. Only the attributes on which Google Cloud Run and Vitess actually diverge.
| Attribute | Google Cloud Run | Vitess |
|---|---|---|
| Starting price | On request | Free |
| Free tier | No | Yes |
| Platforms | Web | Linux, macOS, Self-hosted |
| Category | Cloud | Databases |
Not yet recorded: pricing model for Vitess, founded for Google Cloud Run.
Which features does each one have?
They share no listed features; 9 appear only for Google Cloud Run and 15 only for Vitess. 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 Google Cloud Run
- Deploy any container image
- Source-based builds for common languages
- Services with automatic scaling and scale to zero
- Jobs for scheduled or manual tasks
- Worker pools for background processing
- Traffic splitting and rollback between revisions
- Custom domains and managed TLS
- Request-based and instance-based billing
Only in Vitess
- Horizontal Sharding
- Connection Pooling
- Query Routing
- Online Schema Changes
- Shard Management
- Replication Management
- Automated Failover
- MySQL
What is each one used for?
Google Cloud Run is most often brought in for hosting web APIs and microservices; Vitess for transaction processing. The jobs each tool is most often brought in to do.
Google Cloud Run
- Hosting web APIs and microservicesnot Vitess
- Scheduled batch jobsnot Vitess
- Queue consumers on worker poolsnot Vitess
- Deploying containers without managing clustersnot Vitess
- Event-driven backends with Pub/Subnot Vitess
Vitess
- Transaction processingnot Google Cloud Run
- Data storagenot Google Cloud Run
- Application backendnot Google Cloud Run
- Reportingnot Google Cloud Run
- Data analyticsnot Google Cloud Run
Where do Google Cloud Run and Vitess fall short?
Google Cloud Run's most cited limit: runs only on Google Cloud, so there is no self-hosted option. Vitess's: VTGate scatter queries without sharding key incur significant performance penalties. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
Google Cloud Run
- Runs only on Google Cloud, so there is no self-hosted option
- The container file system is in memory and not persistent
- Worker pools do not autoscale natively and need at least one instance
- Services are stateless, so state needs external storage
Vitess
- VTGate scatter queries without sharding key incur significant performance penalties
- Foreign key constraints not enforced across shards, requiring application-level integrity handling
- Single primary per keyspace limits multi-region write capabilities
- Distributed transactions without proper sharding key routing suffer performance degradation
How much do Google Cloud Run and Vitess cost?
Vitess is free to use. Plan by plan below, from each vendor's own pricing page.
Google Cloud Run
On requestNo published plan breakdown. See the Google Cloud Run review.
Vitess
Free- Open source (Apache-2.0)Free
Which should you pick?
Choose Google Cloud Run if
- You need deploy any container image.
- You also want source-based builds for common languages.
Choose Vitess if
- You need horizontal sharding.
- You want to start without paying.
- You work on Linux, macOS, Self-hosted.
- You also want connection pooling.
Questions people ask
- Is Google Cloud Run or Vitess better?
- It depends on the job. Google Cloud Run fits hosting web APIs and microservices; Vitess fits transaction processing. Google Cloud Run starts at On request and Vitess at Free.
- Which is cheaper, Google Cloud Run or Vitess?
- Vitess has a free tier; the other does not. Paid plans start at On request for Google Cloud Run and Free for Vitess.
- Does Google Cloud Run or Vitess run on more platforms?
- Google Cloud Run runs on Web. Vitess runs on Linux, macOS, Self-hosted.
- Can I use Vitess for free?
- Yes. Vitess has a free tier, so you can try it without paying. Google Cloud Run starts at On request.
- What is Google Cloud Run best used for?
- Google Cloud Run is most often used for hosting web apis and microservices, scheduled batch jobs, queue consumers on worker pools, deploying containers without managing clusters. Of those, hosting web apis and microservices and scheduled batch jobs are not what Vitess is typically brought in for.
- What can Google Cloud Run do that Vitess cannot?
- Google Cloud Run covers Deploy any container image, Source-based builds for common languages, Services with automatic scaling and scale to zero, Jobs for scheduled or manual tasks. Vitess covers Horizontal Sharding, Connection Pooling, Query Routing, Online Schema Changes.
Answered from the vendors’ own pages
Google Cloud Run: What can Cloud Run run?
Any container image, or source code for Go, Node.js, Python, Java.NET and Ruby that Google builds into a container.
SourceVitess: Is Vitess free to use?
Yes. Vitess is completely free and open source under the Apache 2.0 license. It is a graduated CNCF project with no licensing costs or pricing tiers.
SourceGoogle Cloud Run: How is Cloud Run billed?
Allocated CPU and memory are billed in 100 millisecond granularity, in request-based or instance-based mode. A free tier is available.
SourceVitess: What databases does Vitess support?
Vitess supports MySQL and MariaDB as backend databases. It acts as a middleware layer that adds sharding and orchestration capabilities on top of these databases.
SourceGoogle Cloud Run: Can Cloud Run scale to zero?
Yes. Services scale to zero when idle unless a minimum number of instances is set.
SourceVitess: Does Vitess require Kubernetes to run?
No. Vitess can run on Kubernetes using the Vitess Operator, but it can also be deployed on traditional infrastructure. Kubernetes integration is optional and provides additional automation benefits.
SourceVitess: How does Vitess handle cross-shard transactions?
Vitess supports distributed transactions across shards, but they require queries to be routed through the sharding key. Transactions without a proper sharding key can result in slower performance.
SourceVitess: Does Vitess enforce foreign key constraints?
Vitess does not enforce foreign key constraints across shards by default. Referential integrity must be managed at the application layer, though per-database support can be enabled with limitations.
SourceRelated pages
More on Google Cloud Run
Other head to heads
- Google Cloud Run vs AWS Lambda
- Google Cloud Run vs Koyeb
- Google Cloud Run vs Azure Functions
- Google Cloud Run vs Heroku
- Google Cloud Run vs Podman
- Google Cloud Run vs minikube
- Google Cloud Run vs K3s
- Google Cloud Run vs Serverless Framework
- Google Cloud Run vs Deno Deploy
- Google Cloud Run vs Beam Cloud
- Google Cloud Run vs CloudAMQP
- Google Cloud Run vs Dokku
- Google Cloud Run vs Lambda
- Google Cloud Run vs Buildah
- Google Cloud Run vs containerd
- Google Cloud Run vs Skopeo
- Google Cloud Run vs Flux
- Google Cloud Run vs kind
- Google Cloud Run vs Amazon Aurora
- Google Cloud Run vs CockroachDB
- Google Cloud Run vs TiDB
- Google Cloud Run vs YugabyteDB
- Google Cloud Run vs SingleStore
- Google Cloud Run vs Readyset
- Google Cloud Run vs MySQL
- Google Cloud Run vs NATS
- Google Cloud Run vs Microsoft Access
- Google Cloud Run vs ClickHouse
- Google Cloud Run vs PostgreSQL
- Google Cloud Run vs RabbitMQ
- Google Cloud Run vs Google Cloud SQL
- Google Cloud Run vs MotherDuck
- Google Cloud Run vs Presto
- Google Cloud Run vs TIBCO Enterprise Message Service
- Google Cloud Run vs VerneMQ
- Google Cloud Run vs Xata
- Vitess vs AWS Lambda
- Vitess vs Koyeb
- Vitess vs Azure Functions
- Vitess vs Heroku
- Vitess vs Podman
- Vitess vs minikube
- Vitess vs K3s
- Vitess vs Serverless Framework
- Vitess vs Deno Deploy
- Vitess vs Beam Cloud
- Vitess vs CloudAMQP
- Vitess vs Dokku
- Vitess vs Lambda
- Vitess vs Buildah
- Vitess vs containerd
- Vitess vs Skopeo
- Vitess vs Flux
- Vitess vs kind
- Vitess vs Amazon Aurora
- Vitess vs CockroachDB
- Vitess vs TiDB
- Vitess vs YugabyteDB
- Vitess vs SingleStore
- Vitess vs Readyset
- Vitess vs MySQL
- Vitess vs NATS
- Vitess vs Microsoft Access
- Vitess vs ClickHouse
- Vitess vs PostgreSQL
- Vitess vs RabbitMQ
- Vitess vs Google Cloud SQL
- Vitess vs MotherDuck
- Vitess vs Presto
- Vitess vs TIBCO Enterprise Message Service
- Vitess vs VerneMQ
- Vitess vs Xata
