Microsoft has released the public preview of Azure Linux 4.0, a cloud-optimized Linux distribution designed to unify the operating system layer across its Azure infrastructure. The release, announced at the Microsoft Build conference, provides a standardized, Microsoft-maintained base for Azure Virtual Machines, Virtual Machine Scale Sets, and container environments, with support for Azure Kubernetes Service (AKS) and the Windows Subsystem for Linux (WSL) expected to follow.
What is Azure Linux 4.0?
Azure Linux 4.0 is an RPM-based distribution derived from Fedora, specifically engineered by Microsoft to minimize security risks and streamline maintenance for cloud workloads. By offering a single, consistent OS base across various Azure services, Microsoft aims to reduce the complexity of managing a diverse mix of Linux distributions.

According to Microsoft’s official documentation, the distribution is built to be lightweight, including only the packages necessary for cloud-native operations. It is provided at no additional cost to Azure customers, with the company handling all kernel updates and CVE (Common Vulnerabilities and Exposures) patches on a predictable release schedule.
Technical Specifications and Performance
The 4.0 release introduces significant under-the-hood updates aimed at performance and hardware compatibility:
- Kernel: It utilizes a 6.18 LTS kernel, which Microsoft has optimized for the Azure environment. This kernel includes support for modern hardware drivers, enhanced Hyper-V integration, and specific optimizations for GPU and AI accelerators.
- Core Libraries: The distribution features Glibc 2.42, providing performance gains in memory allocation, thread management, and string operations.
- Security: System services are managed via Systemd 258, which is designed to improve service management and accelerate system boot times. Additionally, OpenSSL 3.5 has been integrated to support post-quantum cryptography and improved QUIC protocol handling.
Introduction of Azure Container Linux
A notable addition in version 4.0 is the introduction of Azure Container Linux (ACL). This variant is an immutable, container-optimized OS designed for environments that require higher levels of security and strict regulatory compliance. Because the file system is read-only, it reduces the attack surface and prevents unauthorized configuration changes during runtime.
Strategic Comparison: Azure Linux vs. General-Purpose Distributions
Unlike general-purpose Linux distributions such as Ubuntu or RHEL, which must account for a vast array of hardware and use cases, Azure Linux is purpose-built for the cloud.
| Feature | Azure Linux 4.0 | General-Purpose Distributions |
|---|---|---|
| Optimization | Cloud/Azure-specific | Broad compatibility |
| Maintenance | Managed by Microsoft | Community or Vendor-led |
| Footprint | Minimal (Cloud-only packages) | Full feature set/Desktop support |
| Security | Azure-integrated CVE patching | Standard upstream patching |
Frequently Asked Questions
Is Azure Linux 4.0 open source?
Yes, Microsoft develops Azure Linux as an open-source project. Users can access the source code and contribute via the official GitHub repository.
Does Azure Linux replace other distributions on Azure?
No. Microsoft continues to support a wide ecosystem of third-party Linux distributions on Azure. Azure Linux is offered as a specialized, optimized alternative for users seeking a more integrated experience with the Azure platform.
How does the update cycle work?
Microsoft manages the lifecycle of the OS, including kernel updates and security patches. These are delivered through a predictable cadence aligned with the Azure infrastructure to ensure stability for enterprise applications.