GCP Cloud Run & Cloud Functions: Serverless Fundamentals
Intermediate · 40 minutes · 100 points
In this hands-on lab, you will explore Google Cloud Platform's serverless compute offerings — Cloud Run and Cloud Functions — using the gcloud CLI. You will install and configure the Google Cloud SDK, simulate deploying and managing Cloud Run services and Cloud Functions, inspect configurations, and understand how serverless workloads are structured and invoked on GCP. All tasks are performed inside a Docker container with the gcloud CLI installed.
What you’ll learn
- Install and verify the Google Cloud SDK with Cloud Run and Cloud Functions components
- Scaffold and inspect a Cloud Functions function definition including trigger types and runtime configurations
- Simulate and document a Cloud Run service manifest with proper resource limits, concurrency, and environment variables
- Understand how to structure gcloud CLI commands for deploying, listing, and describing serverless workloads on GCP
How this lab works
- Start the lab: One click starts a container on your computer with a real terminal: nothing to install by hand, nothing to clean up.
- Work through 4 tasks: Each task says what to build or fix. You do it yourself, in a real terminal, with hints when you get stuck.
- Check your work: Check my work runs each task’s checks in your container and says what passed and what to fix.
- Finish and keep going: 100 points, your progress saved, and the next lab to try.
What it runs on
- Runs: A container on your computer, with a real terminal
- Image: google/cloud-sdk:latest
What you need
- A free LearnXops account
- The LearnXops desktop app for macOS, Windows or Linux
- Docker Desktop installed and running
- Basic familiarity with GCP concepts
- Understanding of serverless compute principles
Topics: gcp, cloud-run, cloud-functions, serverless, gcloud, knative, python, containers, event-driven, google-cloud
Create a free account to start this lab.