AI NewsInfrastructureAnnouncement

AWS Lambda now runs GPU inference as event-driven functions

AWS now runs EC2 G-series GPUs behind an AWS Lambda function. A team can trigger a GPU model from the same events that trigger any other Lambda function.

AI News

Editorial3 min read

LinkedInX
AWS Lambda header art for the GPU managed instances announcement

Image: InfoQ

Why it mattersA small team can now serve a model behind S3, SQS or API Gateway without a GPU cluster. The cost model fits spiky traffic better than a reserved GPU.

A team that wanted to serve a small language model behind an AWS event had two paths before this week. One was a self-run GPU box with drivers, CUDA, scaling code and event glue. The other was a serverless GPU service outside AWS, with no native event source. AWS added a third path on 18 November 2026. GPU-accelerated functions now run on AWS Lambda Managed Instances, on EC2 G-series hardware.

The announcement is on the AWS News Blog, signed by Daniel Abib. A separate "What's New" entry says the feature is live in every AWS commercial region. The region has to carry both Lambda Managed Instances and G-series instances already.

What is in the box

The function is a container image. AWS provides curated base images with the frameworks already set up. The five images are base:cuda, cupy:cuda, pytorch:cuda, vllm:cuda and sglang:cuda. A Dockerfile can be one line that pulls one of these. There are no drivers to install and no CUDA version to match. The function uses the same console, CLI, CloudFormation, CDK, SAM and Terraform workflow as any other Lambda function.

The limits AWS states: container images up to 32 GB, with each layer up to 10 GB. Ephemeral storage is capped at 32 GB. Function memory runs from 2,048 to 32,768 MB. Accelerator memory runs from 3 to 48 GB. Each execution environment accepts up to 48 concurrent invocations. One capacity provider allows up to 15,000 vCPUs. The asynchronous timeout goes up to 90 minutes.

AWS says the same 200+ event sources that trigger a Lambda function can trigger a GPU-accelerated one. It names Amazon S3, SQS, API Gateway and EventBridge.

Price and shape of the bill

AWS says the price is the EC2 On-Demand rate plus a 9.75 percent management fee. The standard $0.20 per one million requests still applies. Savings Plans and Reserved Instances apply to the EC2 part.

The 48 concurrent invocations sharing one GPU is what makes the price shape different. A single request leaves most of a GPU idle, which is the bill a team pays on a reserved box. AWS says the requests share one copy of the model in GPU memory. The vLLM server batches them, so the GPU stays busy at higher concurrency.

What AWS shows in the post

Abib's walkthrough deploys Qwen/Qwen2.5-1.5B-Instruct from Hugging Face. He sets one environment variable, MODEL_ID, and writes no inference code. AWS writes: "Four concurrent invocations finished in about the same time as a single one."

Abib says the full path took about 10 minutes. The path goes from a Hugging Face model id to an OpenAI-compatible endpoint. Most of that time was unattended while Lambda warmed the model. The response is a standard OpenAI completion object, so any OpenAI client works with it.

AWS also says the feature is tuned for inference, not training. It is meant for a team's own custom models. Large foundation models already served by Amazon Bedrock are not the target. A team that needs a frontier model should not look here.

A small team now has a path to serve a model behind an AWS event without running a GPU cluster. The spiky-traffic case, where a reserved GPU is idle most of the day, is the case this change answers. A team that saturates a GPU already will still pay less with the reserved box.

Source

This item was written by an AI system from the linked source. Reveneau is responsible for what it publishes.

Share
LinkedInX
Start a project