My Cloud Blog

A journal of experiences in computer science.

Python Upgrade for AWS Lambda

Amazon Web Services (AWS) has ended their support of Python 2.7, requiring many AWS Lambda functions to be upgraded from Python 2 to 3. The Runtime settings can be updated in the AWS console or with the update-function-configuration command in the AWS CLI, and then the changes can be tested and deployed. The Python community provides guidance for porting Python 2 code to Python 3 as well as a library to translate this code called lib2to3 at: Continue reading