An Azure service that is used to provision Windows and Linux virtual machines.
CentOS 8.3.2011 is end-of-life, so there are two main options in Azure:
- Stay CentOS-compatible (in-place conversion)
- Pick a CentOS-compatible distribution such as Red Hat Enterprise Linux, AlmaLinux, Oracle Linux, or Rocky Linux.
- Use that distribution’s conversion/migration tooling to convert the existing VM in place. Many of these tools replace CentOS packages and update repositories while keeping data and configuration:
- Red Hat Enterprise Linux: a conversion tool is available from Red Hat.
- AlmaLinux: provides a migration guide and conversion tool.
- Oracle Linux: provides migration tooling and guidance.
- Rocky Linux: provides a
migrate2rockyconversion tool.
- Before conversion:
- Take a backup of the VM or a snapshot of the OS disk.
- Ensure the VM was created from an image that does not embed software billing information (for example, a custom image or the OpenLogic CentOS Marketplace image). If the image has a price associated, converting in place may result in double-paying (original image plus new subscription).
- After conversion, use the new distribution’s package manager to keep the OS updated.
- Redeploy to a new OS (recommended for Azure integration)
- Create a new Azure VM using a supported, endorsed Linux distribution image (for example, RHEL, AlmaLinux, Rocky Linux, etc.).
- Deploy applications and restore data to the new VM.
- Cut over traffic/workloads to the new VM and decommission the old CentOS VM.
- This approach keeps the Azure control plane aligned with the VM OS so that Azure features such as automatic guest patching, automatic OS image upgrades, hotpatching, and Azure Update Manager remain available.
If an in-place major version upgrade is performed after migration (for example, CentOS 7 → RHEL 7 → RHEL 8) instead of redeploying, Azure control-plane features like automatic guest patching, automatic OS image upgrades, hotpatching, and Azure Update Manager will not be available. In such cases, creating a new VM with the target OS is recommended.
References: