AWS
AWS Lambda
Runs code in response to events or HTTP, billed per millisecond, with no servers to manage.
Pros
- Huge number of native event sources
- SnapStart and provisioned concurrency for cold starts
Cons
- 15-minute maximum runtime
- Cold starts and per-account concurrency limits
Google Cloud
Cloud Run functions
Event-driven functions, formerly Cloud Functions, deployed onto Cloud Run's container platform.
Pros
- One instance can serve many concurrent requests
- Easy step up to full Cloud Run when you outgrow it
Cons
- Fewer native triggers than Lambda (most go via Eventarc)
- Renames make older docs confusing
Azure
Azure Functions
Event-driven functions with triggers and bindings; plans range from Flex Consumption to dedicated.
Pros
- Bindings wire inputs/outputs with little code
- Durable Functions for stateful workflows
Cons
- Choosing a hosting plan is confusing
- Cold starts on consumption plans
Good to know: Google renamed Cloud Functions to Cloud Run functions in 2024: they now run on Cloud Run under the hood.