Migrate an operating system

Updated at:

Operating systems such as CentOS 7/8 and Windows Server 2008/2012 have reached end of life (EOL) and no longer receive security updates. If your ECS instance runs an EOL operating system, you can use SMC to migrate it to a supported OS for continued maintenance and security.

Note

For more information about the maintenance cycle of operating systems, see OS lifecycle overview.

Scenarios

  • Your OS has reached EOL and requires continued support.

    Discontinued CentOS and Windows Server versions require migration or upgrade for ongoing maintenance and technical support.

  • Your current OS does not meet business requirements.

    Migrate to improve system reliability and performance, or resolve incompatibility with specific software, hardware, or other devices.

Benefits

  • Ease of use

    Perform migrations from the SMC console. Track progress and view logs.

  • Strong reliability

    Snapshots are created automatically without manual intervention.

  • High security

    The original system disk is released and replaced by a new system disk that contains all original data, preventing data loss.

Migration process

The following figure shows how to migrate CentOS 7 on an ECS instance to Alibaba Cloud Linux 3.

image

Supported migration paths

Only migration schemes described in the following tables are supported.

Linux

CentOS 7/8

Architecture

Source

Destination

x86

CentOS 7.x

  • AnolisOS 7

  • AnolisOS 8

  • Alibaba Cloud Linux 2

  • Alibaba Cloud Linux 3

  • Red Hat 7

    Note

    Migration from CentOS 7.9 to Red Hat 7 is available only to select users. To use this feature, submit a ticket.

CentOS 8.x

  • AnolisOS 8

  • Alibaba Cloud Linux 3

  • Red Hat 8

    Note

    Migration from CentOS 8.5 to Red Hat 8 is available only to select users. To use this feature, submit a ticket.

ARM64

CentOS 7.x

  • AnolisOS 7

  • AnolisOS 8

  • Alibaba Cloud Linux 3

CentOS 8.x

  • AnolisOS 8

  • Alibaba Cloud Linux 3

Red Hat 7/8

Architecture

Source

Destination

x86

Red Hat 7.9

  • Alibaba Cloud Linux 3

  • Red Hat 8

    Note

    You cannot specify a minor version for the destination Red Hat operating system.

Red Hat 8.x

  • Red Hat 9

    Note

    You cannot specify a minor version for the destination Red Hat operating system.

  • Alibaba Cloud Linux 3

Alibaba Cloud Linux 2

Architecture

Source

Destination

x86

Alibaba Cloud Linux 2

Alibaba Cloud Linux 3

Windows

Windows Server 2008 R2

Windows Server 2008 R2 is no longer supported. You can migrate your workloads to Windows Server 2016 or 2019, which are in the mainstream support phase.

Important

Due to limitations of the Windows OS migration feature, you cannot directly migrate Windows Server 2008 R2 to Windows Server 2016 or 2019. You must first migrate to an intermediate version, Windows Server 2012 R2.

  1. Migrate Windows Server 2008 R2 to the intermediate version, Windows Server 2012 R2.

    OS architecture

    Source OS

    Target OS

    x86

    Windows Server 2008 R2 Standard 64-bit (Chinese/English)

    Windows Server 2012 R2 Datacenter 64-bit (Chinese/English)

    Windows Server 2008 R2 Enterprise 64-bit (Chinese/English)

  2. Migrate Windows Server 2012 R2 to Windows Server 2016 or 2019.

    OS architecture

    Source OS

    Target OS

    x86

    Windows Server 2012 R2 Datacenter 64-bit (Chinese/English)

    • Windows Server 2016 Datacenter 64-bit (Chinese/English)

    • Windows Server 2019 Datacenter 64-bit (Chinese/English)

Windows Server 2012 R2

Windows Server 2012 R2 is no longer supported. You can migrate your workloads to Windows Server 2016 or 2019, which are in the mainstream support phase.

OS architecture

Source OS

Target OS

x86

Windows Server 2012 R2 Standard 64-bit (Chinese/English)

  • Windows Server 2016 Datacenter 64-bit (Chinese/English)

  • Windows Server 2019 Datacenter 64-bit (Chinese/English)

Windows Server 2012 R2 Datacenter 64-bit (Chinese/English)

Windows Server 2016

OS architecture

Source OS

Target OS

x86

Windows Server 2016 Standard 64-bit (Chinese/English)

  • Windows Server 2019 Datacenter 64-bit (Chinese/English)

  • Windows Server 2022 Datacenter 64-bit (Chinese/English)

Windows Server 2016 Datacenter 64-bit (Chinese/English)

Windows Server 2019

OS architecture

Source OS

Target OS

x86

Windows Server 2019 Datacenter 64-bit (Chinese/English)

Windows Server 2022 Datacenter 64-bit (Chinese/English)

Migration procedure

Warning

Applications installed on the original system kernel may not work after migration. Test all business applications on the destination OS before you migrate.

For more information about how to migrate or upgrade a Linux operating system, see Operating system migration (Linux).

For more information about how to migrate or upgrade a Windows operating system, see Operating system migration (Windows).