Synatx:
ec2-import-instance disk_image_filename -f file_format -t instance_type -a architecture -b s3_bucket_name -o owner -w secret_key -p platform_name
ec2-import-instance disk_image_filename
-f file_format
-t instance_type
-a architecture
-b s3_bucket_name
-o owner
-w secret_key
-p platform_name
-O your_access_key
-W your_secret_key
Example 1:(Windows)
C:>
ec2-import-instance ./WinSvr8-2-32-disk1.vmdk -f VMDK -t m1.small -a i386 -b myawsbucket -o AKIAIOSFODNN7EXAMPLE -w wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY -p Windows -O AKIAI44QH8DHBEXAMPLE -W je7MtGbClwBF/2Zp9Utk/h3yCo8nvbEXAMPLEKEY
Example 2:(Linux)
$
ec2-import-instance rhel6.4-64bit-disk.vhd -f vhd -t m3.xlarge -a x86_64 -b myawsbucket -o AKIAIOSFODNN7EXAMPLE -w wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY -p Linux
aws s3 cp F:santhoshraspsodyovfWindows_7_x64-disk1.vmdk s3://avnetbucketusstandard/
aws ec2 import-image –cli-input-json "{ "Description": "raspsody import", "DiskContainers": [ { "Description": "raspsody import","UserBucket": { "S3Bucket": "avnetbucketusstandard","S3Key" : "Windows_7_x64-disk1.vmdk" } } ]}"
I visit daily some web pages and information sites to
read posts, however this website gives feature based posts.