Serverless application backends
Trigger your code from GCP services or call it directly from any web, mobile, or backend application. Cloud Functions provides a connective layer of logic that lets you integrate and extend GCP and third-party services, making it possible to rapidly build serverless applications that are highly available, secure, and cost-effective.
Integration with third-party services and APIs
Use Cloud Functions to surface your own microservices via HTTP APIs or integrate with third-party services that offer webhook integrations to quickly extend your application with powerful capabilities such as sending a confirmation email after a successful Stripe payment or responding to Twilio text message events.
Example: post a comment on Slack channel in response to a GitHub commit
Meetup uses Google Cloud Functions to integrate Jira-based task management system with Slack channels as a part of its development collaboration platform.
Implement custom Slack Slash command, interact with users
Deploy a Cloud Function stored on GitHub when a commit is pushed
Connect to aws
Integrate Amazon SNS and Google Cloud Pub/Sub
Third-party integration via webhooks, loading data into Google BigQuery
Serverless mobile backends
Use Cloud Functions directly from Firebase to extend your application functionality without spinning up a server. Run your code code in response to user actions, analytics, and authentication events to keep your users engaged with event-based notifications and offload CPU- and networking-intensive tasks to GCP.
Example: send notifications about new followers
HomeAway uses Google Cloud Functions with Cloud Firestore for rapid prototyping and building mobile application backends without complex server-side logic.
Getting started with Cloud Functions for Firebase
Collection of samples showcasing typical uses of Cloud Functions for Firebase
Learn how to use the Firebase SDK for Google Cloud Functions
Authenticate using LinkedIn sign-in on Firebase
Serverless IoT backends
Use Cloud Functions with Cloud IoT Core and other fully-managed services to build backends for Internet of Things (IoT) device telemetry data collection, real-time processing and analysis. Cloud Functions allows you to apply custom logic to each event as it arrives.
Example: update device configuration
Smart Parking uses Google Cloud Functions to process telemetry data from its smart city platform.
Overview of IoT solution building blocks on Google Cloud Platform
Cloud iot core
Google Cloud IoT Core technical deep dive presented at GDD Europe 2017
Build a weather station using Cloud IoT Core, Cloud Functions, and Firebase
IoT developer prototyping kits for connecting to GCP through Cloud IoT Core