Update Debian OS on-site

Ayoub Saghir 20 Reputation points
2023-01-26T14:54:00.1733333+00:00

Hi,
i wanted to ask u kindly about the ways to update a Debian OS VM in Azure Platforms.
My Debian machine version is 10 (Buster) and i wanted to update it to 11 (Bullseye).

Can Azure Migration help me with that? like preparing a new VM Debian os 11 and then transfer the data to it.

I know these other ways too:

  • lift and shift
  • traditional way on-site, performing a dry-run upgrade.
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,013 questions
Azure Migrate
Azure Migrate
A central hub of Azure cloud migration services and tools to discover, assess, and migrate workloads to the cloud.
925 questions
0 comments No comments
{count} votes

Accepted answer
  1. JimmySalian-2011 42,486 Reputation points
    2023-01-26T15:51:12.2166667+00:00

    Hi,

    The Migration and modernization tool only supports like-for-like migrations currently. The tool doesn’t support upgrading the OS version during migration. The migrated machine will have the same OS as the source machine.

    I will suggest lift and shift approach instead of migration if it is single VM.

    Also check the supported matrix for the OS and version - [https://learn.microsoft.com/en-us/azure/virtual-machines/linux/create-upload-generic

    Hope this helps.

    JS

    ==

    Please Accept the answer if the information helped you. This will help us and others in the community as well.


1 additional answer

Sort by: Most helpful
  1. AnuragSingh-MSFT 21,546 Reputation points Moderator
    2023-02-06T04:52:01.7266667+00:00

    @Ayoub Saghir thank you for the reply. Can you please clarify the question further based on the following points:-

    1. Azure Migrate helps you discover, assess and migrate applications, infrastructure and data from your on-premises environments to Azure. In this regard, the lift-and-shift migration strategy allows you to re-host your existing workload. Please see On Prem To The Cloud: Lift and Shift (Ep 2) for a discussion on it. I would like to understand - what is your end goal? Are you trying to move a Debain VM from on-prem environment to Azure VM? If yes, then Azure Migrate can help you with that, based on the answer given by Marshaljs above.
    2. Also, could you please clarify update a Debian OS VM in Azure Platforms. Is the Debian VM already hosted as Azure VM, and you are trying to upgrade from v10 to v11? If your question is related to upgrading the Azure VM running Debian 10 to Debain 11, it is not supported OS for automatic upgrade, as listed here - Supported OS images for automatic OS image upgrade. However, you can upgrade it as you would upgrade an on-prem VM.

    Please let us know if you have any questions.

    0 comments No comments

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.