(opens in a new window)

Google Cloud Functions

Event-Driven Functions for Cloud Apps

Google Cloud Functions Information Resource Links

Google Cloud Functions Overview

Functions
Free Plan Free Trial

Google Cloud Functions Information Resource Links

What is Google Cloud Functions?

Asking if Google offers serverless functionality, is like asking if water is wet. Of course, the behemoth has a FaaS platform. In the early days of cloud, Google was one of the pioneers in the pay-as-you-go space with their Platform as a Service, App Engine.

In 2017, Google Cloud Platform (GCP) launched their serverless execution environment Cloud Functions, which they renamed in August 2024 to Cloud Run functions.

Focus

Cloud Run functions integrates with various Google Cloud services and supports multiple programming languages. It includes automatic scaling in an event-driven architecture, where functions are triggered by events from other Google Cloud services and third-party tools.

Additionally, Cloud Run functions is fully managed and has the option to import third-party dependencies, making it a versatile choice for building serverless applications.

Two Generations of Google Cloud functions

The first generation functions is the original version with limited event triggers, configurability and does not support concurrency.

The second generation functions deploys your function as services on Cloud Run. These functions have access to all of Cloud Run’s capabilities, including:

  • Multi-event trigger management on functions
  • Mounting Cloud Storage volumes
  • Traffic splitting between multiple revisions
  • Inference functions with NVIDIA GPUs
  • Configuring CPU allocation separate from memory

Google Cloud Functions Features

Service Types

Functions
Available

Supported Runtimes

.NET Core
Available
C#
Available
Go
Available
Java
Available
JavaScript
Available
Node.js
Available
PHP
Available
Python
Available
Ruby
Available

Execution Limits and Resource Quotas

Min. Memory
128 MB
Max. Memory
8 GB / 32 GiB
Default Timeout
60 sec
Max. Timeout
9 min / 60 min
Request Payload
10 MB / 32 MB
Response Payload
10 MB / 32 MB

Google Cloud Functions Regions

An interactive map displaying Google Cloud Functions' 23 datacenter locations by region. (October 25, 2024) - Map by d3js.org

Best Google Cloud Functions Alternatives

Alternatives to Google Cloud Functions are generated by matching platform type, use cases, supported runtimes and container support.