AWS Lambda enhances capabilities with increased memory and vCPU support
AWS Lambda now offers up to 32 GB of memory and 16 vCPUs for functions on Lambda Managed Instances, enabling more compute-intensive workloads. Customers can adjust the memory-to-vCPU ratio to best fit their needs.
AWS Lambda has expanded its capabilities by offering up to 32 GB of memory and 16 virtual CPUs (vCPUs) for functions operating on Lambda Managed Instances. This enhancement allows customers to run compute-intensive tasks such as extensive data processing, media transcoding, and scientific simulations without the need to manage infrastructure. Additionally, users can now adjust the memory-to-vCPU ratio — choosing between 2:1, 4:1, or 8:1 — to align with the specific resource requirements of their workloads.
Lambda Managed Instances enable the execution of Lambda functions on managed Amazon EC2 instances, which come equipped with built-in routing, load balancing, and auto-scaling. These instances provide access to specialized compute configurations, including the latest-generation processors and high-bandwidth networking, all without the need for operational management.
Organizations developing compute-intensive applications, such as data processing pipelines, high-throughput API backends, and batch computation tasks, often demand significant memory and CPU resources to efficiently handle large data sets, deliver low-latency responses at scale, and conduct complex calculations. Previously, the execution environments for functions on Lambda Managed Instances were restricted to a maximum of 10 GB of memory and approximately 6 vCPUs, with no customization options for the memory-to-vCPU ratio.
With the latest update, functions on Lambda Managed Instances can now be configured with up to 32 GB of memory and a choice of memory-to-vCPU ratio — 2:1, 4:1, or 8:1. This flexibility allows customers to select the optimal combination of memory and compute power for their specific workloads. For instance, at 32 GB of memory, a configuration can include 16 vCPUs (2:1 ratio), 8 vCPUs (4:1 ratio), or 4 vCPUs (8:1 ratio), based on whether the workload is more CPU-intensive or memory-intensive.
This new feature is accessible in all AWS Regions where Lambda Managed Instances are generally available. Users can configure these settings through various platforms, including the AWS Console, AWS CLI, AWS CloudFormation, AWS CDK, or AWS SAM. For more information, customers are encouraged to visit the AWS Lambda Managed Instances product page and documentation.