Amazon Linux 2 EOL: What To Do Next

php2shell patches (CVE-2026-109618 and CVE-2026-109619) for EOL PHP are out now. With sales replies slower than usual due to high demand, the fastest route to patched packages is to buy ELS for Runtimes online (opens in new tab). Read the patch FAQ

Go straight to an AI summary of this blog post instead

  • Summarize this post with Perplexity
  • Summarize this post with Gemini

Key Takeaways

  • Amazon Linux 2 EOL arrives on June 30, 2026, when AWS ends security updates for AL2 core packages.
  • Organizations that cannot migrate immediately to Amazon Linux 2023 risk running unpatched infrastructure across EC2 instances, AMIs, and container images.
  • TuxCare’s Endless Lifecycle Support helps organizations extend security coverage beyond Amazon Linux 2 EOL, giving teams more time to plan and execute migration safely.

Amazon Linux 2 has been a core part of AWS infrastructure for years. As AWS-built Linux for the cloud, it became a default choice for teams running workloads on Amazon EC2 – valued for its tight integration, stability, and familiar yum-based package management.

That changes after June 30, 2026. At that point, this version of Amazon Linux will no longer receive AWS-provided security updates or bug fixes for AL2 core packages, and kernel live patching will also end. For organizations running AL2 across EC2 instances, AMIs, containers, and Kubernetes nodes, this is not just a routine lifecycle event – it introduces real infrastructure risk.

The challenge for most teams is not whether to move forward, but whether they can do so on a realistic timeline. Migrating to Amazon Linux 2023 is not a simple upgrade – it is a platform transition that requires dependency validation, rebuilds, and coordinated rollout planning.

Why Amazon Linux 2 EOL Affects More Than Just Legacy Systems

 

Amazon Linux 2 became popular because it fit naturally into how teams build on AWS. EC2 already removes the burden of managing physical hardware, and Amazon Linux 2 complements that model with an operating system optimized for AWS services, cloud-native deployment patterns, and familiar Linux administration workflows.

In practice, Amazon Linux 2 became the foundation for a wide range of workloads, including web servers, backend applications, analytics pipelines, containerized services, and Kubernetes worker nodes. It was also used as a container base image, extending its footprint into ECS and EKS environments.

That widespread adoption is what makes Amazon Linux 2 EOL such a significant event. Once the AL2 deadline passes, the impact will not be limited to a handful of legacy systems. It can affect every AMI, workload, and image built on top of it.

Why Migrating to Amazon Linux 2023 Is Harder Than It Looks

 

Moving from Amazon Linux 2 to Amazon Linux 2023 may sound like a standard operating system upgrade. In reality, it is a more significant platform change.

Amazon Linux 2023 removes the amazon-linux-extras mechanism that many teams relied on. It also drops EPEL compatibility, eliminates 32-bit application support, and shifts from Linux kernel 5.10 to kernel 6.1. Those differences can affect package availability, runtime behavior, dependency management, and workload compatibility.

Package management also changes to DNF, although the yum command remains available in AL2023 as a pointer to dnf, so command syntax itself is usually not the most difficult part of the migration.

As a result, responding to Amazon Linux 2 EOL often requires more than updating repositories or replacing a base image. Teams typically need to audit dependencies, retest applications, rebuild AMIs and containers, validate automation, and confirm behavior across development, staging, and production environments.

At scale, that becomes especially disruptive. Organizations with dozens or hundreds of services on AL2 are not dealing with a single upgrade. They are managing complex migrations in parallel, each with its own compatibility review, QA cycle, and rollout schedule.

What Happens to Your Security Posture After June 30, 2026?

 

With Amazon Linux 2 support ending, newly discovered vulnerabilities in the OS layer will no longer be fixed by AWS. That means systems still running AL2 after June 30, 2026, will gradually accumulate unpatched exposure.

For internet-facing services, internal production systems, and regulated environments, this creates real security and audit risk. Unpatched components can increase vulnerability exposure and raise compliance concerns, depending on patch-management requirements, control scope, and compensating controls.

Two Ways to Handle Amazon Linux 2 EOL Without Putting Systems at Risk

 

Organizations facing Amazon Linux 2 EOL generally have two common paths: migrate to Amazon Linux 2023 or use third-party extended support while migration is still underway.

Option 1: Migrate to Amazon Linux 2023

 

For many teams, Amazon Linux 2023 is the long-term destination. Moving to a supported platform restores access to vendor-provided security updates and aligns infrastructure with AWS’s forward direction.

This is the right strategic move, but it still takes time. Workloads need to be assessed individually. Dependencies need to be checked. Images and automation need to be rebuilt. Testing must be completed before production rollout. For some organizations, that process can move quickly. For others, especially large or tightly controlled environments, it can take multiple quarters.

Option 2: Use Third-Party Extended Support 

 

When an immediate migration is not feasible, extended lifecycle support allows continued security for Amazon Linux 2 after the official EOL date.

This approach allows organizations to keep production systems stable while maintaining security coverage during the migration period. Instead of rushing through a high-risk transition before the AL2 end-of-support deadline, teams can treat the AL2-to-AL2023 move as a planned modernization effort with proper testing, validation, and rollout control.

How TuxCare Keeps You Protected After Amazon Linux 2 EOL

 

TuxCare will begin providing Endless Lifecycle Support (ELS) for Amazon Linux 2 immediately after its end-of-life date, allowing customers to continue receiving security updates for as long as needed. A customer test of the seamless swap to the TuxCare repository is scheduled for release in the coming weeks, giving teams an opportunity to validate continued update delivery before AWS support ends.

TuxCare’s ELS delivers ongoing fixes for critical and high-severity vulnerabilities across core AL2 packages. It also provides qualified errata advisories with clear details on what has been patched, which packages are affected, and which architectures are covered, making it easier to stay audit-ready and demonstrate compliance with standards such as SOC 2, PCI DSS, and ISO 27001. OVAL patch definitions compatible with OpenSCAP and other OVAL-based tools are included as well, so teams can automate patch verification without changing their existing compliance workflows.

Instead of forcing rushed transitions, ELS gives engineering teams more time to audit dependencies, rebuild images carefully, retest workloads properly, and roll out changes on a controlled schedule. It is a practical way to reduce risk without forcing disruptive change before the business is ready.

For teams that also want to preserve rebootless kernel patching after Amazon Linux 2 EOL, ELS can be complemented with KernelCare, a leading rebootless patching solution for Linux environments. 

Ready to Protect Your Systems After Amazon Linux 2 EOL?

 

If your team cannot complete migration to Amazon Linux 2023 before June 30, 2026, you do not have to choose between a rushed transition and unpatched systems.

TuxCare’s Endless Lifecycle Support for Amazon Linux 2 provides continued security coverage with critical and high-severity CVE patches, compliance-ready OVAL definitions, and optional rebootless kernel patching via KernelCare. This allows you to stabilize your environment while migrating on a timeline that actually works.

For more details, visit: https://tuxcare.com/endless-lifecycle-support/amazon-linux-eol-support/ 

If you need help evaluating your options, reach out – we’re happy to walk through what makes sense for your environment.

Summary
Amazon Linux 2 EOL
Article Name
Amazon Linux 2 EOL
Description
TuxCare’s EOL t helps organizations extend security coverage beyond Amazon Linux 2 EOL, giving teams more time to plan and execute migration
Author
Publisher Name
Tuxcare
Publisher Logo

Join 4,500+ Linux & Open Source Professionals!

2x a month. No spam.

Table of Contents
Get the open-source security answers you need

Join 4,500+ Linux & Open Source Professionals!

2x a month. No spam.