Skip to main content
πŸŽ“ Claude Code Masterclass Learn AI-assisted development on Udemy β€” plus the companion book on Leanpub & Amazon. Start Learning
Azure Linux 4.0 public preview β€” Microsoft's first-party Linux distribution for Azure
Linux

Azure Linux 4.0: Microsoft's First-Party Linux in Preview

Azure Linux 4.0 is now in public preview: Microsoft's Fedora-derived, dnf5-powered, secure-by-default Linux built for Azure VMs, AKS, and containers.

LB
Luca Berton
Β· 6 min read

A single Linux foundation for every Azure surface

At Microsoft Build 2026, Microsoft opened the public preview of Azure Linux 4.0 β€” its first-party Linux distribution, purpose-built for Azure. If you have ever run Linux on Azure, you already know the operational tax: one distro for virtual machines, another for Kubernetes nodes, a third for container base images, and often something different again on developer laptops. Each one brings its own patch schedule, its own security baseline, and its own moving parts for SRE and security teams to track.

Azure Linux 4.0 is Microsoft’s answer to that sprawl: one Microsoft-supported Linux foundation designed to run across every Azure compute surface β€” VMs, scale sets, containers, and soon AKS and WSL. It ships at no additional cost with Azure compute; you pay only for the underlying resources.

What Azure Linux actually is

Azure Linux is a Fedora-derived, RPM-based distribution built and maintained by Microsoft. It is open source, free to use, and optimized specifically for Azure. It is minimal by choice and secure by default β€” it ships only the packages required for cloud workloads, and it is intentionally not a desktop or GUI distribution.

This is not an experiment. Azure Linux already powers millions of cores across Azure’s internal services, including AKS, Azure SQL, and Azure Cosmos DB. With 4.0, Microsoft is bringing that same OS β€” same security posture, same performance tuning, same operational simplicity β€” to every Azure customer. At general availability you can expect tight integration with the Azure services you already rely on: Microsoft Defender for Cloud, Azure Monitor, Azure Migrate, Trusted Launch and Secure Boot, and the usual deployment tooling (Portal, CLI, ARM, Bicep, Terraform, and Ansible).

What’s new in the 4.0 stack

The headline of 4.0 is a modernized, Fedora-derived base with a refreshed core toolchain:

ComponentVersionWhat changed
Kernel6.18 LTSAzure-tuned with new hardware drivers, improved Hyper-V integration, and GPU/AI accelerator support
Package managerdnf5A complete rewrite that drops heavy dependencies for faster resolution and lower memory usage
glibc2.42Performance improvements in string operations, memory allocation, and thread handling
OpenSSL3.5Post-quantum cryptography support, improved QUIC, and other crypto updates
systemd258Faster boot sequences and improved service management
Python3.14JIT compiler and new syntax features
RPM6.0Modernized database backend and improved signature verification
FIPS 140-3In progressTargeted for general availability

For platform engineers, the two changes that matter most day to day are the kernel (6.18 LTS with first-class Hyper-V and GPU/AI accelerator support) and dnf5 (a leaner, faster package manager that replaces the older dependency-heavy tooling). The move to a Fedora-derived base also brings a familiar RPM workflow to anyone coming from RHEL, Fedora, or CentOS Stream.

Where you can run it today

Azure Linux 4.0 is available now for:

  • Virtual Machines and VM Scale Sets β€” deploy directly from the Azure Marketplace on any supported VM SKU, validated and tuned for Azure compute, storage, and networking.
  • Container images β€” Microsoft-maintained base images from the same supply chain, available on the Microsoft Container Registry (MCR). Three flavors ship:
    • Base β€” full flexibility to install whatever you need.
    • Runtime (Python, Node.js, Java, .NET) β€” pre-configured language stacks (not yet available in preview).
    • Distroless β€” minimal attack surface with no shell and no package manager.

AKS and WSL are coming shortly after Build. When AKS support lands, you opt in a node pool by setting the OS SKU:

az aks nodepool add \
  --cluster-name myAKSCluster \
  --name al4pool \
  --os-sku AzureLinux

And on the developer laptop side, Azure Linux for WSL brings your production OS to your workstation, eliminating environment drift:

wsl --install -d AzureLinux

Azure Container Linux: the immutable, locked-down variant

New in 4.0 is Azure Container Linux (ACL) β€” an immutable, container-optimized variant for environments with stricter security and compliance requirements. Both options share the same kernel, the same security update cadence, and the same Azure integration, fully supported by Microsoft end to end.

