To get started deploying your Python code as a Lambda function, you simply upload your function code via the AWS CLI or AWS Lambda console and select the Python 3.7 runtime. Lambda takes care of everything required to run and scale your function with high availability. You can also use the AWS Serverless Application Model (SAM) to deploy and manage your serverless application authored in Python. Customers with existing Python functions can switch to the new runtime by editing their function configuration to set the runtime to “python3.7” and making necessary changes to be compatible with the new runtime.