1

Following is the code I found in web

ec2-import-volume xxx.vmdk -f vmdk -b <S3 bucket name> -O
    <ACCESS KEY> -W <SECURITY KEY> -o <ACCESS KEY> -w <SECURITY KEY>
    -z <your zone, ex:-ap-southeast-1a> --region <your region, ex:-
    ap-southeast-1>

1 Answer 1

2

I don't see that in the description of ec2-import-volume at the EC2 CLI documentation.

The syntax is documented as:

ec2-import-volume disk_image -f file_format [-s volume_size ] -z availability_zone [- b s3_bucket_name ] [-o owner ] -w secret_key [--prefix prefix ] [--manifest-url url ] [-d description ] [--x days ] [--ignore-region-affinity] [--dry-run] [--no-upload] [--dont- verify-format]

That said, the EC2 CLI is a legacy tool and has, for most purposes, been superseded by the unified AWSCLI.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.