Part 6 - AWS Migration project step by step
VM Import/export links: Enayat Meer
Please watch the previous 5 videos
AWS CLI:
https://docs.aws.amazon.com/cli/lates...
1) vm import export:
https://aws.amazon.com/ec2/vm-import/
2) Trust-policy.json and import-policy.json link:
https://docs.aws.amazon.com/vm-import...
3) Importing a VM as an image using VM Import/Export - AWS
https://docs.aws.amazon.com/vm-import...
create a role command - copied from the website: Below is the original line
aws iam create-role --role-name vmimport --assume-role-policy-document
"file://C:\import\trust-policy.json"
replace file path with your saved file: Below are customized lines with my own
file-path for 3 JSON files
1A ) aws iam create-role --role-name vmimport --assume-role-policy-document
"file://C:\AWS-ova\trust-policy.json"
2A ) aws iam put-role-policy --role-name vmimport --policy-name vmimport --
policy-document "file://C:\AWS-ova\role-policy.json"
3A ) aws ec2 import-image --description "Windows 8 ova" --disk-containers
"file://C:\AWS-ova\containers.json"
for a new image with office and Note++
aws ec2 import-image --description "Windows 8 ova host 2" --disk-containers
"file://C:\aws-ova2\Windows 8 OVA only\containers.json"
to monitor the import: link for online info:https://docs.aws.amazon.com/vm-
import/latest/userguide/vmimport-image-import.html#export-vm-image
aws ec2 describe-import-image-tasks -import-task-ids import-ami
0ec53f19b6ff8f4d3 [relace this image ID with your own ID]
Monitoring the import
== Below is the customized line for monitoring exported image to AWS
4A ) aws ec2 describe-import-image-tasks -import-task-ids import-ami
048a7964ac18b3750