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).
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.
Zappa is a serverless framework for deploying Python web applications. It's a really slick project and used even by internal AWS developers for their own application deployments. Be sure to read the Zappa blog as well for walkthroughs and new feature announcements.
How to Setup a Serverless URL Shortener With API Gateway Lambda and DynamoDB on AWS builds a non-trivial URL shortener application as an example Python application that runs on Lambda.
How we built Hamiltix.net for less than $1 a month on AWS walks through setting up a full website that runs on AWS and scales with the Lambda free tier to minimize spend despite large traffic spikes.
Deploying a serverless Flask app to AWS Lambda using Zappa provides a screen capture of one developer deploying their application to Lambda.
Automated SQL Injection Testing of Serverless Functions On a Shoestring Budget (and Some Good Music) is an awesome operational security post that uses Python to test for SQL injection vulnerabilities in serverless functions on AWS Lambda.
Creating Serverless Functions with Python and AWS Lambda explains how to use the Serverless framework to build Python applications that can be deployed to AWS Lambda.
Code Evaluation With AWS Lambda and API Gateway shows how to develop a code evaluation API, to execute arbitrary code, with AWS Lambda and API Gateway.
Crawling thousands of products using AWS Lambda gives a real-world example of where using Python, Selenium and headless Chrome on AWS Lambda could crawl thousands of pages to collect data with each crawler running within its own Lambda Function.
AWS Lambda Serverless Reference Architectures provides blueprints with diagrams of common architecture patterns that developers use for their mobile backend, file processing, stream processing and web application projects.
Reverse engineering AWS Lambda is an incredible, in-depth analysis of the author's work investigating the black box of how Lambda works and what he learned from it.
The AWS Lambda tag on the official AWS blog contains all the related first-party tutorials
Serverless Cost Calculator estimates the amount that AWS would charge based on Lambda exeuctions, average execution time and memory needed per execution.
Serverless at Nordstrom is an awesome real-world story with the architecture behind a serverless AWS Lambda application deployment at Nordstrom.
How was your experience with AWS Lambda in production? has a good discussion of some of the benefits and issues that developers had as of mid-2017 with using Lambda for production applications.
Passwordless database authentication for AWS Lambda shows how to use a MySQL backend from your Lambda functions.
How does language, memory and package size affect cold starts of AWS Lambda? investigates the performance implications of various Lambda settings.
Best Practices for AWS Lambda Timeouts explains some of the current hard upper limits on AWS timeouts, such as 5 minutes for Lambdas, when explicitly set that high, as well as 29 seconds for API Gatway requests. There is also good advice on how the circuit breaker pattern should be applied to your Lambdas and ultimately why low time outs are likely the best way to go to prevent your application from becoming entirely unresponsive.
Fix errors in your Python code before your users see them by monitoring with Rollbar.