Softwr

Cloud · head to head

Google Cloud Run vs HashiCorp Vault

Google Cloud Run logo

Google Cloud Run

Cloud

Managed platform for running containers and functions on Google Cloud

From
On request
Free plan
No
HashiCorp Vault logo

HashiCorp Vault

Cybersecurity

Manage secrets and protect sensitive data

From
Free
Free plan
Yes

The short version

  • HashiCorp Vault is a tool for managing secrets and protecting sensitive data.
  • HashiCorp Vault starts at $6000/yr; Google Cloud Run prices on request.
  • Only Google Cloud Run lists deploy any container image; only HashiCorp Vault lists secret storage.
  • Where Google Cloud Run falls short: runs only on Google Cloud, so there is no self-hosted option.
  • Where HashiCorp Vault falls short: policies are written in HCL with no graphical user interface for policy management or editing.

How do Google Cloud Run and HashiCorp Vault differ?

Google Cloud Run and HashiCorp Vault differ on starting price (On request against Free), pricing model (Usage-based against Open-source) and free tier (No against Yes). Only the attributes on which Google Cloud Run and HashiCorp Vault actually diverge.

Attributes where Google Cloud Run and HashiCorp Vault differ
AttributeGoogle Cloud RunHashiCorp Vault
Starting priceOn requestFree
Pricing modelUsage-basedOpen-source
Free tierNoYes
PlatformsWebLinux, Windows, macOS, API
CategoryCloudCybersecurity

Not yet recorded: founded for Google Cloud Run.

Which features does each one have?

They share no listed features; 9 appear only for Google Cloud Run and 20 only for HashiCorp Vault. 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 HashiCorp Vault

  • Secret storage
  • Dynamic secrets
  • Encryption as a service
  • Identity-based access
  • Audit logging
  • Leasing and renewal
  • Secret engines
  • Auth methods

What is each one used for?

Google Cloud Run is most often brought in for hosting web APIs and microservices; HashiCorp Vault for secrets management. The jobs each tool is most often brought in to do.

Google Cloud Run

  • Hosting web APIs and microservicesnot HashiCorp Vault
  • Scheduled batch jobsnot HashiCorp Vault
  • Queue consumers on worker poolsnot HashiCorp Vault
  • Deploying containers without managing clustersnot HashiCorp Vault
  • Event-driven backends with Pub/Subnot HashiCorp Vault

HashiCorp Vault

  • Secrets managementnot Google Cloud Run
  • Database credentialsnot Google Cloud Run
  • API keysnot Google Cloud Run
  • SSH accessnot Google Cloud Run
  • PKI and certificatesnot Google Cloud Run

Where do Google Cloud Run and HashiCorp Vault fall short?

Google Cloud Run's most cited limit: runs only on Google Cloud, so there is no self-hosted option. HashiCorp Vault's: policies are written in HCL with no graphical user interface for policy management or editing. 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

HashiCorp Vault

  • Policies are written in HCL with no graphical user interface for policy management or editing
  • Unsealing requires managing multiple key shares and coordinating a quorum of operators
  • Community Edition lacks enterprise features like namespaces and disaster recovery replication
  • Requires additional monitoring solutions for alerting and observability
  • Vault 1.15.0 and later is licensed under the Business Source License 1.1, not an OSI open source licence, with IBM Corporation as licensor

How much do Google Cloud Run and HashiCorp Vault cost?

HashiCorp Vault has a free plan, with paid plans from $6000/yr. Plan by plan below, from each vendor's own pricing page.

Google Cloud Run

On request

No published plan breakdown. See the Google Cloud Run review.

HashiCorp Vault

Free
  • Open SourceFree
    • Secrets management
    • Encryption
    • Community support
  • Vault Enterprise$6,000/yr
    • Replication
    • HSM support
    • Advanced audit

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 HashiCorp Vault if

  • You need secret storage.
  • You want to start without paying.
  • You work on Linux, Windows, macOS, API.
  • You also want dynamic secrets.

Questions people ask

Is Google Cloud Run or HashiCorp Vault better?
It depends on the job. Google Cloud Run fits hosting web APIs and microservices; HashiCorp Vault fits secrets management. Google Cloud Run starts at On request and HashiCorp Vault at Free.
Which is cheaper, Google Cloud Run or HashiCorp Vault?
HashiCorp Vault has a free tier; the other does not. Paid plans start at On request for Google Cloud Run and Free for HashiCorp Vault.
Does Google Cloud Run or HashiCorp Vault run on more platforms?
Google Cloud Run runs on Web. HashiCorp Vault runs on Linux, Windows, macOS, API.
Can I use HashiCorp Vault for free?
Yes. HashiCorp Vault 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 HashiCorp Vault is typically brought in for.
What can Google Cloud Run do that HashiCorp Vault 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. HashiCorp Vault covers Secret storage, Dynamic secrets, Encryption as a service, Identity-based access.

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.

Source
HashiCorp Vault: Does HashiCorp Vault have a free version?

Yes. The open-source Community Edition is completely free and includes core secrets management, dynamic secrets, and encryption as a service. It is self-hosted with no licensing fees or secret count limits, but lacks enterprise features like namespaces, disaster recovery replication, and Sentinel policies.

Source
Google 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.

Source
HashiCorp Vault: Can I use HashiCorp Vault in production?

The Community Edition is suitable for non-production environments and small teams. For production deployments, organizations typically use HCP Vault Dedicated (managed cloud service starting at approximately 22 USD per month) or Vault Enterprise with custom pricing that includes disaster recovery, performance replication, and 24/7 support.

Source
Google Cloud Run: Can Cloud Run scale to zero?

Yes. Services scale to zero when idle unless a minimum number of instances is set.

Source
HashiCorp Vault: What are the main integrations available?

Vault integrates with AWS, Azure, Google Cloud, Active Directory, Okta, and 80+ other platforms. It supports dynamic credential generation for cloud providers, database systems, and identity services, enabling centralized secret management across multi-cloud infrastructure.

Source
HashiCorp Vault: Does Vault work offline?

Vault requires network connectivity to function as it is a centralized secrets management server. However, it can be deployed on-premises for air-gapped environments, and clients can cache short-lived tokens for temporary offline access once authenticated.

Source
Share

Related pages

Other head to heads