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. Below is a complete table-by-table outline of this topic, spanning foundational concepts through advanced details.
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. |