Softwr

Cloud · head to head

Google Cloud Run vs ngrok

Google Cloud Run logo

Google Cloud Run

Cloud

Managed platform for running containers and functions on Google Cloud

From
On request
Free plan
No
ngrok logo

ngrok

Networking

Reverse tunnel service that gives a local or private service a public URL without opening a firewall

From
Free
Free plan
Yes

The short version

  • ngrok is free; Google Cloud Run prices on request.
  • Only Google Cloud Run lists deploy any container image; only ngrok lists outbound agent tunnels.
  • Where Google Cloud Run falls short: runs only on Google Cloud, so there is no self-hosted option.
  • Where ngrok falls short: bandwidth is metered on paid tiers, so a workload that quietly grows into serving real traffic produces overage rather than a flat bill.

How do Google Cloud Run and ngrok differ?

Google Cloud Run and ngrok differ on starting price (On request against Free), pricing model (Usage-based against Per user per month) and free tier (No against Yes). Only the attributes on which Google Cloud Run and ngrok actually diverge.

Attributes where Google Cloud Run and ngrok differ
AttributeGoogle Cloud Runngrok
Starting priceOn requestFree
Pricing modelUsage-basedPer user per month
Free tierNoYes
PlatformsWebLinux, macOS, Windows, Self-hosted
CategoryCloudNetworking

Which features does each one have?

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

  • Outbound agent tunnels
  • Static domains
  • Traffic policy
  • Request inspection
  • Kubernetes ingress
  • TCP and TLS endpoints

What is each one used for?

Google Cloud Run is most often brought in for hosting web APIs and microservices; ngrok for giving a partner a temporary authenticated endpoint into an internal API. The jobs each tool is most often brought in to do.

Google Cloud Run

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

ngrok

  • Receiving webhooks from a payment or messaging provider on a laptop during developmentnot Google Cloud Run
  • Demonstrating a work in progress application to someone outside the network without deploying itnot Google Cloud Run
  • Publishing a service inside a private network or Kubernetes cluster without a public load balancernot Google Cloud Run
  • Giving a partner a temporary authenticated endpoint into an internal APInot Google Cloud Run

Where do Google Cloud Run and ngrok fall short?

Google Cloud Run's most cited limit: runs only on Google Cloud, so there is no self-hosted option. 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

ngrok

  • Free HTTP endpoints show a browser interstitial before the page loads, which breaks first impressions in demos and confuses anyone you send the link to
  • All traffic passes through ngrok infrastructure, so you inherit its latency and an ngrok incident takes every published endpoint down at once with no local failover
  • Pricing is per user seat plus allowances, so a platform team publishing many endpoints ends up buying seats for people who never open the dashboard
  • Bandwidth is metered on paid tiers, so a workload that quietly grows into serving real traffic produces overage rather than a flat bill
  • Traffic policy configuration is specific to ngrok, so the authentication and routing logic you accumulate at the edge has to be rebuilt if you later move to a conventional ingress

How much do Google Cloud Run and ngrok cost?

ngrok is free to use. 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.

ngrok

Free
  • FreeFree
    • One static domain
    • HTTP endpoints with a browser interstitial
    • Limited simultaneous connections
  • PersonalOn request
    • Removes the interstitial warning page
    • Additional reserved domains
    • TCP endpoints
  • ProOn request
    • Per user billing with team accounts
    • Traffic policy rules and edge authentication
    • Higher bandwidth allowances
  • EnterpriseOn request
    • Custom terms and volume pricing
    • Dedicated capacity options
    • Compliance and audit requirements

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 ngrok if

  • You need outbound agent tunnels.
  • You want to start without paying.
  • You work on Linux, macOS, Windows, Self-hosted.
  • You also want static domains.

Questions people ask

Is Google Cloud Run or ngrok better?
It depends on the job. Google Cloud Run fits hosting web APIs and microservices; ngrok fits receiving webhooks from a payment or messaging provider on a laptop during development. Google Cloud Run starts at On request and ngrok at Free.
Which is cheaper, Google Cloud Run or ngrok?
ngrok has a free tier; the other does not. Paid plans start at On request for Google Cloud Run and Free for ngrok.
Does Google Cloud Run or ngrok run on more platforms?
Google Cloud Run runs on Web. ngrok runs on Linux, macOS, Windows, Self-hosted.
Can I use ngrok for free?
Yes. ngrok 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 ngrok is typically brought in for.
What can Google Cloud Run do that ngrok 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. ngrok covers Outbound agent tunnels, Static domains, Traffic policy, Request inspection.

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
ngrok: Can I use it in production?

It is sold for that now, with static domains, policy rules and a Kubernetes operator. The question is whether you accept a third party on the traffic path for every request.

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
ngrok: Why does my free URL show a warning page?

Free HTTP endpoints carry an interstitial. Removing it requires a paid plan, and it is the most common reason people upgrade.

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
ngrok: Does it work for SSH or a database?

Yes through TCP endpoints, which are a paid feature.

ngrok: What is the self hosted alternative?

A reverse proxy on a server you own with a tunnel back to the service, or one of the self hosted tunnel projects. All of them cost more setup time than the thing they replace.

Share

Related pages

Other head to heads