Migration
Migrating EC2 Instances to OpenShift Virtualization
Red Hat OpenShift Service on AWS (ROSA) provides a managed OpenShift environment that can run virtualized workloads using OpenShift Virtualization. This guide will walk you through migrating an existing EC2 instance to OpenShift Virtualization by exporting it to S3, syncing to EFS, and importing as a VM.
Prerequisites
- A Red Hat OpenShift on AWS (ROSA) 4.19+ cluster
- AWS CLI configured with appropriate permissions
- SSH public key at
~/.ssh/id_rsa.pub(REQUIRED - for key-based authentication) - Terraform installed
- OC CLI (Admin access to cluster)
- virtctl CLI tool
Clone the Repository
First, clone the repository and navigate to the project directory: