AWS Lambda Now Supports GPU Instances for Event Functions on LMI
AWS Lambda now supports GPU instances for Event Functions on Lambda Managed Instances, allowing the use of EC2 G-series GPU instances with NVIDIA T4, A10G, L4, and other GPU configurations.
GPU Instance Support for Event Functions on Lambda Managed Instances
AWS Lambda now supports GPU instances for Event Functions on Lambda Managed Instances (LMI), according to AWS. This update allows Event Functions to leverage EC2 G-series GPU instances, including G4dn, G5, G6, G6f, Gr6, Gr6f, and G6e, with additional families expected in the future. These instances run on the same LMI foundation, providing Amazon EC2 pricing and specialized compute without requiring server management. The announcement was made on November 18, 2026, and includes support for various GPU configurations, such as NVIDIA T4, A10G, L4, L40S, and fractional L4 GPUs. The available sizes depend on the instance family, with options ranging from xlarge to 48xlarge for some families. This development expands the capabilities of AWS Lambda for workloads requiring GPU acceleration.
Function Deployment and Execution with GPU Acceleration
AWS Lambda now supports GPU instances for Event Functions on Lambda Managed Instances, enabling developers to deploy and execute functions with GPU acceleration. To deploy a function, users can build a container image from a Lambda GPU base image or a custom image, then specify the required GPU memory using the AcceleratorConfig. Functions run from a published version, ensuring consistency and reliability in execution. For example, using the vLLM base image, developers can set the Hugging Face model ID in the MODEL_ID environment variable and avoid writing inference code manually. These functions can be triggered from Amazon SQS, integrated with Amazon API Gateway, or used as an inference step in a Lambda durable functions workflow. This advancement expands the capabilities of Lambda Event Functions, allowing for more complex and performance-intensive workloads.
Pricing and Cost Management for GPU-Accelerated Functions
AWS Lambda now supports GPU instances for Event Functions on Lambda Managed Instances, introducing new pricing and cost management considerations. Customers pay the underlying EC2 instance fee, which is eligible for Savings Plans and Reserved Instances, plus a 9.75% management fee for GPU instances, and the standard Lambda request fee of $0.20 per million requests (AWS News). This pricing structure applies consistently across multiple sources, including documentation and customer billing statements (news.lavx.hu). The bill covers On-Demand EC2 rates for each instance, with Savings Plans and Reserved Instances applicable, plus the 9.75% Lambda management fee (vinish.dev). These fees are important for cost planning, especially when deploying GPU-accelerated functions that require high computational power.
Integration with Event Sources and Scaling Policies
AWS Lambda now supports GPU instances for Event Functions on Lambda Managed Instances, enabling direct integration with over 200 event sources such as Amazon S3, Amazon SQS, Amazon API Gateway, and Amazon EventBridge, according to AWS (vinish.dev). These GPU-accelerated functions operate with the same scaling, error handling, and retry mechanisms as non-GPU functions (AWS News). However, compatibility with capacity providers is limited to those that support the function's architecture, such as m7i.large, and must include accelerator instance types (dev.classmethod.jp).Monitoring capabilities include GPU metrics at both the capacity provider and execution environment levels, such as GPUUtilization and GPUAllocated, as reported in the CloudWatch AWS/Lambda namespace (dev.classmethod.jp). Initial testing showed minimal GPU utilization during short tasks, such as matrix multiplication, which completed in under a second (dev.classmethod.jp). Whether scaling occurs based on rising GPU utilization remains unconfirmed due to quota limitations (dev.classmethod.jp).
Limitations and Constraints in GPU Instance Usage
While AWS Lambda now supports GPU instances for Event Functions on Lambda Managed Instances, there are notable limitations and constraints. As noted in the documentation, AcceleratorConfig can only be used with Lambda Managed Instances functions that use container images, and not with Zip package-based functions. Additionally, the availability of specific instance types may vary by Region or AZ, even among supported families. For example, at the time of this writing, only general purpose (M family), compute optimized (C family), and memory optimized (R family) instances were available in Lambda Managed Instances. Furthermore, when using GPU resources, the AcceleratorMemorySize is evaluated as 'memory per GPU,' which may lead to errors if insufficient GPU memory is allocated. These constraints highlight the importance of carefully reviewing the documentation and ensuring compatibility with container image-based functions when utilizing GPU resources on Lambda Managed Instances.
Sources and reporting notes
Based on published source material. No independent hands-on testing is claimed.