Infrastructure
Serverless Compute
Choose managed request or event execution by runtime compatibility, duration, concurrency, networking, state, and provider integration.
Recommendation
Choose the execution contract, not the serverless label.
Three managed compute contracts
Each route removes server management but keeps different runtime and platform constraints inside application design.
Execution routes
Choose the smallest managed execution contract that fully supports the workload.
Web APIs and Cloudflare bindings fit
Evaluate Cloudflare Workers.
The isolate model supports distributed request and event execution with a low server-operations surface.
Verify: Unsupported Node.js behavior, persistent processes, arbitrary containers, or incompatible limits should move the route.12
AWS events and IAM define the system
Evaluate AWS Lambda Functions.
AWS event sources and service integrations can make the function boundary operationally coherent.
Verify: Persistent servers, incompatible duration or quota behavior, or unmodeled adjacent AWS costs should move the route.1234
A container contract is required without Kubernetes
Evaluate Google Cloud Run.
Managed request-driven services preserve broad container compatibility while avoiding cluster operations.
Verify: Kubernetes APIs, daemon behavior, or direct node and scheduler control require another container route.125
Boundary: This Task does not choose serverless databases, long-lived background workflows, schedulers, message brokers, or Kubernetes orchestration.
Serverless surfaces are not interchangeable
Packaging, lifecycle, state, and integration differences determine whether code can run correctly and economically.
- Runtime
- Isolate APIs, function runtimes, and containers accept different dependencies and server assumptions.12
- Scaling unit
- Requests, function invocations, and container instances create different concurrency and cold-start behavior.5
Official resources
Use the primary documentation to verify runtime behavior, operating limits, service boundaries, and current commercial terms.
Sources
Official documentation supporting the routes and decision boundaries on this page.
- 1Cloudflare Workers documentation
Cloudflare · Accessed Official
- 2Cloudflare Workers limits
Cloudflare · Accessed Official
- 3AWS Lambda developer guide
Amazon Web Services · Accessed Official
- 4AWS Lambda quotas
Amazon Web Services · Accessed Official
- 5Google Cloud Run overview
Google Cloud · Accessed Official