Migrate a physical centos server from Rackspace to Azure VM

Franklyn Hamilton 0 Reputation points
2025-03-04T12:36:33.3866667+00:00

I have an existing Centos 7 with Rackspace. I want to migrate it over to a VM on Azure and then do an upgrade

Azure Migrate
Azure Migrate
A central hub of Azure cloud migration services and tools to discover, assess, and migrate workloads to the cloud.
878 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Vinodh247 29,781 Reputation points MVP
    2025-03-04T16:15:21.2433333+00:00

    Hi ,

    Thanks for reaching out to Microsoft Q&A.

    Migration Plan: CentOS 7 from Rackspace to Azure VM

    1. Assess and Prepare
    • Verify OS, applications, and dependencies.
    • Check disk size, boot mode (BIOS/UEFI), and network settings.
    • Ensure compatibility with Azure VM and future OS upgrade paths.
    1. Backup the Server
    • Create a full system backup and store it securely.
    • Exclude unnecessary directories like /proc, /sys, /dev, etc.
    1. Convert Physical Server to Virtual Disk
    • Convert the disk to a VHD format (fixed size).
    • Ensure the VHD is bootable and Azure-compatible.
    1. Upload and Deploy in Azure
    • Transfer the VHD to an Azure storage account.
    • Create a managed disk from the uploaded VHD.
    • Deploy a new Azure VM using the managed disk.
    1. Post-Migration Configuration
    • Enable serial console access.
    • Install and configure the Azure Linux Agent.
    • Reconfigure network settings to match Azure's network model.
    1. Upgrade from CentOS 7
    • Choose between upgrading to CentOS Stream 8 or migrating to Rocky Linux.
    • Perform in-place upgrades or clean installations as needed.
    • Verify system functionality and ensure all applications work post-upgrade.
    1. Final Testing and Optimization
    • Check application performance and network connectivity.
    • Monitor logs, enable Azure Monitor and Log Analytics.
    • Plan for future upgrades to RHEL 9, Rocky Linux 9, or another supported OS.

    Please feel free to click the 'Upvote' (Thumbs-up) button and 'Accept as Answer'. This helps the community by allowing others with similar queries to easily find the solution.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.