Skip to content
samebut

AWS Lambda vs Cloud Run functions vs Azure Functions

Serverless functions across the three big clouds: what each one is called, what it does, and where it’s strong or weak.

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.

Quick answers

What is the Google Cloud equivalent of AWS Lambda?
The closest Google Cloud equivalent of AWS Lambda is Cloud Run functions. Event-driven functions, formerly Cloud Functions, deployed onto Cloud Run's container platform.
What is the Azure equivalent of AWS Lambda?
The closest Azure equivalent of AWS Lambda is Azure Functions. Event-driven functions with triggers and bindings; plans range from Flex Consumption to dedicated.
What is the AWS equivalent of Cloud Run functions?
The closest AWS equivalent of Cloud Run functions is AWS Lambda. Runs code in response to events or HTTP, billed per millisecond, with no servers to manage.
What is the Azure equivalent of Cloud Run functions?
The closest Azure equivalent of Cloud Run functions is Azure Functions. Event-driven functions with triggers and bindings; plans range from Flex Consumption to dedicated.
What is the AWS equivalent of Azure Functions?
The closest AWS equivalent of Azure Functions is AWS Lambda. Runs code in response to events or HTTP, billed per millisecond, with no servers to manage.
What is the Google Cloud equivalent of Azure Functions?
The closest Google Cloud equivalent of Azure Functions is Cloud Run functions. Event-driven functions, formerly Cloud Functions, deployed onto Cloud Run's container platform.

More in Serverless