VM Import/Export on AWS | Part of personal Cloud DevOps Engineer project
VM Import/Export enables you to import virtual machine (VM) images from your existing virtualization environment to Amazon EC2, and also to export them back.
Enables you to migrate applications and workloads to Amazon EC2
Copy your VM image catalog to Amazon EC2, or create a repository of VM images for backup and disaster recovery.
Export VM from its current environment as an OVA file (or VMDK, VHD, or RAW) if your are testing this make sure the VM has atleast one user configured with password)
Create a S3 bucket and upload the VM image to S3 using upload/drag and drop or using AWS CLI
Once the VM image is uploaded, import your VM using the ec2 import-image command. As part of this command, you can specify the licensing model and other prarameters for your imported image.
Use the ec2-describe-import-image-tasks command to monitor the import progress
Once your import is completed, you can use the ec2 run-instances command to create an Amazon EC2 instance from the AMI generated during the import process or launch EC2 Instance from the AMI created using console, or Copy the AMI to other region.