This update includes important information about end of support, deprecation, or migration. Please check the original announcement for details.

End of lifeMedium

AWS Lambda now supports Java 8, 11, and 17 on Amazon Linux 2023

AWS Lambda now offers Java 8, 11, and 17 runtimes on Amazon Linux 2023, enabling migration from AL2 without upgrading Java versions.

AWS Lambda now supports Java 8, Java 11, and Java 17 runtimes on Amazon Linux 2023 (AL2023), available as both managed runtimes and container base images. These new runtimes allow customers running Lambda functions on Java 8, 11, or 17 to migrate from Amazon Linux 2 (AL2) to AL2023 without requiring a simultaneous Java version upgrade. The existing Lambda runtimes for Java 8, 11 and 17 run on AL2, which reached end of life on June 30, 2026. AWS recommends upgrading to Java 21 or Java 25 on AL2023 as the preferred migration path. Existing AL2-based Lambda runtimes for Java 8, 11, and 17 will remain supported until June 30, 2027.

Read the original AWS announcement