Node.js 24 runtime now available in AWS Lambda
Compute Blog
This article announces the general availability of Node.js 24 runtime in AWS Lambda, featuring a new TypeScript-based Runtime Interface Client and significant changes to handler patterns.
- Node.js 24 is in active LTS status, supported until April 2028
- Callback-based function handlers are no longer supported; use async/await instead
- Synchronous handlers and response streaming remain supported
- Lambda no longer waits for unresolved promises after handler returns
- Experimental Node.js features disabled by default for stability
- ES modules now supported in CloudFormation inline functions
- Undici 7 HTTP client improves performance and protocol capabilities
- Explicit Resource Management syntax enables deterministic resource cleanup
- AsyncLocalStorage uses AsyncContextFrame for better async context propagation
- Deploy via AWS Console, CLI, SAM, CDK, or container images
- AWS SDK v3 included; v2 no longer bundled since Node.js 18
- Amazon Linux 2023 base uses dnf instead of yum package manager
Node.js 24 modernizes Lambda's JavaScript runtime with improved async patterns, better resource management, and enhanced performance for serverless applications.
The AWS News Feed is currently looking for gold sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.
The AWS News Feed is currently looking for silver sponsors. If you want to support the AWS community and reach a large audience of AWS professionals, consider sponsoring the AWS News Feed.