Azure Linux (general purpose)Azure Container Linux (ACL)
Update modelPackage-based (dnf5)Image-based, immutable, auto-updating
CustomizationFull package managementLocked-down, minimal surface
Best forGeneral AKS workloadsRegulated, high-security environments
SELinuxSupportedEnforcing by default

If you run regulated or high-security workloads, ACL’s image-based, auto-updating model removes a whole category of drift and configuration risk.

Secure by default

Security is foundational in Azure Linux, not an add-on. Microsoft owns the full supply chain, which means fewer packages to patch and a fast-track path for critical and high CVEs. The security capabilities you should expect at general availability:

  • Secure Boot & Trusted Launch β€” signed shim, GRUB, kernel, and systemd-boot.
  • SELinux β€” supported on all images, enforcing by default.
  • FIPS 140-3 β€” certification in progress, with built-in crypto module support.
  • Kernel hardening β€” ASLR, stack protection, seccomp, and systemd service sandboxing.
  • Supply chain security β€” all packages and repositories cryptographically signed, with published SBOMs.
  • Identity β€” Entra ID SSH support.
  • Lifecycle β€” LTS kernels maintained for the lifetime of the distribution.

For anyone building compliance-sensitive or multi-tenant infrastructure, that combination β€” signed artifacts, SBOMs, enforcing SELinux, and Microsoft-owned CVE response β€” is a meaningful reduction in operational burden.

Proven at scale

Azure Linux is not new to production. Since 2022 it has run large-scale workloads across AKS, Azure SQL, Azure Cosmos DB, LinkedIn, and Databricks. Two customer stories stand out:

  • Databricks migrated over 100,000 VMs and more than 1 million CPU cores to Azure Linux with zero customer-facing incidents. The migration leveraged built-in FIPS support to retire separate hardened images and delivered measurable gains: 27% faster image pull times and roughly 5% faster query execution across their serverless compute fleet.
  • LinkedIn completed a major stack upgrade to Azure Linux 3, enabling configuration-as-code and modern kernel integration, with significant performance improvements reported by their Grid team.

Predictable lifecycle and updates

Azure Linux follows a clear, predictable lifecycle designed for teams running large Azure fleets:

  • LTS kernels maintained with monthly CVE backports.
  • HWE kernels introduced annually for new hardware platforms, GPUs, and AI accelerators.
  • Predictable updates β€” language runtimes and tools are refreshed in predictable windows; between windows, only critical and high CVE patches are backported.
  • Monthly security updates on a predictable cadence for all supported packages.

Getting started

Azure Linux 4.0 is in public preview now. Pick the path that fits your workload:

  • Azure Virtual Machines β€” deploy from the Azure Marketplace via Portal, CLI, ARM, Bicep, or Terraform.
  • Container images β€” pull Base, Runtime, or Distroless images from MCR.
  • AKS β€” set --os-sku AzureLinux when creating a node pool (available at general availability).
  • WSL β€” wsl --install -d AzureLinux once it ships after Build.

Bottom line

Azure Linux 4.0 is Microsoft putting its internal, battle-tested Linux into every Azure customer’s hands. The pitch is operational simplicity: one distro, one security baseline, one predictable update cadence across VMs, containers, and (soon) AKS and WSL β€” at no extra OS licensing cost. For cloud and platform engineers standardizing on Azure, that is worth a serious look during the preview.

If you want me to go deeper on any piece β€” a hands-on VM deployment walkthrough, an AKS node-pool migration, or a dnf5-vs-tdnf practical comparison β€” let me know and I’ll turn it into a follow-up.

#azure #azure-linux #linux #kubernetes #aks #containers #devops #security #fedora
Share:
Cloud Infrastructure Design

Need help with Cloud Infrastructure Design?

Build resilient, cost-effective cloud environments with expert architecture consulting.

Learn more about Cloud Infrastructure Design

Want to operate this yourself, in production?

Take the free AI Platform Engineer Readiness Scorecard to see which skills transfer β€” then build a production-shaped AI platform in the 4-week Bootcamp.

Take the Scorecard β†’
Luca Berton β€” AI & Cloud Advisor, Docker Captain

Luca Berton

AI & Cloud Advisor Β· Docker Captain Β· KubeCon Speaker

15+ years in enterprise infrastructure. Author of 8 technical books, creator of Ansible Pilot (1M+ YouTube views, 648K site users). Former Red Hat engineer. Speaker at KubeCon EU 2026 and Red Hat Summit 2026.

Free 30-min AI & Cloud consultation

Book Now