Amazon Linux releases still in use and the post-quantum gap

Amazon Linux 2 reached end of support on June 30, 2026, so it gets no further cryptographic updates from AWS. Amazon Linux 2023 is supported until June 2029 and offers post-quantum algorithms through an opt-in PQ subpolicy, and AL2027 is in preview.

On this page

Which Amazon Linux releases are still maintained, and which are not

If your estate still runs Amazon Linux 2, you need to act now. AWS states that Amazon Linux 2 reached end of support on June 30, 2026, so AL2 hosts no longer receive standard support from AWS. Amazon Linux 2023 (AL2023) is the current general-purpose release, and AWS states it is supported until June 2029, according to the AL2023 FAQ checked on 2026-12-03. Teams that still have AL2 hosts in production, build pipelines, or AMIs should inventory them first, using the operating system release recorded on each instance and in each image, and plan their move to AL2023. The migration work is the same whether the goal is continued support or a later post-quantum upgrade, so it should not wait on the cryptography questions.

Amazon Linux 2027 (AL2027) is the next release, announced on September 3, 2026 as a public preview. Its documentation says it is for evaluation and testing only and is not recommended for production workloads. Do not plan a production cutover to AL2027 on the strength of the preview. Treat it as a way to test your own applications, scripts and configuration against the newer defaults, then confirm the production support dates with AWS before committing. Note that the AL2027 documentation describes its default SSH configuration and crypto policies in detail, so the preview is useful for checking how your automation behaves, even though it should not carry production workloads.

To find your exposure, check the release on every host, container base image and machine image you manage, not only the ones you consider current. The /etc/os-release file and cat /etc/system-release identify the installed release on a running host. Record each result against the owner and the workloads it serves, and flag every AL2 instance for replacement or in-place upgrade planning. Ask your platform team whether any AL2 images are still referenced by launch templates, autoscaling groups or build tooling, since those can recreate unsupported hosts after the migration appears complete.

Release status and post-quantum support by Amazon Linux version

This table compares the three Amazon Linux releases covered here by support status, the date each fact was checked, and the post-quantum support the documentation records. Read each row as a separate claim: the AL2023 entries apply to the named package versions, the AL2027 entry applies to a preview build, and the AL2 row reflects a gap in the supplied sources rather than a confirmed absence. The main takeaway is that only AL2023 documents shipped post-quantum components today, and that support there is opt-in.

ReleaseSupport statusPost-quantum support recorded in the documentation
Amazon Linux 2 (AL2)End of support on June 30, 2026, per the AL2023 FAQ checked 2026-12-03No post-quantum documentation in the supplied sources. Confirm with AWS before assuming either support or absence.
Amazon Linux 2023 (AL2023), OpenSSLSupported until June 2029, per the AL2023 FAQ checked 2026-12-03OpenSSL 3.5 (openssl-3.5.5-1.amzn2023.0.3) in release 2023.10.20260330 adds ML-KEM, ML-DSA and SLH-DSA; the PQ subpolicy is opt-in
Amazon Linux 2023 (AL2023), GnuTLS and NSSSupported until June 2029, per the AL2023 FAQ checked 2026-12-03GnuTLS 3.8.10 and NSS 3.112 in release 2023.12.20260608 add ML-KEM hybrid key exchange and ML-DSA; the PQ subpolicy is opt-in
Amazon Linux 2023 (AL2023), crypto policySupported until June 2029, per the AL2023 FAQ checked 2026-12-03PQ subpolicy not applied by default; enabled with DEFAULT:PQ on AL2023.12 or higher
Amazon Linux 2027 (AL2027)Public preview announced Sep 3, 2026; not recommended for production, per the AL2027 documentation checked 2026-12-04PQC enabled by default in the preview build; disabled with DEFAULT:NO-PQ
Amazon Linux 2027 (AL2027), SSHPreview build; OpenSSH 9.9, up from 8.7 in AL2023ML-KEM hybrid key exchange listed first in the default SSH configuration

Which parts of an older estate depend on public-key algorithms

Three components decide how much of an Amazon Linux estate relies on public-key algorithms: SSH host and user keys, TLS certificates, and the system crypto policy that governs both. The cards below set out what the AL2023 and AL2027 documentation says about each, and where the AL2 documentation was not among the sources checked.

SSH host keys and key exchange

