Link to home
Start Free TrialLog in
Avatar of cansuciftci
cansuciftci

asked on

AWS Error importing VMDK file using EC2 api tools

I am trying to import my virtual box to EC2. Here are my commands and the errors I got.

Command:

[ec2-user@ip-myip ~]$ ec2-import-instance ubuntu1.vmdk -f VMDK -t m1.small -a x86_64 -b import -o myAwsAccessKey -w myAwsSecretKey --region eu-west-1c

Error:

Required option '-O, --aws-access-key KEY' missing (-h for usage)

Command:

[ec2-user@ip-myip ~]$ ec2-import-instance ubuntu1.vmdk -f VMDK -t m1.small -a x86_64 -b import -O myAwsAccessKey -W myAwsSecretKey --region eu-west-1c

Error:

Required option '-o, --owner-akid OWNERAKID' missing (-h for usage)

Where is the problem?
Avatar of Shalom Carmel
Shalom Carmel
Flag of Israel image

Try to supply the access credentials twice, both with o,w and with O,W.
The problem seems to be the region just put us-east-1 without c

Regards
Raúl Medina
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.