Cloud Academy

Respond to Events with Google Cloud Functions

Lab Steps

Signing In to Google Cloud Console
Creating a new HTTP Google Cloud Function in the Console
Testing a Google Cloud Function
Creating a new Google Cloud Function with a Cloud Storage Trigger
Testing a Google Cloud Function with Cloud Storage

The hands-on lab is part of these learning paths

Google Associate Cloud Engineer Exam Preparation
course-steps 10 certification 1 lab-steps 8
Google Cloud Platform for Developers
course-steps 2 certification 1 lab-steps 2 quiz-steps 2

Ready for the real environment experience?

Time Limit40m
star star star star star-half


Cloud Functions provide an event-driven serverless compute platform in Google's Cloud. Some of the benefits of using Cloud Functions are:

  • No server management
  • Pay only what you use pricing model
  • Autoscaling
  • Event-driven triggers

This lab teaches you how to use Cloud Functions. Along the way, the lab introduces you to all of the key concepts and trade-offs that you need to understand to work effectively with Cloud Functions. The lab is performed using the Console web browser interface to Google Cloud. 

Lab Objectives

Upon completion of this lab you will be able to:

  • Understand key concepts in Cloud Function including functions, triggers
  • Deploying an HTTP Cloud Function from the Console
  • Deploying a Cloud 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.


May 21st, 2019 - Added a validation Lab Step to check the work you perform in the lab

Environment before
Environment after

About the Author

Full Stack Engineer and Hands-On Labs team member. Passionate about AWS, Google Cloud and everything about cloud technologies.