Microsoft surprised the cloud computing world at its Build 2026 developer conference by launching Azure Linux 4.0 into public preview. The free, Microsoft-maintained Linux distribution, built on a Fedora foundation, is now available on Azure Virtual Machines and Virtual Machine Scale Sets. This move marks a significant evolution of Azure Linux from an internal cloud-first OS into a fully supported, publicly accessible platform that integrates seamlessly with Microsoft’s cloud infrastructure.
For years, Azure Linux—previously known as CBL-Mariner—served as the lightweight, secure operating system underpinning many of Microsoft’s own Azure services. With version 4.0, Microsoft is not only opening the doors wider for external users but also fundamentally shifting the distribution’s core to align with the Fedora ecosystem. The result is a modern, container-oriented OS that combines the reliability of Red Hat’s upstream innovation with Microsoft’s own optimizations for cloud-scale performance.
The announcement comes as enterprises increasingly seek cost-effective, container-optimized operating systems for their cloud-native workloads. Azure Linux 4.0 positions itself as a compelling alternative to other minimalist distros, offering deep integration with Azure services, a familiar DNF5 package manager, and a predictable lifecycle backed by Microsoft’s support.
What Is Azure Linux and Why Does Version 4.0 Matter?
Azure Linux originated as the Common Base Linux (CBL)-Mariner, an internal project by Microsoft’s Linux Systems Group. It was designed to provide a consistent, secure foundation for Azure services such as Azure Kubernetes Service (AKS), Azure Arc, and various software-defined networking components. Unlike feature-heavy distributions, Azure Linux focuses on the essentials: a small footprint, minimal attack surface, and fast boot times.
With the release of Azure Linux 3.0, Microsoft first made the distribution available for general use, but it remained a niche tool primarily adopted by teams already deep within the Microsoft cloud ecosystem. Version 4.0 is a deliberate pivot to broaden its appeal. By basing the distro on Fedora—one of the most influential upstream Linux projects—Microsoft taps into a vast repository of packages, a modern kernel, and a community-driven development model. This reduces fragmentation and allows users to leverage existing Fedora expertise.
The shift to DNF5 as the default package manager is another significant change. DNF5 is the next-generation package manager for Fedora and Red Hat-based systems, offering faster dependency resolution, lower memory usage, and improved transactional updates. For administrators managing large fleets of VMs, this translates into quicker patch cycles and more reliable software installations.
Key Features and Improvements in Azure Linux 4.0
Fedora Core Integration
The most prominent architectural change is the rebase onto Fedora. Previous versions of Azure Linux traced their lineage to a custom package set derived from Microsoft’s internal needs. By adopting Fedora as the base, Microsoft aligns Azure Linux with the broader Linux ecosystem. This means:
- Access to tens of thousands of pre-built RPM packages.
- Better hardware support via the latest kernel and drivers.
- Improved compatibility with existing Fedora/RHEL tooling.
- A more transparent and community-friendly development process.
DNF5 Package Manager
DNF5 replaces both the old DNF and MicroDNF tools, combining their functionality into a single, streamlined package manager. It reduces disk space, speeds up transactions, and provides a unified CLI. For cloud environments where every megabyte of RAM and every CPU cycle counts, DNF5’s efficiency is a welcome improvement.
Enhanced Container and Kubernetes Support
Azure Linux 4.0 is built with containers in mind. It includes pre-configured settings for running Docker and containerd workloads, and it integrates natively with Azure Kubernetes Service. The kernel is tuned for rapid scaling and minimal latency, which is critical for VM Scale Sets that must handle sudden traffic spikes. Additionally, Microsoft provides curated base images for .NET, Java, Python, and Node.js applications, all optimized for the Azure Linux environment.
Security Hardening by Default
Security remains a top priority. Azure Linux 4.0 ships with a hardened kernel, SELinux enabled by default, and automated security patching via the Azure Linux package feed. Microsoft’s Secure Supply Chain Consumption Framework (S2C2F) ensures that all packages are signed and validated, mitigating supply chain attacks. The distribution includes native support for Azure Key Vault, Managed Identities, and other Azure security services, making it easier to implement zero-trust architectures.
Lifecycle and Support
Microsoft guarantees a two-year support lifecycle for each Azure Linux 4.0 release, with quarterly security and critical patches. This aligns with the rapid cadence of cloud services while providing a stable base for production workloads. Users can opt into the public preview at no cost; general availability will bring production-level support agreements.
Why Fedora? The Strategy Behind the Switch
Choosing Fedora as the upstream is more than a technical decision—it’s a strategic play. Red Hat’s Fedora project is known for cutting-edge features that eventually feed into Red Hat Enterprise Linux (RHEL). By tracking Fedora, Microsoft ensures Azure Linux stays close to the bleeding edge while benefiting from the extensive testing the Fedora community provides. This move also eases the migration path for enterprises running RHEL or CentOS Stream, as Azure Linux now shares a familiar user space.
Furthermore, the partnership between Microsoft and Red Hat has deepened over the years. Joint solutions like Azure Red Hat OpenShift demonstrate the value of tight integration. Azure Linux 4.0 extends that collaboration to the operating system layer, offering a Microsoft-maintained, Fedora-compatible option that can be tightly integrated with Azure’s control plane.
Azure VM Scale Sets: The Perfect Match
Azure Linux 4.0 is designed to excel in horizontally scaling environments. VM Scale Sets allow users to create and manage a group of identical, load-balanced VMs that automatically scale based on demand or a schedule. Azure Linux’s lightweight nature means that new instances can be provisioned in seconds, a critical requirement for responding to traffic bursts. The distribution’s small size also reduces storage costs and speeds up image transfers.
When combined with Azure’s Autoscale rules, Azure Linux 4.0 nodes can be added or removed dynamically, with applications remaining responsive. The built-in support for cloud-init enables custom configurations during first boot, allowing teams to embed scripts that join the node to clusters, install monitoring agents, or pull secrets from Key Vault—all without manual intervention.
How to Get Started with Azure Linux 4.0 Public Preview
Deploying Azure Linux 4.0 during the public preview is straightforward for anyone with an Azure subscription. From the Azure Portal, create a new Virtual Machine or VM Scale Set, and choose "Azure Linux 4.0 x64 Gen2" from the image gallery. Alternatively, use the Azure CLI:
az vm create \
--resource-group myResourceGroup \
--name myAzureLinuxVM \
--image AzureLinux:azure-linux-4:4-lts:latest \
--generate-ssh-keys
The same approach works for VM Scale Sets, where the base image can be specified in the scale set model. Microsoft recommends starting with the test environment to validate application compatibility, especially if migrating from an older Azure Linux version or another distribution.
During the preview, no SLA is attached, and production use is at the user’s discretion. However, Microsoft actively monitors preview forums and GitHub issues to address bugs quickly. The company has also published detailed migration guides for moving from version 3.0 to 4.0, noting key differences such as the package manager transition and changes in default configuration files.
Community Reactions and Early Feedback
The initial response from the cloud-native community has been cautiously optimistic. Developers accustomed to Fedora welcome the familiar environment, while enterprises appreciate the prospect of a free, Microsoft-supported Linux distro that reduces licensing complexity. On social media and early-adopter forums, many users have praised the speed of DNF5 and the reduction in base image size compared to Ubuntu or RHEL.
Some concerns have been raised about the longevity of Microsoft’s commitment to Linux, given the company’s historical ambivalence. However, Azure Linux’s track record as the internal workhorse for Azure eases those fears. The public preview release reinforces the narrative that Microsoft sees Linux as a critical part of its cloud strategy, not a competing product.
Another point of discussion is the alignment with Fedora’s rapid six-month release cycle. Microsoft has clarified that Azure Linux 4.0 will follow its own LTS cadence, pulling select updates from Fedora while maintaining a stable kernel and user space. This hybrid approach aims to balance innovation with enterprise stability.
Comparisons with Other Cloud-Optimized Distros
Azure Linux 4.0 enters a crowded field of specialized cloud operating systems. Here’s how it stacks up against key competitors:
| Distribution | Base | Package Manager | Key Strength |
|---|---|---|---|
| Azure Linux 4.0 | Fedora | DNF5 | Native Azure integration, free |
| Bottlerocket | Custom (AWS) | Host containers | Immutable design, AWS integration |
| Flatcar Container Linux | Gentoo | Torcx/Ignition | Community-driven, cloud-agnostic |
| Ubuntu Minimal | Ubuntu | APT | Broad ecosystem, long support |
| Red Hat UBI | RHEL | DNF | RHEL certification, enterprise support |
Azure Linux’s differentiation lies in its tight coupling with Azure services and its zero-cost model. For organizations already invested in the Azure ecosystem, it offers a streamlined path to compliance and performance optimization.
The Road Ahead: From Preview to Production
Microsoft has not yet announced a firm date for general availability, but history suggests a typical preview period of three to six months. During that window, the Azure Linux team will focus on stabilizing DNF5 integration, hardening security profiles, and responding to user feedback. The company also hinted at upcoming features like official support for Azure Confidential Computing VMs and enhanced GPU driver support for AI workloads.
One notable area of future development is the Azure Linux Container Host for AKS, which already uses Azure Linux as the node OS. Version 4.0 improvements will likely flow into that offering, further reducing node boot times and improving pod density.
Conclusion
The public preview of Azure Linux 4.0 represents a pivotal moment in Microsoft’s cloud-native journey. By embracing Fedora and DNF5, Microsoft is betting on open-source collaboration while delivering a hardened, cost-effective operating system tailored for Azure’s scale. For DevOps teams, the combination of a familiar Linux distribution and first-party Azure support removes friction and accelerates deployment. As the preview evolves and feedback pours in, Azure Linux 4.0 is poised to become a cornerstone of efficient, secure cloud infrastructure on Microsoft’s cloud platform. Users eager to test its capabilities can spin up a free VM today and join the conversation that will shape the next generation of cloud Linux.