Azure Linux has existed for years, but in practice it was invisible to most developers — a container host OS lurking under Azure Kubernetes Service nodes, doing its job quietly and never something you’d choose. Azure Linux 4.0 changes that. Now in public preview, it is the first version targeting general-purpose Azure virtual machines, which puts it directly in the decision matrix alongside Ubuntu Server LTS and RHEL every time you spin up a workload on Azure. And the performance numbers give it a real case to make.
The Architecture Shift That Actually Matters
Versions 1.0 through 3.0 were hand-assembled distros derived from Photon OS, VMware’s container-focused Linux. Every package was curated manually. Version 4.0 scraps that entirely. It is now derived from Fedora Linux — specifically a Fedora 43 snapshot — with Microsoft applying TOML configuration overlays to document every deviation from upstream. Packages come from Fedora’s repositories. Every change is auditable.
This is the same playbook Amazon used for Amazon Linux 2023. Microsoft is the last major cloud to adopt it, but the approach is proven: track a well-maintained upstream, keep your deviations minimal and documented, ship an SBOM that traces every package back to source. For teams with supply chain compliance requirements, that SBOM is genuinely valuable — not marketing language.
What’s Inside Azure Linux 4.0
The technical stack reflects what you’d expect from a 2026 enterprise Linux:
- Kernel 6.18 LTS with Hyper-V integration and GPU/AI accelerator support baked in
- dnf5 package manager, replacing the lightweight
tdnftool inherited from Photon OS - OpenSSL 3.5 with post-quantum cryptography primitives
- Python 3.14, glibc 2.42, systemd 258, RPM 6.0
- SELinux enabled by default across all images
- FIPS 140-3 certification in progress — not yet complete at public preview
The GPU and AI accelerator kernel support is worth noting for teams running inference workloads. Azure Linux 4.0 was built with Azure’s accelerated compute hardware in mind from the start, which Ubuntu images typically have to patch around after the fact.
The Performance Case
Microsoft’s benchmarks show 5–15% better performance over Ubuntu 24.04 LTS on identical Azure VM sizes, attributable to Azure-specific kernel tuning and reduced I/O stack overhead. The NGINX benchmark is the most concrete data point: on a Standard D4s v5 VM, Azure Linux 4.0 sustained 12% more requests per second with 8% lower CPU utilization. Boot times improved by up to 15% over version 3.0.
Take vendor benchmarks with appropriate skepticism, but the mechanism is sound — an OS built specifically for one hardware environment will outperform a general-purpose OS on that hardware. Amazon Linux 2023 showed the same pattern on AWS. These gains translate to real cost reduction on workloads running at scale.
The Trade-offs You Need to Know
Azure Linux 4.0 has real constraints, and any honest evaluation starts here.
It is Azure-only by design. No bare metal, no AWS, no GCP, no desktop. If you are running a multi-cloud strategy or need OS portability, this is not your distro. Ubuntu or Debian remain the right answer for teams that need to move workloads between environments.
It is a public preview. Microsoft explicitly describes this release as for evaluation and testing, not production workloads. General availability is expected in late 2026. Running production traffic on Azure Linux 4.0 today carries real risk.
FIPS 140-3 certification is pending. Regulated workloads in healthcare, finance, or government that require FIPS compliance should wait for GA.
Package coverage is narrower than Ubuntu. The minimal footprint philosophy means dependency chains that work on standard Fedora or Ubuntu may need verification. Test your specific stack before committing.
Who Should Evaluate Now
If you are starting a new Azure-native project with no multi-cloud requirements, Azure Linux 4.0 belongs in your OS evaluation. The performance gains are real, the cost is zero, and standardizing on a single distro across VMs and containers — once AKS support arrives — simplifies your operational stack considerably.
If you are currently paying RHEL licensing fees for Azure VMs, Azure Linux 4.0 offers a Fedora-compatible alternative worth testing. The RPM and SELinux tooling is familiar, the package manager transition from dnf to dnf5 is minor, and the licensing cost savings alone may justify the migration work.
Multi-cloud teams, teams with strict FIPS requirements, and anyone running production workloads should wait for general availability later in 2026.
How to Try Azure Linux 4.0
Azure Linux 4.0 is available now through the Azure Marketplace at no additional OS cost. Deploy a VM with the Azure CLI:
az vm create --resource-group myResourceGroup --name myAzureLinuxVM --image "MicrosoftCBLMariner:azure-linux-4:azure-linux-4-gen2:latest" --admin-username azureuser --generate-ssh-keys
Full documentation is on Microsoft Learn. AKS and WSL support are coming in subsequent updates. The project is fully open source on GitHub. Independent technical analysis is available from InfoQ.
Azure is the last major cloud to ship a first-party general-purpose VM OS. Whether you see that as Microsoft catching up to a proven pattern or closing a strategic gap depends on your perspective — but the technical case for Azure-native teams is real enough to take seriously.













