GCP for DevOps — Serverless
Serverless
GCP’s serverless platform lets you run code without managing servers. Cloud Functions for event-driven functions, Cloud Run for containerized apps, API Gateway for managed APIs, Firestore for NoSQL data, and Eventarc + Workflows for event-driven orchestration.
┌──────────────────────────────────────────────────────────┐
│ GCP Serverless Platform │
├──────────────────────────────────────────────────────────┤
│ │
│ Events Compute Data │
│ ┌──────────┐ ┌──────────────┐ ┌────────────┐ │
│ │ Eventarc ├──────►│Cloud Functions│ │ Firestore │ │
│ │ Pub/Sub │ │(event-driven) │ │ (NoSQL) │ │
│ │ HTTP │ ├──────────────┤ └────────────┘ │
│ └──────────┘ │ Cloud Run │ │
│ │(containers) │ ┌────────────┐ │
│ ┌──────────┐ └──────┬───────┘ │ Cloud SQL │ │
│ │Workflows │ │ │ (managed) │ │
│ │(orchestr)│◄─────────────┘ └────────────┘ │
│ └──────────┘ │
│ ┌──────────────┐ │
│ │ API Gateway │ │
│ │ (managed API)│ │
│ └──────────────┘ │
└──────────────────────────────────────────────────────────┘
What You Will Learn
- Write and deploy Cloud Functions (Gen 2)
- Build serverless APIs with Cloud Run
- Expose APIs via API Gateway
- Store data in Firestore
- Orchestrate events with Eventarc and Workflows
Chapter Contents
| # | Topic | Description |
|---|---|---|
| 1 | Cloud Functions | Event-driven serverless functions |
| 2 | Cloud Run Serverless | Serverless container patterns |
| 3 | API Gateway | Managed API exposure and security |
| 4 | Firestore | Serverless NoSQL database |
| 5 | Eventarc & Workflows | Event routing and orchestration |
| 6 | Practice Exercises | Hands-on serverless labs |
Start with → Cloud Functions