Every SSH server presents a host key, and every connection negotiates a key exchange built on (EC)DH or post-quantum hybrids. On AL2027, the default sshd configuration disables the legacy ssh-rsa host key algorithm, generates ed25519 and ECDSA host keys, and lists ML-KEM hybrid exchanges first, ahead of curve25519 and the ECDH groups. On AL2023, OpenSSH uses the crypto policy defaults and the PQ subpolicy is not applied unless you set it. Check sshd -T on each image, because AL2 documentation was not among the sources checked and its defaults must be confirmed in your own images.

AL2027 SSH config

SSH user keys and FIPS mode

User keys in RSA, ECDSA or Ed25519 authenticate logins, and AL2027 documents support for all three. The AL2023 FIPS guide warns that ED25519 SSH user keys are not supported in FIPS mode, and an instance launched with an Ed25519 key pair can lose access once FIPS mode is enabled. Before enabling FIPS on an older estate, inventory every authorized_keys entry and every key pair used at launch, and confirm that a non-Ed25519 key can still reach each host.

AL2023 FIPS guide

TLS certificates and signatures

TLS certificates carry public keys and signatures, and the libraries that handle them are OpenSSL, GnuTLS and NSS. The AL2023 2023.10 release rebased OpenSSL to 3.5, adding ML-KEM, ML-DSA and SLH-DSA, and the 2023.12 release rebased GnuTLS and NSS with ML-DSA and hybrid ML-KEM support. These are library capabilities, and whether a certificate or handshake actually uses them depends on the configuration. On AL2 the library versions were not in the sources checked, so confirm the OpenSSL and GnuTLS packages present on each image.

AL2023 2023.10 notes

System crypto policy

The system-wide crypto policy governs which algorithms SSH, TLS and the other libraries accept. AL2023 offers LEGACY, DEFAULT, FUTURE and FIPS policies, and the PQ subpolicy is not applied by default. On AL2027 the policies enable post-quantum cryptography by default, and DEFAULT:NO-PQ removes it. Run update-crypto-policies --show on every host, since the policy decides what the other components negotiate, and a legacy LEGACY setting re-enables ssh-rsa.

AL2023 PQC guide

Confirming AL2 behavior

The AL2 documentation was not among the sources checked for this page, so the defaults described above for AL2023 and AL2027 cannot be assumed to hold on AL2. Ask each team running AL2 instances to record the output of sshd -T, the OpenSSL and GnuTLS package versions, and update-crypto-policies --show where that tool exists, and compare them against the AL2023 and AL2027 behavior before drawing conclusions about an older estate.

AL2023 FAQ

How the answer changes by Amazon Linux version and deployment type

Amazon Linux 2 reached end of support on June 30, 2026, according to the AWS AL2023 FAQ checked on 2026-12-03. The sources on this page do not describe post-quantum support for AL2, and no maintained cryptographic updates from AWS are documented for it, so an AL2 host should be treated as a system with no vendor post-quantum path. Your choices narrow to isolating the host or migrating off it.

  • Confirm the release: Run cat /etc/system-release on each host and record the result in your inventory.
  • Isolate what cannot move: Restrict network paths to and from AL2 hosts, and limit which services they expose, until they are retired.
  • Plan the migration: Move workloads to AL2023, which is supported until June 2029 per the AWS FAQ, or to AL2027 once it is production-ready.
  • Ask about exceptions: If a host must stay on AL2, confirm the support terms directly with AWS rather than assuming coverage.
  • Record the decision: Note the date, owner and compensating controls for each AL2 host in your risk register.

Before you close this item, check that every AL2 host has an owner, a retirement date and a documented isolation control.

Decision path for an Amazon Linux 2 or 2023 estate

Start by checking which Amazon Linux release each host runs. Amazon Linux 2 reached end of support on June 30, 2026, so AWS's documentation does not offer it a post-quantum path. Plan migration to AL2023 and isolate the AL2 hosts until then. On AL2023, check the crypto policy version. On AL2023.12 or higher, apply DEFAULT:PQ with update-crypto-policies --set, then confirm the result with update-crypto-policies --show. The flow reflects the supplied sources only.

Decision path from release check to PQ policy verification, based on the cited AWS sources.

What to do next with an older Amazon Linux estate

