亚马逊网络服务(AWS)宣布推出Lambda Web Functions,这是一项新的Lambda服务形式,使开发者能够在Lambda上直接运行标准HTTP Web应用,无需改写代码1。该功能支持Express、Hono、Fastify、Next.js等多种Node.js框架,开发者可通过单条命令(aws lambda-web deploy --name my-web-app --code ./my-app)完成部署,而无需提前配置基础设施资源1。
Lambda Web Functions自动处理应用扩展、跨区域分布及活跃CPU计费管理1。每个执行环境最多可支持128个并发请求1,计费采用按活跃CPU时间模式,输入输出等待期间的CPU消耗极少1。开发者可通过单命令在多个地区部署应用(如--regions us-east-1,eu-west-1,ap-northeast-1),系统自动配置基于延迟的路由策略1。该服务还支持修订版本间的流量分配功能,用于实现金丝雀部署,例如按90%/10%等比例分配流量1。
目前该功能运行环境为Node.js 24(nodejs24.x),基于Arm64架构1,已在美国东部(弗吉尼亚州)、美国东部(俄亥俄州)、美国西部(俄勒冈州)、亚太地区(东京)及欧洲(爱尔兰)共5个主要地区提供服务1。
Amazon Web Services has announced the launch of Lambda Web Functions, a new capability that allows developers to deploy standard HTTP web applications on Lambda without rewriting code 1. The service supports popular Node.js frameworks including Express, Hono, Fastify, and Next.js, eliminating the need for framework-specific adapters 1. Developers can deploy applications with a single command—aws lambda-web deploy --name my-web-app --code ./my-app—without requiring pre-configured resources 1.
The platform automatically manages key infrastructure concerns, including scaling, multi-region distribution, and billing based on active CPU time rather than total execution duration 1. Each execution environment can handle up to 128 concurrent requests 1. Lambda Web Functions are currently available in five regions: US East (N. Virginia), US East (Ohio), US West (Oregon), Asia Pacific (Tokyo), and Europe (Ireland) 1.
The service supports advanced deployment strategies through traffic distribution capabilities between application revisions, enabling canary deployments with configurable traffic splits such as 90/10 ratios 1. Multi-region deployment can be configured with a single command specifying target regions, with automatic latency-based routing configured by the platform 1. Applications run on Node.js 24 (nodejs24.x) on Arm64 architecture 1.
评论
还没有评论,欢迎留下第一条。