Level 2: Build
Purpose
Build real applications using serverless. Create REST APIs, database-backed functions, and event-driven workflows on AWS and Google Cloud.
Who It's For
- Developers who completed Level 1
- Full-stack engineers building serverless systems
- Prerequisites: Completed Level 1: Foundations
What You Will Build
- Complete REST APIs (GET, POST, PUT, DELETE)
- Database-backed functions (AWS & GCP)
- Event-driven workflows
- Infrastructure as Code
- Mini project: Serverless API on both clouds
Lesson Agenda
- REST APIs — API Gateway (AWS) vs. Cloud Run (GCP)
- Data Storage — DynamoDB vs. Firestore comparison
- Event Sources & Triggers — S3, Pub/Sub, Cloud Tasks
- Service Integration — SNS/SQS vs. Pub/Sub patterns
- Infrastructure as Code — SAM vs. Terraform/Deployment Manager
- Authentication — Lambda Authorizer vs. Cloud IAM
- Deployment — GitHub Actions for both clouds
AWS ↔ GCP Service Map
| Layer | AWS | Google Cloud |
|---|---|---|
| HTTP API | API Gateway | Cloud Run / Cloud API Gateway |
| NoSQL Database | DynamoDB | Firestore (Native Mode) |
| Object Storage | S3 | Cloud Storage |
| Event Bus | EventBridge | Cloud Events / Pub/Sub |
| Task Queue | SQS | Cloud Tasks |
| Pub/Sub | SNS | Cloud Pub/Sub |
| IaC Tool | SAM / CloudFormation | Deployment Manager / Terraform |
| CI/CD | CodePipeline / GitHub Actions | Cloud Build / GitHub Actions |
| Secrets | Secrets Manager | Secret Manager |
| API Auth | Lambda Authorizer + API Keys | Cloud Identity / Service Accounts |
Duration: 2–3 weeks
Time per lesson: 30–45 minutes
Project: Build Serverless API on AWS & GCP
Next level: Ready for Level 3: Operate — Monitoring and troubleshooting
Project (Cloud-Agnostic)
Design a simple CRUD API with an event-driven side effect (e.g., send a notification after create).
Deliverables:
- Describe the vendor-neutral architecture (API, compute, data, events, observability).
- Map each component to AWS or GCP services.
- Explain why those services fit the workload.
If you want feedback, email your write-up to [email protected].
References
- AWS Lambda Developer Guide: https://docs.aws.amazon.com/lambda/latest/dg/welcome.html
- AWS API Gateway: https://docs.aws.amazon.com/apigateway/
- AWS DynamoDB: https://docs.aws.amazon.com/amazondynamodb/
- Google Cloud Functions: https://docs.cloud.google.com/functions/docs
- Google Cloud API Gateway: https://cloud.google.com/api-gateway/docs
- Google Cloud Firestore: https://cloud.google.com/firestore/docs