This sequence sorts your hosts by Amazon Linux release, flags the ones that have reached end of support, and moves the supported AL2023 hosts to the post-quantum crypto policy with checks at each step. The result is a dated inventory you can hand to a security reviewer, plus a record of which hosts still need a different path.

  1. Inventory hosts by Amazon Linux release

    Someone with root or fleet-management access runs a read-only check on each host, such as cat /etc/system-release or cat /etc/os-release, and records the release next to the host name, owner and environment. Include hosts launched from AMIs, containers built on Amazon Linux base images and instances managed through configuration tools, since these often drift from what the inventory says. The step is done when every host in scope has one release recorded and the total count matches your asset register.

  2. Record AL2 hosts as out of support

    Mark every Amazon Linux 2 host as out of support in the inventory. AWS states that Amazon Linux 2 reached end of support on June 30, 2026, so these hosts no longer receive standard updates. Confirm the date against the AL2023 FAQ before it goes into your records, and note any AL2 host that must stay in service so an owner can accept the risk in writing. The step is done when each AL2 host has an out-of-support status, an owner and a planned path, whether migration, replacement or documented isolation.

  3. Confirm the AL2023 build level

    On each AL2023 host, check the release string with cat /etc/system-release and compare it with the build levels that include the post-quantum components. Post-quantum support in the crypto policies depends on the build level, and the AL2023 PQC guide documents the PQ subpolicy for AL2023.12 or higher. Hosts on earlier builds, such as 2023.10 with an older OpenSSL, need to be updated before the next step. The step is done when every AL2023 host has a recorded build level at or above the level the PQC guide requires for the subpolicy.

  4. Enable the PQ subpolicy on AL2023

    On each AL2023.12 or higher host, run sudo update-crypto-policies --set DEFAULT:PQ. According to the AL2023 PQC guide, this enables hybrid ML-KEM key exchange and ML-DSA signatures within the DEFAULT policy. Apply it to a test host first, then to production in change windows your change process approves, and check that SSH and TLS services still start and accept connections. The step is done when the command completes without error on each host and the service checks pass.

  5. Verify the active crypto policy

    Run update-crypto-policies --show on each host and record the output. The result should show DEFAULT:PQ. If it shows another value, the subpolicy is not active, and you should rerun the set command and check the logs for errors. Keep the output with the host record, since it is the evidence a reviewer will ask for. The step is done when every host you changed reports DEFAULT:PQ and the output is stored in the inventory.

  6. Enable repository metadata signature checks

    If your change policy allows it, edit the repository files in /etc/yum.repos.d/ and set repo_gpgcheck=1 for the Amazon Linux 2023 repositories. The AL2023 metadata signing page states that this option is disabled by default and verifies signed repomd.xml metadata against the RPM-GPG-KEY-amazon-linux-2023 key. Run sudo dnf makecache afterward to confirm that metadata still verifies, and keep a copy of the original file for rollback. The step is done when the setting is applied, the metadata refresh succeeds and the change is recorded against each host.

What the sources do not establish and what to ask AWS

The sources checked for this page do not establish post-quantum support for Amazon Linux 2 or confirm the timing of the kernel validations for AL2023. Each card names one gap and what to confirm with AWS or in your own estate before you record an answer.

No post-quantum statement for AL2

None of the supplied sources state that Amazon Linux 2 supports post-quantum algorithms, and AL2 reached end of support on June 30, 2026. Any AL2 instance still running is outside the crypto policy and library documentation covered here. Ask AWS in writing whether AL2 received any post-quantum library or policy updates before end of support, and inventory which AL2 hosts still terminate SSH or TLS. Record the answer as not established if AWS does not reply with a documented statement.

AL2023 FAQ

AWS PQC page omits Amazon Linux

The AWS post-quantum page says ML-KEM is deployed across customer-facing AWS endpoints and that session authentication will move to PQC in the fullness of time. It gives no dates for that work and does not mention Amazon Linux at all. Do not read the page as covering the OS on your instances. Ask AWS for the dated plan for session authentication and whether it applies to hosts you run, then confirm the SSH and TLS settings on each host directly.

AWS PQC page

AL2027 announcement is silent on PQC

The AL2027 announcement of September 3, 2026 says the release uses AWS-LC for faster cryptographic operations and does not mention post-quantum cryptography. The PQC behavior is documented separately in the AL2027 preview guide, which is for evaluation and not recommended for production. Ask AWS whether the preview PQC defaults will carry into a production release, and test any AL2027 build against your own SSH and TLS requirements before planning a move.

AL2027 announcement

Kernel 6.12 and 6.18 validations incomplete

The AL2023 FAQ says the kernel 6.12 cryptographic module was submitted on July 19, 2025 with completion expected between July 2026 and January 2027, and the 6.18 module was submitted in April 2026 with completion expected in mid-2027. Neither validation is complete as of the FAQ check. Ask AWS for the current validation status and certificate numbers for each kernel, and check which kernel your AL2023 hosts run before you describe their validation status to an auditor.

