Serverless platforms run your code on demand, scale automatically and charge only for what is used, with no servers to patch. They suit APIs, webhooks, scheduled jobs and many AI-powered features. This course compares two leading approaches: AWS Lambda, which connects deeply to the rest of AWS, and Cloudflare Workers, which run at the edge close to users. You will build with both and learn which fits which job.

What you'll learn

  • What serverless means in practice, and where it is a poor fit
  • AWS Lambda fundamentals: handlers, runtimes, memory, timeouts and permissions
  • Triggering Lambda from API Gateway, function URLs, S3 events, queues and schedules
  • Cloudflare Workers: the request/response model, routes and the Wrangler CLI
  • Edge storage on Cloudflare: KV, D1, R2 and Durable Objects
  • Queues and asynchronous processing on both platforms
  • Cold starts, concurrency and performance tuning
  • Configuration, secrets and environment management
  • Local development, testing and deployment with infrastructure as code
  • Logging, tracing and keeping costs predictable

Who it's for

  • Back-end and full-stack developers building APIs and integrations
  • Teams adding webhooks, scheduled tasks or AI features without running more servers
  • Developers choosing between edge and regional serverless platforms

Prerequisites

Outcomes

By the end of this course you will be able to:

  1. Build and deploy an HTTP API on both AWS Lambda and Cloudflare Workers.
  2. Process events and background jobs reliably with queues and retries.
  3. Choose storage that fits each workload on each platform.
  4. Diagnose cold starts and performance issues, and estimate costs before launch.
  5. Decide when serverless, containers or a traditional server is the better choice.

Course outline

ModuleTopic
1Serverless concepts and trade-offs
2AWS Lambda fundamentals and IAM permissions
3HTTP APIs with API Gateway and function URLs
4Event sources: S3, queues and schedules
5Cloudflare Workers fundamentals and Wrangler
6Edge data: KV, D1, R2 and Durable Objects
7Queues, retries and idempotency
8Cold starts, concurrency and performance
9Secrets, configuration and deployment pipelines
10Observability and debugging serverless code
11Cost modelling and platform choice
12Project: a webhook-driven API on both platforms

FAQ

Which platform should I choose?

It depends on your workload. Workers suit low-latency request handling close to users; Lambda suits workloads that rely heavily on other AWS services. Many teams use both.

Can I run AI workloads serverlessly?

Yes for calling model APIs, streaming responses and processing jobs. We cover timeouts and streaming patterns that matter for AI features.

Do I need a paid plan?

Both providers offer free allowances, and the labs are kept small so they can usually run within them. We show you how to set spending alerts first.

How do I join?

Get in touch and we'll share the current format, schedule and enrolment details.