Amazon Linux 2 end-of-life: migration checklist (AL2 → AL2023)
Amazon Linux 2 reached end of life 2026-06-30. Standard support ended and migration is due. AWS has published post-EOL AL2 releases, so verify the installed release and current support terms instead of assuming a host patch state from the calendar alone. [AWS source]
Standard support ended; remaining update/support behavior must be verified with AWS
yum replaced with dnf
amazon-linux-extras not available
ntpd replaced with chronyd
iptables replaced with nftables
Python 2 no longer available
The checklist
Inventory. Find AL2 AMIs, launch templates, EKS node groups, ECS task definitions, Beanstalk platforms, and container base images. Use the documented al2023-gate modes and verify the result against AWS inventory.
Rebuild the base AMI on AL2023 (Packer/EC2 Image Builder), then bake your app layers on top.
Package manager. Move yum usage to dnf and drop amazon-linux-extras — install packages directly, version-namespaced, or via SPAL. (extras fix · missing-package fix)