Editorial illustration of a web server application distributing workloads across serverless compute nodes
AI-generated editorial illustration by Bex News.

Amazon Web Services has introduced Lambda Web Functions, a new serverless option that runs standard Node.js HTTP applications without requiring developers to convert them into event handlers or add a framework-specific adapter.

Applications built with frameworks such as Express, Hono, Fastify and Next.js can listen on a port and be deployed through the AWS command line. AWS says the service handles scaling, HTTPS endpoints and optional multi-region distribution.

A third Lambda execution model

AWS now separates Lambda into three forms. Event Functions retain the familiar single-concurrent, event-driven handler model. Web Functions use an HTTP-native model with multiple concurrent requests in one environment. Lambda MicroVMs provide customer-managed, stateful sandboxes for isolated code execution.

Web Functions are intended for API backends, server-side rendering and other interactive HTTP workloads. AWS says each execution environment can process as many as 128 requests concurrently, allowing bursts of traffic to share warm capacity.

The billing model also differs from traditional Lambda execution. CPU time is metered while application code is actively using the processor, while memory remains metered for the lifetime of the environment. AWS argues that this can reduce compute costs for I/O-heavy applications that spend significant time waiting for databases, external APIs or streamed responses.

Deployment and traffic controls

The AWS CLI can package an application, create the Web Function, publish an immutable revision and attach an HTTPS endpoint through a single deployment command. The runtime provides an environment variable containing the host and port on which the application must listen.

Developers can deploy revisions to several AWS regions and use one global URL. Requests are routed to a nearby region on a best-effort basis. Endpoints can point to one revision or divide traffic among revisions, giving teams a mechanism for staged rollouts.

AWS says Web Functions use the same Firecracker isolation technology as its other Lambda execution models. The product removes several pieces of infrastructure work, but developers still need to assess cold-start behavior, database connection limits, regional dependencies and the combined cost of memory, CPU and data transfer.

What changes for serverless development

The main shift is compatibility with the way many web applications already run. Instead of reshaping an HTTP server into an event contract, teams can use a familiar port-listening process and standard framework behavior.

That may lower the migration barrier for smaller APIs and full-stack applications, although it does not make every long-running server workload a natural serverless candidate. Applications that depend on persistent local state, specialized networking or predictable reserved capacity may still fit containers or virtual machines better.


Source: AWS: Announcing AWS Lambda Web Functions.

Featured image: AI-generated editorial illustration by Bex News.

Leave a Reply

Your email address will not be published. Required fields are marked *

You May Also Like

Google Cloud makes Confidential G4 GPUs generally available for protected AI workloads

Google Cloud has moved Confidential G4 GPU instances into general availability, adding hardware-backed protection for sensitive AI data and models during processing.

Google Cloud unveils Agent Compute Engine for autonomous AI workloads

Google Cloud’s Agent Compute Engine will give autonomous agents isolated microVM environments, while expanded governance spans cloud, hybrid and endpoint runtimes.

AWS plans EU sovereign cloud independence exercise for October 24

AWS says its European Sovereign Cloud will disconnect from the company’s global private backbone for several hours in a planned resilience exercise.

Apple launches volume subscription purchases as iOS 27 bundles near

Apple has enabled multiseat subscription purchasing in App Store Connect while preparing Bundles and Suites across its operating systems.