跳至内容

Seeking Guidance on Migrating CentOS 7 EC2 Instances to Amazon Linux without Downtime

0

I'm currently managing CentOS 7 EC2 instances in our production environment, and as CentOS 7 is reaching its end-of-life, I'm exploring options for migrating these instances to Amazon Linux. My primary objective is to ensure a seamless transition without causing any downtime to our services.

Could you please provide guidance on the best approach to migrate all services and code from CentOS 7 instances to new Amazon Linux instances while minimizing or eliminating downtime?

1 回答
1
已接受的回答

For guidance about CentOS alternatives, you can refer to CentOS End of Life Guidance

As per that page, Binary/ABI compatible options include RHEL, Rocky Linux, Alma Linux and others.

If you choose RHEL, you can refer to Leapfrog from CentOS 7.9 to Red Hat Enterprise Linux 8.9 with Convert2RHEL and Leapp Utilities on AWS for the steps

Else, you can consider using ELevate to do in-place upgrade from CentOS 7.x to say Rocky Linux 8.

The in-place upgrade will take some time and may not succeed. To minimize downtime, you can consider using AWS Application Migration Service (AWS MGN) to migrate EC2 to another EC2. MGN uses a replication agent to do continuous replication from source EC2. MGN supports test instances for testing your migration, so you can launch a test instance and test out ELevate. If successful, launch cutover instance and upgrade to Rocky with ELevate to complete migration.

AWS
专家

已回答 2 年前

专家

已审核 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。