AWS Announces Lambda Web Functions for Serverless HTTP Applications
AWS Lambda Web Functions is a new serverless compute primitive that runs HTTP frameworks natively, delivering fast, consistent responses through multi-concurrent execution and automated global distribution. The service supports standard port-listening servers built with Express, Hono, Fastify, Next.js, or any Node.js framework, allowing deployment with a single command. Lambda automatically handles scaling, multi-region distribution, and active CPU billing, eliminating the need for adapters, infrastructure management, or framework lock-in. This launch expands Lambda to three distinct form factors, each built on Firecracker isolation technology and designed for different programming models.
Lambda Web Functions employs an HTTP-native programming model with multi-concurrent execution and active CPU billing, making it ideal for web applications, API backends, and interactive HTTP workloads where multiple concurrent requests and I/O-heavy processing are the norm. Each execution environment handles up to 128 concurrent requests simultaneously, allowing traffic bursts to share warm environments rather than spawning a new environment per request. CPU time is metered only when code executes, so waiting on database queries or API calls consumes minimal resources. Memory is metered for the duration the execution environment exists, offering cost advantages for I/O-heavy workloads such as server-side rendering, API backends, and AI inference endpoints streaming token responses.
To deploy a Web Function, developers can use the AWS Command Line Interface with a single command, which bundles source code, creates the function, publishes its first revision, attaches an endpoint, and returns a live HTTPS URL in under a minute. A revision represents an immutable snapshot of deployed code, while the endpoint is the HTTPS URL routing traffic to a revision or splitting traffic across revisions. The AWS CLI detected existing functions on subsequent deployments, uploaded new revisions, and pointed endpoints at them, achieving total turnaround from code change to live in seconds. Traffic shifting between revisions is supported via a single API call for canary deployments, sending a configurable percentage of traffic to new code without additional tooling.
Lambda Web Functions integrates with Amazon CloudFront for applications combining static and dynamic content. A Web Function endpoint can be selected as the origin for a CloudFront distribution, serving static assets from cache while routing dynamic requests to the function. The launch also enables attaching CloudFront origin access control (OAC) to a Web Function endpoint, allowing CloudFront to sign requests and restricting invocation to the distribution only. This provides the same private-origin pattern CloudFront offers for Amazon S3 without exposing the endpoint or adding custom authorization to the application.
Lambda Web Functions is available today in US East (N. Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Tokyo), and Europe (Ireland). Web Functions run Node.js 24 (nodejs24.x) on Arm64 at launch and support Amazon Virtual Private Cloud (VPC) connectivity, allowing functions to access resources within a VPC. To get started, users can deploy their first Web Function in under a minute using the AWS CLI command "aws lambda-web deploy --name hello-world --code .". Pricing details are available on the AWS Lambda pricing page, and further documentation can be found in the Lambda Web Functions documentation.
The three Lambda form factors complement each other within the same AWS account: an application might use Event Functions for asynchronous backend processing, Web Functions for the user-facing API and server-side rendering layer, and MicroVMs for interactive code execution features. This unified operational model allows developers to select the appropriate programming model for each workload component. AWS Lambda Web Functions removes the complexity of assembling multiple infrastructure components, configuring multi-region deployments, setting up latency-based routing, and tuning billing models, giving developers freedom to use standard frameworks and iterate quickly while serving global audiences with fast, consistent response times.
Source credits
By Micah Walter from AWS News Blog. Edited by SetuGeo.