mardi 23 juin 2015

aws ec2 modern.ie image upload

Has anyone been successful to upload a modern.ie vdmk image to aws ec2? I've tried via the ec2 import instance command:

ec2-import-instance IE10.Win7.For.Windows.VMWare\IE10_-_Win7-disk1.vmdk -f vmdk -t t2.small -a i386 -b xxxx --subnet subnet-xxxxx -p Windows -o %AWS_ACCESS_KEY% -w %AWS_SECRET_KEY% ...

but once i described the import, i got: ClientError: Unsupported Windows OS

After some reading I attempted to create an AMI via the aws cli interface after loading the file to s3 creating the policies etc:

aws ec2 import-image --cli-input-json "{ \"Description\": \"ModernIE Win7IE10\", \"DiskContainers\": [ { \"Description\": \"First CLI task\", \"UserBucket\": { \"S3Bucket\": \"xxx_temp\", \"S3Key\" : \"IE10_-_Win7-disk1.vmdk\" } } ], \"LicenseType\": \"BYOL\", \"Architecture\": \"i386\", \"Platform\": \"Windows\"}"

But describing the import i get : "StatusMessage": "ClientError: Disk validation failed [Invalid S3 source location]"

I've even made the bucket url public!

Anyone have any ideas?

Thanks!




Aucun commentaire:

Enregistrer un commentaire