Spotted a bug? Have a great idea? Help us make google.dev great!

Cloud Functions

Event-driven serverless compute platform.

Cloud Functions are an easy way to run your code in the cloud

With Cloud Functions, there are no servers to provision, manage, patch, or update. Functions automatically scale and are highly available and fault-tolerant. Cloud Functions are great for building serverless backends, doing real-time data processing, and creating intelligent apps.

Quickstart using the GCP Console

Learn the fundamentals of Cloud Functions using the GCP Console.

Quickstart using Node.js

Create and deploy a simple single-purpose Cloud Function written in Node.js that is triggered by an HTTP request.

Quickstart guide using Go

Create and deploy a simple single-purpose Cloud Function written in Go that is triggered by an HTTP request.

Codelabs and Qwiklabs

Codelab

Getting started with Cloud Functions

  • Updated July 5, 2019

With Cloud Functions, you write simple, single-purpose functions that are attached to events emitted from your cloud infrastructure and services. Your Cloud Function is triggered when an event being watched is fired. Your code executes in a fully managed environment. There is no need to provision any infrastructure or worry about managing any servers.

Codelab

HTTP Google Cloud Functions in Go

  • Updated May 7, 2019

Go is an open source programming language that makes it easy to build simple, reliable, and efficient software. Cloud Functions is an event-driven serverless compute platform. Cloud Functions allows you to write your code without worrying about provisioning resources or scaling to handle changing requirements.

Codelab

Cloud Functions logging and tracing codelab

  • Updated January 4, 2019

The goal of this codelab is for you to understand how to use the logging and monitoring tools offered to all Cloud Function developers. These tools come with every Cloud Function that you deploy across all supported languages and should enable you to be more productive when writing and operating your serverless code.

Qwiklabs

Cloud Functions Qwik Start - Console

Google Cloud Functions is a serverless execution environment for building and connecting cloud services. With Cloud Functions you write simple, single-purpose functions that are attached to events emitted from your cloud infrastructure and services.

News feed

Get the latest news and articles about Cloud Functions.

Videos

Never miss a Cloud Functions video.

Experts and influencers

Meet our Developer Advocate Cloud Functions experts