Last updated on February 27, 2026
Google Cloud Run Functions Cheat Sheet
- A pay-as-you-go function as a service (FaaS) to run your code with zero server management.
Features
- There is no need to provision, manage, or upgrade servers.
- Cloud Run Functions can be written using:
- Node.js
- Python 3
- Go
- Java
- Automatically scales based on load without thinking about the infrastructure.
- Built-in security at role and per function level based on the least privilege principle.
- Allows you to trigger your code from Google Cloud, Firebase, and Google Assistant or call it directly from any web, mobile, or backend application via HTTP.
- To act on events, you shall define a trigger. Binding a function to a trigger enables you to act on events. The most common triggers are:
- Google Cloud StorageÂ
- Supported HTTP request types like: POST, PUT, GET, DELETE, and OPTIONS.
- Pub/Sub
- All customers get 2 million invocations, 400,000 GB-seconds, and 200,000 GHz-seconds of compute time free per month.
- Use open-source FaaS framework to run functions across multiple environments (Cloud Run, local, on-premises, other Knative-based platforms) to prevent vendor lock-in.
- Integrated monitoring with Cloud Trace, Cloud Monitoring, and Cloud Logging for full diagnosability.
- Respond to events from: Cloud Firestore, Cloud IoT Core, Dialogflow, and third-party webhooks (Stripe, Twilio).
Use Cases
- Integration with third-party services: Send confirmation emails after Stripe payments or respond to Twilio text messages.
- Serverless mobile backends: Extend Firebase apps with event-driven notifications.
- Serverless IoT backends: Process IoT device telemetry data in real-time.
- Real-time file processing: Generate thumbnails, transcode videos, validate content upon upload to Cloud Storage.
- Real-time stream processing: Enrich streaming data from Pub/Sub for analytics.
- Virtual assistants: Build conversational experiences with Dialogflow and Cloud Speech API.
- Video and image analysis: Use Vision API and Video Intelligence API to derive insights from media.
- Sentiment analysis: Combine with Natural Language API to analyze text.
Pricing
- Priced based on:
- Invocation count (2 million free per month)
- Compute time (400,000 GB-seconds free per month)
- CPU time (200,000 GHz-seconds free per month)
- Outbound data transfer (5 GiB free per month)
- Billed in 100-millisecond increments. No charges when function is idle.
- Outbound data to Google APIs in same region and inbound data transfer are always free.
Google Cloud Run Functions Cheat Sheet References:
https://cloud.google.com/functions
https://cloud.google.com/functions/docs/concepts/overview












