VOOZH about

URL: https://repost.aws/questions/QUH4_1tULxT6CqSQ7ubuOQPQ/snapstart-for-lambda-container

⇱ snapstart for lambda container | AWS re:Post


Skip to content

snapstart for lambda container

0

I read a article that lambda with python 3.12 supports snapstart but I could not configure it with cdk in python and not even on console. I was able to do it with zipped lambda function.

Container lambda does not support snap start ? it there any documentation for this ?

Language
English

asked 2 years ago1.2K views

1 Answer
  • Newest
  • Most votes
  • Most comments
1
Accepted Answer

Hi,

This doc page is explicit on your question: https://docs.aws.amazon.com/lambda/latest/dg/snapstart.html#snapstart-runtimes

SnapStart is available for the following Lambda managed runtimes:

Java 11 and later

Python 3.12 and later

.NET 8 and later. If you're using the Lambda Annotations framework for .NET, upgrade 
to Amazon.Lambda.Annotations version 1.6.0 or later to ensure compatibility with SnapStart.

Other managed runtimes (such as nodejs22.x and ruby3.3), OS-only runtimes, and 
container images are not supported.

SnapStart does not support provisioned concurrency, Amazon Elastic File 
System (Amazon EFS), or ephemeral storage greater than 512 MB.

It clearly says Lambda managed runtimes which excludes your own container images for Lambda runtime. Those custom images are not managed by AWS.

Best,

Didier

EXPERT

answered 2 years ago

EXPERT

reviewed 2 years ago

  • Gary Mclean EXPERT
    2 years ago

    and its only in a hand full of regions atm as it was only released Novemeber 2024