Up to 128 concurrent requests in the same execution environment, and a bill that meters CPU instead of wall-clock time: AWS Lambda Web Functions breaks two rules that have defined Lambda from day one. It's a third way to run code on Lambda, built for ordinary HTTP applications: you start a server that listens on a port, with Express, Hono, Fastify, Next.js or any Node.js framework, without rewriting it as an event handler and without adapters.
What changes
Classic event functions handle one request per environment and bill wall-clock time. Web Functions change that model:
| Event functions | Web Functions | |
|---|---|---|
| Concurrency per environment | 1 request | Up to 128 requests |
| Billing | Wall-clock time | CPU time (plus memory while the environment exists) |
| Code | Event handler | HTTP server listening on a port |
| Runtime | Several | Node.js 24 only (nodejs24.x) on Arm64 |
The contract is simple: Lambda sets AWS_LAMBDA_HTTP_ENDPOINT to the host:port your server must listen on (locally, you set it yourself). Isolation is still Firecracker, as with event functions and MicroVMs. Initial availability: N. Virginia, Ohio, Oregon, Tokyo and Ireland.
Impact on cost and operations
With one request per environment you pay for the time your code waits on a database or an external API. With 128 requests per environment and CPU billing, I/O wait barely counts, so I/O-bound services can end up cheaper and with fewer cold starts. The announcement gives no figures and points to the Lambda pricing page, which is where you need to run the numbers with your real traffic.
The flip side is that you get the problems of a traditional server back. Module-level state is now shared across requests, connection pools must be sized for 128 simultaneous clients, a memory leak hits many requests at once and CPU is shared. Any global variable that was "yours" in an event function no longer is.
How to deploy it
One CLI command creates the function, publishes a revision and returns an HTTPS URL:
aws lambda-web deploy --name my-api --code ./dist
# several regions behind one global URL (latency routing, best-effort)
aws lambda-web deploy --name my-api --code ./dist --regions us-east-1,eu-west-1,ap-northeast-1For canaries there's aws lambda-web update-web-function-endpoint with --revision-weights (the announcement's example splits 90/10) and --auto-deployment-mode Disabled. The endpoint can be a CloudFront origin with origin access control, so it only accepts requests from your distribution, and VPC is supported.
A sensible adoption order:
- Start with a low-risk, I/O-heavy service, not your critical path.
- Audit module-level mutable state and size pools for real concurrency.
- Put CloudFront with OAC in front from day one, so the endpoint isn't left open.
- Roll out with revision weights (90/10) and watch p99 latency, errors and CPU before raising the weight.
Gotchas and limits
For now there's only Node.js 24 on Arm64, five regions and multi-region routing that AWS describes as "best-effort". The announcement doesn't list other quotas, so treat it as a young service: useful for APIs that spend most of their time waiting on I/O, not yet a drop-in replacement for a deployment that already works.