You don't have to know anything about containers to use Functions. It's geared towards developers who don't have that experience. Answer from BehindTheMath on reddit.com
🌐
Google Cloud
cloud.google.com › blog › products › serverless › cloud-run-vs-cloud-functions-for-serverless
Cloud run vs cloud functions for serverless | Google Cloud Blog
November 12, 2022 - The function might generate thumbnails of an image or run sentiment analysis on a text file. But there are many other examples for which customers choose Cloud Functions: Transforming data and loading it into BigQuery · Creating a webhook that’s called by a third party (i.e., GitHub) Use ML APIs to analyze data added to a database or storage bucket ·
🌐
Reddit
reddit.com › r/googlecloud › why use cloud functions when there is cloud run?
r/googlecloud on Reddit: Why use Cloud Functions when there is Cloud Run?
April 10, 2025 -

My answer used to be "for async event processing", but since Cloud Run supports Eventarc now, I see no reason to use Cloud Functions for this either. Cloud Functions locks you into the Functions Framework, while Cloud Run doesn't restrict what you can install in your container image. You can use a "minimum instances" setting to have your Cloud Run service spin down to 0 when unused to save money if it is called infrequently. The new gen2 Cloud Functions basically run on top of Cloud Run anyway, which is why they're now confusingly renamed Cloud Run Functions.

So in what scenario do you actually find Cloud Functions to be the better choice still? Legitimately asking.

🌐
Google
docs.cloud.google.com › cloud run › compare cloud run functions
Compare Cloud Run functions | Google Cloud Documentation
Cloud Run builds functions into containers and deploys them as services. When you deploy a function to Cloud Run, you have complete access and control over the function's behavior.
🌐
Leyaa
leyaa.ai › home › cloud functions vs cloud run: key differences and when to use each
Cloud Functions vs Cloud Run: Key Differences and When to Use Each | Leyaa.ai
March 9, 2026 - Cloud Functions is designed for small pieces of code that respond to events like file uploads or database changes. It abstracts away infrastructure details, so you just write your function and deploy it. This makes it very easy to use but limits customization of the runtime environment.
🌐
Reintech
reintech.io › blog › google-cloud-functions-vs-cloud-run-when-to-use-each
Google Cloud Functions vs Cloud Run: Complete Comparison Guide
March 3, 2026 - Cloud Functions shines when you need simple, event-driven automation. I've used it successfully for processing pub/sub messages, responding to storage bucket changes, and handling webhook callbacks from third-party services. Event processing: Reacting to Cloud Storage uploads, Firestore changes, or Pub/Sub messages · Webhooks: Handling callbacks from Stripe, GitHub, or other external services · Scheduled tasks: Running ...
Find elsewhere
🌐
Google Cloud
cloud.google.com › blog › products › serverless › google-cloud-functions-is-now-cloud-run-functions
Google Cloud Functions is now Cloud Run functions | Google Cloud Blog
August 21, 2024 - The function might generate thumbnails of an image or run sentiment analysis on a text file. But there are many other examples for which customers choose Cloud Functions: Transforming data and loading it into BigQuery · Creating a webhook that’s called by a third party (e.g., GitHub) Using ML APIs to analyze data added to a database or storage bucket ·
🌐
Modal
modal.com › blog › google-cloud-run-vs-google-cloud-function-article
Google Cloud Run vs. Cloud Run Functions: understanding Google's serverless offerings
September 25, 2024 - Google Cloud offers two primary serverless computing options: Cloud Run and Cloud Run Functions. While their names are similar, these services cater to different use cases and offer distinct features.
🌐
Towards Data Science
towardsdatascience.com › home › latest › understand and compare cloud functions vs cloud run
Understand and Compare Cloud Functions vs Cloud Run | Towards Data Science
January 23, 2025 - Compare with Cloud Function which only supports one request at a time, Cloud Run is able to be configured to support multiple concurrent requests on a single container instance which allows to save time and save cost.
🌐
Sphere
sphereinc.com › blogs › when-to-choose-app-engine-vs-cloud-functions-or-cloud-run-in-gcp
Cloud Run vs App Engine vs Cloud Function - Sphere Partners
January 29, 2025 - For example, if you are saving or extracting data from a database, posting a file, or doing simple data validation, then using Cloud Functions is an appropriate choice. Functions operate in their own runtime environment and run independently; when a function is invoked it runs in a separate instance from other function calls.
🌐
Aster
aster.cloud › home › cloud functions vs. cloud run: when to use one over the other
Cloud Functions Vs. Cloud Run: When To Use One Over The Other - aster.cloud
December 15, 2022 - The function might generate thumbnails of an image or run sentiment analysis on a text file. But there are many other examples for which customers choose Cloud Functions: Transforming data and loading it into BigQuery · Creating a webhook that’s called by a third party (i.e., GitHub) Use ML APIs to analyze data added to a database or storage bucket ·
🌐
Cloud Infrastructure Services
cloudinfrastructureservices.co.uk › home › blog › cloud run vs app engine vs cloud function (pros and cons)
Cloud Run vs App Engine vs Cloud Function (Pros and Cons)
July 13, 2023 - ... In simple terms, a cloud function is a small piece of code that runs in response to an event, such as a file upload, a message from a messaging service, or a change in a database.
🌐
Medium
medium.com › google-cloud › no-cloud-run-is-not-better-than-google-cloud-functions-f34f46bd3545
No, Cloud Run is not better than Google Cloud Functions | by Beranger Natanelic | Google Cloud - Community | Medium
April 13, 2023 - Cloud Functions: A piece of code deployed online. Responding to HTTP calls or Google Cloud events. Cloud Run: Multiple bigger pieces of code deployed online, big enough to create a server or anything containerisable.
Top answer
1 of 2
7

