AWS Lambda Layer Essentials: Python Libraries to Optimize Your Serverless Stack
Posted on by Sumit KumarHello Everyone,
AWS Lambda is phasing out support for Python 3.7 following Python 3.7 reaching its End-Of-Life on June 27, 2023. To ensure the smooth operation of your functions, AWS strongly advises upgrading your Python 3.7 functions to Python 3.10 or Python 3.11 before November 27, 2023.
AWS follows a two-stage process for ending support for language runtimes in Lambda. Starting on November 27, 2023, AWS Lambda will cease providing security patches and updates for the Python 3.7 runtime used by Lambda functions. Consequently, functions utilizing Python 3.7 will no longer be eligible for technical support, and you won’t be able to create new Lambda functions using Python 3.7 from that date. On January 25, 2024, you will lose the ability to update existing functions using the Python 3.7 runtime.
It’s crucial to note that this end of support will not affect your function’s execution; they will continue to run. However, they will operate on an unsupported runtime, lacking maintenance and patches from the AWS Lambda team.
In response to this change, I have developed Python libraries tailored for AWS Lambda Layers compatible with Python 3.10.
You can readily access these libraries by downloading the provided zip file below. Incorporating them into your Lambda Layer configuration simplifies the process of creating a Lambda Layer, which can then be seamlessly integrated into your Lambda functions.
psycopg2_310 ->pyscopg2 library version 3.10
Feel free to bookmark this page as I will continuously update it with essential libraries. If you require any specific library to be added, please inform me, and I’ll upload the corresponding zip file here for you.
Keep Learning !!
Leave a Reply