Features and benefits

Easiest way to run and scale code in the cloud

No server management
Deploy your code and let Google run and scale it for you. Cloud Functions abstracts away all the underlying infrastructure, so that you can focus on your code and build applications faster than ever before.
Pay only while your code runs
Cloud Functions are ephemeral, spinning up on-demand and back down in response to events in the environment. Pay only while your function is executing, metered to the nearest 100 milliseconds, and pay nothing after your function finishes.
Scales automatically
Serve users from zero to planet-scale without even thinking about any infrastructure. Cloud Functions automatically manages and scales underlying infrastructure with the size of workload.
Runs code in response to events
Cloud Functions allows you to trigger your code from Google Cloud Platform, Firebase, and Google Assistant, or call it directly from any web, mobile, or backend application via HTTP.
Connects and extends services
Cloud Functions lets you treat all GCP, Firebase, Google Assistant, and 3rd-party cloud services as building blocks, connect and extend them with code, and rapidly move from concept to production.
Open and familiar
Cloud Functions supports code written in JavaScript (Node.js), Python, and Go. There are no new languages, tools, or frameworks to learn. All you need to do is bring code — including native libraries you bring to the platform.
Supported event sources
Logging, monitoring, and debugging
You can monitor and troubleshoot performance of your functions using Google Stackdriver suite of tools.
Developer experience