November 2, 2019

Export EC2 Instance to Hyper-V

When exporting to Hyper-V VM, ContainerFormat=ova needs to be removed so we could export to the VHD file
aws ec2 create-instance-export-task --description "NAT Instance" --instance-id i-xxxxxxxxxxxxxxxxx --target-environment microsoft --export-to-s3-task "DiskImageFormat=VHD,S3Bucket=vhd-migration,S3Prefix=EBS2S3"
Ref: create-instance-export-task Exporting a VM Directly from an Amazon Machine Image (AMI)

No comments:

Post a Comment