AWS Lambda

Amazon Web Services (AWS) Lambda is a compute service that executes arbitrary Python code in response to developer-defined AWS events, such as inbound API calls or file uploads to AWS' Simple Storage Service (S3).

AWS Lambda logo.

Why is Lambda useful?

Lambda is often used as a "serverless" compute architecture, which allows developers to upload their Python code instead of spinning and configuring servers, deploying their code and scaling based on traffic.

Lambda is an implementation of the serverless concept. Learn how these pieces fit together in the deployment chapter or view the table of contents for all topics.

Python on AWS Lambda

Lambda only had support for JavaScript, specifically Node.JS, when it was first released in late 2014. Python 2 developers were welcomed to the platform less than a year after its release, in October 2015. Lambda now has support for both Python 2.7 and 3.6.

Python-specific AWS Lambda resources

General AWS Lambda resources

What's next after learning about AWS Lambda?

I want to learn how to code a Python web application using a framework.

What is Docker and how does it fit with Python deployments?

How do I create an API for my web application?

Sign up here to receive a monthly email with major updates to this site, tutorials and discount codes for Python books.


Matt Makai 2012-2017