aws AWS What's New ·

AWS Lambda supports self-managed S3 for code storage

infraawsengineeraws-s3aws-lambda
feature

AWS Lambda now allows referencing code directly from your own S3 buckets, eliminating previous storage limits and reducing function activation times. This feature is beneficial for users managing large codebases or Lambda layers, offering a single source of truth and avoiding Lambda-managed storage quotas. Self-managed code storage is available in all commercial AWS Regions, with no additional Lambda charges beyond standard S3 costs.

  • Reference function code directly from Amazon S3 buckets
  • Increased default Lambda-managed code storage limit
  • Pricing and availability of self-managed storage
  • Configuration for self-managed S3 code storage
Features (1)
  • Reference function code directly from Amazon S3 buckets

    AWS Lambda now supports self-managed Amazon S3 buckets for code storage, enabling direct referencing of source code without Lambda creating intermediate copies. This removes Lambda code storage limits and reduces function activation time by eliminating a copy step.

Enhancements (1)
  • Increased default Lambda-managed code storage limit

    The default limit for Lambda-managed code storage has been increased from 75GB to 300GB per Region per account. This change benefits customers who previously needed to submit support tickets for quota increases.

Notes (2)
  • Pricing and availability of self-managed storage

    No additional Lambda charges apply for self-managed storage; customers only pay for standard Amazon S3 storage and applicable data transfer rates. This feature is available in all commercial AWS Regions.

  • Configuration for self-managed S3 code storage

    To enable self-managed code storage, set the `S3ObjectStorageMode` parameter to `REFERENCE` when creating or updating functions and layers. This can be done via the AWS CLI, AWS CloudFormation, AWS SAM, AWS SDKs, or the Lambda Console. Lambda service principal requires `s3:GetObject` and `s3:GetObjectVersion` permissions on the S3 bucket.

Read the original announcement →

https://aws.amazon.com/about-aws/whats-new/2026/07/lambda-self-managed-code-storage/

Related releases