AWS Lambda is Amazon Web Services' serverless compute service that runs your code in response to events without you provisioning or managing servers, billing only for the compute time consumed. It sits at the center of event-driven and microservices architectures on AWS, integrating tightly with dozens of services across the platform. The key mental model to internalize: Lambda executes code inside short-lived, isolated execution environments that are frozen between invocations and reused when possible — understanding this lifecycle (cold start, warm reuse, and shutdown) is what separates practitioners who fight Lambda from those who design for it.
What This Cheat Sheet Covers
This topic spans 23 focused tables and 178 indexed concepts, 129 flashcards. Below is a complete table-by-table outline of this topic, spanning foundational concepts through advanced details.
A jump-to index of every table row in this cheat sheet.
An interactive map of every table and concept in this topic.
Table 1: Supported Runtimes and Identifiers
Lambda's managed runtimes abstract the underlying OS and language environment, letting you focus on function code. Each major language version has a distinct runtime identifier, and all currently supported runtimes run on either Amazon Linux 2 or Amazon Linux 2023 (AL2023). All supported runtimes support both x86_64 and arm64 architectures.
| Runtime | Example | Description | |
|---|---|---|---|
nodejs24.x | • Latest Node.js LTS runtime on AL2023 • deprecation Apr 30, 2028. | ||
nodejs22.x | • Node.js LTS on AL2023 • deprecation Apr 30, 2027. | ||
python3.14 | • Latest Python runtime on AL2023 • deprecation Jun 30, 2029. | ||
python3.13 | • Python on AL2023 • deprecation Jun 30, 2029. | ||
python3.12 | • Python on AL2023 • deprecation Oct 31, 2028. | ||
java25 | • Latest Java runtime on AL2023 • deprecation Jun 30, 2029. | ||
java21 | • Java LTS on AL2023 • deprecation Jun 30, 2029. SnapStart supported | ||
dotnet10 | • .NET LTS on AL2023 • deprecation Nov 14, 2028. | ||
dotnet8 | • .NET LTS on AL2023 • SnapStart supported • deprecation Nov 10, 2026. | ||
ruby4.0 | • Ruby on AL2023 • deprecation Mar 31, 2029. | ||
ruby3.4 | • Ruby on AL2023 • deprecation Mar 31, 2028. | ||
provided.al2023 | • Bring-your-own runtime (Go, Rust, etc.) on AL2023 • deprecation Jun 30, 2029. | ||
provided.al2023 | Go functions use the OS-only runtime since go1.x was deprecated in Jan 2024. | ||
python3.11 | • Python on Amazon Linux 2 • deprecation Jun 30, 2027. | ||
java17 | • Java on AL2 • SnapStart supported • deprecation Jun 30, 2027. |