AWS Lambda adds GPUs, and 48 requests use one AI model
A test had 48 requests at the same time on one GPU server. All 417 requests gave a correct result.
Amazon Web Services added GPU support to Lambda Managed Instances. With this, a function operates on EC2 servers that the customer has. Teams can operate AI models on EC2 G-series GPU servers, in container images. A maximum of 48 requests in one environment use one copy of the model in GPU memory. The EC2 rate and a fee of 9.75 percent apply.
How it works
A team gives the server types for use and a limit on vCPUs. The function gives its GPU memory in a new configuration field. AWS gives 5 GPU images, with PyTorch and vLLM, an inference server. A change of model is a change of configuration.
The numbers
An AWS Community Builder, who writes as xbill, did a test of the small Gemma 4 E2B model on one g6.2xlarge server. All 417 requests were correct. The speed was about 130 tokens each second for one request and 3,400 to 3,600 for 48 requests.
What is not known
A new account has a GPU quota of zero. Terraform, a cloud tool, did not know the new field on the first day. Managed Instances hold only Event Functions. AWS did not tell if Web Functions can use GPUs.
Insight: The charge matches an always-on server
On 19 November, AWS also increased the Lambda time limit to 30 minutes for AI work. AWS does not charge for the time of a request. An instance has a charge while the minimum environment count is more than zero. AWS maybe wants AI work in Lambda, but the charge is the same as for a server that is always on. Compare it with an EC2 GPU server.
Sources
Posted