# Azure Linux 4: What changes when you put it into production?

The first thing to check on an Azure Linux 4 pilot is whether a brand new instance can serve traffic without anyone touching it. A VM can boot successfully while cloud-init fails to install an agent, SELinux blocks a service from reading its certificate, or a native dependency prevents the application from starting. The scale set looks healthy until traffic arrives. That gap between *VM running* and *application ready* is where an OS migration earns its keep. Microsoft announced general availability for Azure Linux 4 virtual machines, Virtual Machine Scale Sets and container images on 17 November 2026. Its their first Azure Linux release designed as a general purpose server OS for customer VMs. The distribution is Fedora-derived, uses RPM packages and carries no separate OS licence fee on Azure. For platform teams already operating a fleet there, the interesting part is the opportunity to standardise what gets built, tested, patched and replaced.

## The compatibility work starts below the application

Azure Linux 4 ships with Linux 6.18 LTS, glibc 2.42, OpenSSL 3.5, systemd 258, RPM 6, Python 3.14 and dnf5. If you're coming from an earlier Azure Linux release, search image builds, Dockerfiles, cloud-init and recovery scripts for `tdnf`. Microsoft documents the move to `dnf5` or `dnf`. After changing the command, check package names, repository configuration, dependency resolution and the behaviour of unattended installs. If a provisioning script parses package-manager output, include that script in the image tests.

On a .NET workload, Id test the paths most likely to exercise the underlying OS. A green unit test suite can coexist with a failed outbound TLS handshake, broken certificate chain validation or a native library that fails to load. Exercise the actual SQL and HTTPS endpoints, including private CAs and mutual TLS where deployed. Run a test using real Unicode input and locale sensitive data if the application depends on ICU. Include any NuGet package that ships native assets, and repeat the tests for each architecture you publish. A self contained .NET deployment carries the runtime, but can still depend on OS provided native libraries. The kernel needs its own compatibility pass. An agent that depends on eBPF, a third party kernel module or a particular GPU driver should be tested on the actual image and VM size. For a GPU worker, provision a fresh instance and run a representative inference job. A successful driver install alone tells you very little about whether autoscale can bring usable capacity online.

## A VM, a Kubernetes node and a container have different update paths

The Azure Linux name spans several deployment choices. A container carries its own user space files and shares the node's kernel. Updating its base image can replace glibc and OpenSSL inside the container. A kernel fix still needs to reach the VM or node running it.

| What you deploy | What you need to update |
| --- | --- |
| Azure Linux 4 VM or scale set | Apply guest OS updates or roll out a refreshed VM image. Verify the running kernel after any required reboot. |
| AKS node pool | Use the supported node OS SKU and upgrade channel for that cluster. Track the node image version. |
| Application container | Rebuild from an updated base image, test the resulting application image and redeploy it. |

The Azure Linux 4 VM announcement has a specific scope. For AKS, Microsoft documents Azure Linux Container Host and Azure Container Linux (ACL) as separate node OS options. ACL is generally available starting with AKS 1.34. It's Flatcar derived, uses Azure Linux packages and servicing, protects a read-only `/usr` with dm-verity and uses full node image updates. If you're considering ACL, validate your DaemonSets and any host level agents against that operating model before moving production workloads.

## A repeatable pilot for a .NET worker

Take one stateless worker that reads Azure Service Bus messages and calls an internal HTTPS API. Keep the application build, VM size, region and startup configuration comparable so you can attribute changes to the OS. Start by listing the available x64 Marketplace builds. Use `4-arm64` as the SKU for Arm64.

```bash
az vm image list \
  --location westeurope \
  --publisher microsoftazurelinux \
  --offer azurelinux-4 \
  --sku 4 \
  --all \
  --query '[].{Version:version,URN:urn}' \
  --output table
```

Pin a returned image version in infrastructure as code and record the resolved image alongside the application build. Use the same pair for the canary and the wider rollout. Refresh that pin through your normal patch pipeline so each new version goes through the same checks. Measure the time from an instance being requested to its first successful message processing. Also capture how long it takes the queue to return to its normal depth after a burst. Those two numbers tell you whether the OS change improves the workload’s ability to add capacity. Watch certificate errors, dead letter counts, processing latency and memory under the same load. If the service regresses, bring capacity back on the previously approved image and let in-flight work drain where possible. Keep the rollback image available until you’ve exercised both scale out and replacement.

## Security claims need evidence from the deployed instance

Microsoft says SELinux is enabled by default. On the pilot, confirm its mode, then run the workload through its full lifecycle, including writing temporary files, rotating certificates and restarting. If the service fails with a permissions error, inspect the audit log alongside the ordinary Unix permissions. A file can have the expected owner and mode while its SELinux label still prevents access. Verify Trusted Launch settings on the deployed VM as well, especially if your image pipeline or extensions introduce kernel modules. Microsofts release notes list FIPS 140-3 certification as pending, so use a certified release where the workload requires it. They describes a monthly security update cadence, with Critical and High severity fixes fast tracked and fixes backported where appropriate. Record the full installed RPM version, including its release, and match it to the vendor advisory. An upstream version string on its own can lead to the wrong conclusion about patch status. For kernel fixes, record `uname -r` too. The package inventory can show the fixed kernel installed while the machine is still running the previous one.

## Where Id use it first

I'd probably start with a stateless Azure VM workload that the team already knows how to replace. It gives you a practical way to test provisioning, native dependencies, monitoring, patching and rollback without making the first trial depend on a database migration or a cluster wide node change. If the pilot passes, the strongest case for adopting Azure Linux 4 is that the team can take a new image from publication to production on a predictable schedule, with evidence that the application still works.

[Marketplace image discovery and versioning](https://learn.microsoft.com/en-us/azure/azure-linux/identify-azure-linux-system)

[Microsofts GA announcement](https://techcommunity.microsoft.com/blog/linuxandopensourceblog/azure-linux-4-is-generally-available/4573381)

[Azure Linux 4 component and package-management changes](https://learn.microsoft.com/en-us/azure/azure-linux/whats-new-azure-linux-4)

[Azure Linux 4 GA scope](https://azure.microsoft.com/en-us/updates?id=581165)

[Azure Container Linux for AKS](https://learn.microsoft.com/en-us/azure/azure-linux/azure-container-linux-overview)

[GA security features](https://techcommunity.microsoft.com/blog/linuxandopensourceblog/azure-linux-4-is-generally-available/4573381)

[Azure Linux 4 release details](https://learn.microsoft.com/en-us/azure/azure-linux/whats-new-azure-linux-4)

[Azure Linux servicing model](https://learn.microsoft.com/en-us/azure/azure-linux/release-cadence-lifecycle)