Cloud Functions server instances handle requests in serial, and this is not configurable. Cloud Run instances handle requests in parallel, and the level of parallelism per instance is configurable. This can potentially save you money, if you understand how best to configure a server instance, given the performance characteristics of the code you deploy.

Cloud Functions requires you to choose from among provided language and runtime configurations that are not configurable. Cloud Run lets you run any type of backend configuration you want, assuming that it simply exposes an HTTP endpoint on port 8080.

Cloud Functions provides those selected language and runtime configurations without requiring that you do anything other than deploy code that targets one of those configurations. Cloud Run requires that you supply a docker configuration that establishes the runtime environment (which is more work).

Cloud Functions lets you establish triggers on a wide variety of events that can come from a variety of Cloud and Firebase products. Cloud Run (currently) can be triggered via HTTP requests, PubSub push and a narrow selection of Cloud products (such as Cloud Scheduler and Cloud Tasks).

Cloud Functions requires that you only run your code within the managed provided environments. Cloud Run allows you to take your docker configuration and run it anywhere docker is supported, including GKE, where you gain more control over the server instances.

2 of 2
2

Google Cloud Run fits into your Serverless layer but as a container. The container infrastructure is managed for you.

Cloud Functions are limited in respect to the libraries, languages, and runtimes supported.

Cloud Run removes those limitations. You can use any language, combination of libraries and runtime that supports running within a container.

One limitation is that there is only one internal port $PORT which defaults to 8080 today. Externally both HTTP and HTTPS are supported. Both HTTP and HTTPS map to $PORT.

One big plus is that Cloud Run supports custom DNS names and custom SSL certificates. You can host your website on Cloud Run. As an experiment, I set up WordPress and Cloud SQL on Cloud Run and assigned it a DNS domain name with an SSL certificate.

🌐
GitHub
github.com › GoogleCloudPlatform › buildpacks › issues › 310
Starting Cloud Functions or Cloud Run fails with Node.js (Issue finding a function in bundled JS) · Issue #310 · GoogleCloudPlatform/buildpacks
June 2, 2023 - Why is the runtime not able to resolve my function even though I specified "main": "apps/hello/dist/index.js" in package.json? ... Spin up the Cloud Functions function.
Author   KeisukeYamashita
🌐
Cloudwithease
cloudwithease.com › gcp-app-engine-vs-cloud-run-vs-cloud-function
GCP App Engine vs Cloud Run vs Cloud Function - Cloudwithease
May 23, 2024 - It allows developers to write and ... sources. With Cloud Functions, you can build and run code without provisioning or managing servers, paying only for the resources consumed during function execution....
🌐
OneUptime
oneuptime.com › home › blog › how to compare cloud run jobs vs cloud functions vs cloud scheduler
How to Compare Cloud Run Jobs vs Cloud Functions vs Cloud Scheduler
February 17, 2026 - Start with Cloud Functions for simplicity. Move to Cloud Run Jobs when you outgrow them - either because of time limits, container requirements, or parallelism needs. Cloud Scheduler is almost always part of the picture for any scheduled workload.
🌐
Datatonic
datatonic.com › insights › cloud-functions-cloud-run-model-serving
MLOps Tools Part 3: Cloud Functions vs. Cloud Run for Model Serving | Datatonic
Functions are quick to deploy and easy to update, and allow easy configuration for ingress, egress and authentication. Cloud Run requires much more engineering knowledge: users need to be familiar with the concepts of containers, and an ...