Expected 6.18 completion
Mid-2027
AL2023 FAQ

Confirm PQ policy on each host

The PQ subpolicy on AL2023 is not applied by default, and the AL2027 preview enables PQC by default. Whether a given host actually negotiates ML-KEM or accepts ML-DSA depends on the policy in force on that host, not on the release name. Run update-crypto-policies --show on each AL2023 or AL2027 host and record the output with the date. Treat the setting as unconfirmed for any host where that command has not been run.

AL2023 PQC guide

Check AL2 hosts for SSH key exposure

Because AL2 is past end of support and no supplied source documents its post-quantum behavior, every AL2 host carries the open questions above. Keys and SSH host configuration on these hosts still rely on RSA, ECDSA and Ed25519. Inventory which AL2 hosts accept inbound SSH or serve TLS, list the key types in use, and plan a migration to a supported release, since any AL2 instance will continue to run without vendor updates.

AL2027 SSH config

What can break or silently fall back when moving off AL2

The first risk to plan for is access. AL2023 documents that ED25519 SSH user keys are not supported in FIPS mode, and that an instance launched with an ED25519 key pair can lose access after FIPS mode is enabled. Before running sudo fips-mode-setup --enable and rebooting, inventory every user key in ~/.ssh/authorized_keys on each host and confirm that each login uses RSA or ECDSA. Keep a second working session open during the change, and test a fresh login after the reboot and after running sudo fips-mode-setup --check, which should report 'FIPS mode is enabled.' The AL2023 FIPS guide also says it does not cover the certification status of the cryptographic modules, so confirm that separately before relying on FIPS mode for a compliance claim.

The second risk is SSH host key algorithms that are disabled on newer releases. AL2027 disables the legacy ssh-rsa host key algorithm by default and requires RSA keys of at least 2048 bits. Clients or appliances that still need ssh-rsa will fail to connect after a move, unless the LEGACY crypto policy is set with sudo update-crypto-policies --set LEGACY. Using that policy widens the set of accepted algorithms for the whole host, so treat it as a temporary bridge and record which systems depend on it. The third risk is hybrid key exchange. AL2027 prefers mlkem768x25519-sha256 and related ML-KEM methods ahead of classical ones. Older SSH clients that do not offer these methods will fall back to a classical exchange, which is expected, but a client that offers a hybrid method and then fails the handshake will break the session. Test each client family you run against AL2027 before cutover.

The last risk is quiet. An AL2 host can look hardened, with current OpenSSH settings, a documented security baseline and no visible alerts, while receiving no further cryptographic fixes. AWS states that Amazon Linux 2 reached end of support on June 30, 2026, so packages on those hosts will not be updated for new vulnerabilities. Check the release with cat /etc/system-release and the repository configuration in /etc/yum.repos.d/ on each estate, and do not treat a clean vulnerability scan as evidence of current cryptography. Note also that AL2027 is a public preview documented for evaluation and testing only, so it should not be the production target yet. Plan the move to AL2023 with the access and policy tests above, and confirm the supported release date on the AL2023 FAQ before you set the schedule.

Questions about Amazon Linux releases and post-quantum readiness

Is Amazon Linux 2 still supported?

No. AWS states that Amazon Linux 2 reached end of support on June 30, 2026, according to the AL2023 FAQ page checked on 2026-12-03. Any Amazon Linux 2 instance still running is past its support date and will no longer receive standard security updates from AWS. The practical step is to inventory every instance, AMI and container base image that still reports AL2, then plan a move to Amazon Linux 2023, which AWS says is supported until June 2029. Confirm the dates against the AWS FAQ and your own patch tooling before you record them in an assessment, since the page is the vendor's statement and your estate may hold older images that never received the update.

Is Amazon Linux 2023 quantum safe?

The accurate answer is that AL2023 supports specific post-quantum algorithms, and whether a given system is protected depends on configuration. The AL2023 PQC guide documents a PQ subpolicy that is not applied by default. When it is applied, hybrid ML-KEM key exchange and ML-DSA signatures are enabled in the LEGACY, DEFAULT, FUTURE or FIPS policies. Enabling it requires AL2023.12 or higher, and you confirm the setting with update-crypto-policies --show. Public-key uses such as SSH host keys, user keys and TLS certificates still depend on RSA, ECDSA or Ed25519 unless you have changed them, so review those separately. The vendor has not stated that AL2023 is quantum safe, and this page does not say it is.

