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 Answer
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
EXPERT
Mike_L
answered 21 days ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions