Respond to Events with Google Cloud Run Functions
Description
Cloud Run functions provide an event-driven serverless compute platform in Google's Cloud. Some of the benefits of using Cloud Run functions are:
-
No server management
- Pay only what you use pricing model
- Autoscaling
- Event-driven triggers
This lab teaches you how to use Cloud Run functions. Along the way, the lab introduces you to all the key concepts and trade-offs you need to understand to work effectively with Cloud Run functions. The lab is performed using the Console web browser interface to Google Cloud.
Lab Objectives
Upon completion of this beginner-level lab, you will be able to:
- Understand key concepts in Cloud Run functions including functions, and triggers
- Deploying an HTTP Cloud Run function from the Console
- Deploying a Cloud Run function that receives Google Cloud events (e.g., Cloud Pub/Sub events, Cloud Storage object change notification events).
Lab Prerequisites
This lab has no prerequisites.
Updates
March 14th, 2025 - Adapted the lab to Cloud Run functions, formerly Cloud Functions
July 30th, 2024 - Updated the instructions and screenshots to reflect the latest UI
August 29th, 2023 - Updated the instructions and screenshots to reflect the latest UI
July 25th, 2023 - Addressed user ban issue and added warning
May 1st, 2023 - Updated the instructions and screenshots to reflect the latest UI
September 2nd, 2021 - Improved function creation screenshot to emphasize the selection of the Allow unauthenticated invocations option
February 14th, 2021 - Updated screenshots to match the latest console experience
May 21st, 2019 - Added a validation Lab Step to check the work you perform in the lab