Amazon Linux 2027 preview
Amazon Linux 2027 is available for early application and infrastructure testing. Its secure defaults and updated platform components make the preview useful, but they also expose assumptions hidden in existing server builds.
- Author
- Intercube
- Published
- Reading time
- 8 min read
01
A preview, not a production release
AWS announced the public preview of Amazon Linux 2027 on 3 September 2026. Preview AMIs are available for x86-64 and Arm-based Graviton instances across commercial AWS regions, and container base images are published through Amazon ECR Public. The purpose is to let teams validate workloads and provide feedback before general availability.
AWS states that the preview is intended for evaluation and testing only and is not recommended for production workloads. The release can change while feedback is incorporated, and AWS Support agreements do not cover the public preview. Existing production services should remain on a supported operating-system baseline while AL2027 is assessed separately.
That boundary makes the preview useful rather than premature. Teams can discover which application, automation and observability assumptions depend on current Amazon Linux behaviour without turning the test into an operating-system migration. The result should be a compatibility record and a future decision path, not a hurried production rebuild.
02
The changes worth testing
AL2027 currently combines a 7.1 or newer Linux kernel with current toolchains and language runtimes. It moves package operations to DNF5, provides AWS-LC alongside OpenSSL 3.5 and targets modern x86-64 and Arm hardware. Each change can affect build scripts, package names, native extensions, image pipelines and assumptions embedded in configuration management.
The most visible security change is SELinux in enforcing mode by default. Amazon Linux 2023 uses permissive mode by default, where policy denials are logged but not enforced. An application that writes to an unexpected path, starts a service with incomplete labels or relies on a broad local permission can therefore behave differently on AL2027 even when its conventional Unix ownership appears correct.
OpenSSH also arrives with stricter defaults. DSA signatures are no longer available, RSA keys shorter than 2048 bits are rejected by default and post-quantum key exchange is enabled. These are sensible modernisations, but old deployment users, automation hosts and emergency access procedures need explicit testing before the operating system becomes part of a production image.
03
Test the application, not only the AMI
A successful boot proves very little about a web application. Rebuild the environment through the same infrastructure-as-code and configuration workflow used elsewhere. Install the runtime and services, apply system users and file permissions, restore representative data, deploy the application and run its scheduled and asynchronous work.
Exercise the paths that usually stay outside a smoke test: image and document processing, outbound TLS calls, background queues, database client libraries, log shipping, monitoring agents, backup jobs, service restarts and deployment rollbacks. Review SELinux audit output while the workload runs so a silent dependency does not become a production failure later.
Infrastructure automation deserves its own compatibility result. Test AMI discovery, package repositories, DNF5 commands, custom RPMs, Ansible roles, container builds and bootstrap scripts. If an environment is immutable, prove that a replacement instance reaches service and joins monitoring correctly. If it is maintained in place, prove how updates and reboots are controlled.
- Build the preview environment through the normal infrastructure pipeline.
- Deploy a representative application release and restore non-production data.
- Review SELinux denials instead of disabling enforcement to make the test pass.
- Validate deployment, backup, monitoring and incident-access procedures.
- Record application and automation issues separately so each has a clear owner.
04
Prepare for general availability
The preview should produce an inventory of blockers, not a fixed migration date. Classify findings by application code, runtime, package, configuration policy, hardware baseline and operational tooling. Some issues can be resolved immediately because they reveal weak assumptions in the current environment. Others should wait for the AL2027 release to stabilise.
AWS says preview AMIs will be deprecated when AL2027 reaches general availability and will stop receiving updates. A test environment therefore needs an explicit end state. Plan to replace preview instances with supported GA images rather than carrying the evaluation build forward as if it were production-ready.
Before adoption, repeat the test against the final image and confirm support terms, update policy, package availability and the required instance families. Then schedule the change as an application-platform release with rollback criteria, monitoring and accountable owners. An operating-system upgrade is successful only when the full service remains supportable after the change.
- Keep public-preview systems isolated from production data and traffic.
- Track upstream changes while the preview evolves toward general availability.
- Retest the final GA image rather than promoting a preview instance.
- Define rollback around service health, not only instance health.
- Include the application team, platform owner and support process in the release plan.
Amazon Linux 2027 test plan
- Use the public preview for isolated evaluation, not for production workloads.
- Test SELinux enforcing mode with representative application behaviour and data paths.
- Validate DNF5, package availability, custom images and configuration automation.
- Exercise deployments, monitoring, backups, service restarts and emergency access.
- Replace preview systems and retest the supported image when AL2027 reaches general availability.