Google Cloud
Cloud Run functions (Cloud Functions)
Google Cloud serverless service for running functions in response to events (HTTP requests, Pub/Sub messages or Cloud Storage changes) without managing servers and paying only for execution time. Since 2024 it is called Cloud Run functions; it was formerly Cloud Functions.
On the exam
In Cloud Digital Leader it is the example of event-driven serverless compute. It differs from Cloud Run in that you deploy only a function's code, not a full container. It is the equivalent of AWS Lambda and Azure Functions. Question: run code when a file is uploaded to Cloud Storage without managing infrastructure → Cloud Run functions.
Related terms
- Cloud RunGoogle Cloud's serverless platform for running containers in response to HTTP requests or events. There's no infrastructure to manage; it automatically scales to zero when there's no traffic.
- Cloud Pub/SubGoogle Cloud's asynchronous messaging service for decoupling systems at scale. Producers publish messages to topics and consumers receive them via subscriptions. Guarantees at-least-once delivery.
- AWS LambdaAWS's serverless compute service that runs code in response to events without managing servers. It scales automatically from 0 to thousands of concurrent executions. You pay only for execution time.
- Azure FunctionsA serverless compute service that runs code in response to events (HTTP, queues, timers, storage changes) without managing infrastructure. You pay only for execution.