Does enabling post-quantum cryptography on Amazon Linux cost extra?

The researched sources do not give pricing for post-quantum support on Amazon Linux, and they do not state that it carries a separate charge. What the sources do show is that the PQ subpolicy is a configuration change on AL2023.12 or higher, and that AL2027 enables post-quantum cryptography by default. Cost therefore depends on your internal effort: testing applications that negotiate the new key exchange, updating clients and certificates, and checking compatibility with older systems you still connect to. Ask AWS in writing whether any licensing or support tier changes, and ask any implementation partner for a written scope before you accept a quote, since the work is mostly testing and change control.

Which Amazon Linux version do I need for ML-KEM?

On AL2023, ML-KEM support arrived with the OpenSSL 3.5 rebase in release 2023.10.20260330, which the release notes list as openssl-3.5.5-1.amzn2023.0.3. The AL2023 PQC guide says the PQ subpolicy, which turns on hybrid ML-KEM key exchange, requires AL2023.12 or higher. GnuTLS 3.8.10 and NSS 3.112 in release 2023.12.20260608 add further ML-KEM and ML-DSA support for TLS. On AL2027, the documentation lists OpenSSH 9.9 and OpenSSL 3.5 with post-quantum key exchange enabled by default, although AL2027 is still in public preview. Check your exact installed release with cat /etc/os-release and your package versions with rpm -q openssl, and confirm the result with update-crypto-policies --show.

Can I enable post-quantum settings on Amazon Linux myself, or do I need outside help?

Most teams can make the configuration change themselves. The AL2023 PQC guide describes a single command, sudo update-crypto-policies --set DEFAULT:PQ, followed by a check with update-crypto-policies --show. The harder part is the surrounding work: finding every service that negotiates TLS or SSH, confirming that clients and peers accept the new algorithms, and handling legacy systems that do not. Each change also needs a rollback plan and testing in a non-production environment. If you lack capacity or in-house cryptography experience, an outside team can scope that work in writing. DeployOpen plans, implements and tests self-hosted platform configurations in the client's own infrastructure, and a fixed-scope engagement would name the exact components and deliverables before work starts.

What does the Amazon Linux 2027 preview mean for production?

AWS says Amazon Linux 2027 is in public preview and its documentation states it is for evaluation and testing only, not production workloads. The announcement, dated September 3, 2026, describes AWS-LC for faster cryptographic operations but does not mention post-quantum cryptography. The PQC and SSH documentation for AL2027 describes features such as ML-KEM hybrid key exchange enabled by default, but a preview release can change before general availability. For production planning, treat AL2027 as a target to test against, not a platform to deploy. Use AL2023 for production systems that need a supported, documented release, and watch AWS's release notes for a general availability date and any change to the preview warning.

How DeployOpen helps teams plan an Amazon Linux migration

DeployOpen helps teams work out which Amazon Linux releases they still run, which are inside AWS's published support window, and what moving to a supported release or enabling post-quantum settings would involve for their systems. The work is scoped to your estate and delivered as written documentation and tested changes inside your own environment.

How we scope

  • We inventory the Amazon Linux instances, images and AMIs you run and record each release version against AWS's published support dates.
  • We identify which systems depend on the crypto policies, OpenSSH, OpenSSL and FIPS settings that a migration would change, and record them in the written scope.
  • We agree the scope, deliverables and timeline in writing before work starts, and confirm whether ongoing support is needed as a retainer.

How we build

  • We build a test environment on the target release, such as AL2023, and check SSH access, keys and application connections before any production change.
  • We check whether SSH user keys in use are ED25519, since the AL2023 FIPS guide warns those keys are not supported in FIPS mode and can lock out access.
  • We test the update-crypto-policies --set DEFAULT:PQ change on AL2023.12 or higher in staging, and confirm the result with update-crypto-policies --show.

How we hand over

  • We document the release inventory, the migration steps, the rollback path and the crypto policy state of each system in a form your team can keep.
  • We record the repository settings you must confirm, including whether repo_gpgcheck is enabled in /etc/yum.repos.d/, since it is disabled by default on AL2023.
  • We deliver a list of open questions for AWS and your own teams, such as the AL2027 preview status and any dates not yet published.

How we support

  • We can retest the configured systems after changes, such as after a patch cycle or a move to a new release, and report what changed.
  • We can prepare evidence of the release, policy and FIPS settings in place for your compliance and security reviews, without issuing any attestation.
  • Ongoing support, upgrades and continuous checks are available as a retainer, agreed in writing alongside the original scope.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.