Import VM using AWS CLI

0 votes
I need to import a VM(on-prem) onto the cloud using the VM import/export tools. What exact CLI command I need to give to import an OVA?

Thanks!
Oct 17 in AWS by Hannah
• 16,420 points
27 views

1 answer to this question.

0 votes

Hey, you can use the following command to import an OVA:

aws ec2 import-image --description "My server VM" --disk-containers "file://C:\import\containers.json

If you wish to import multiple disks, use the following command:

aws ec2 import-image --description "My server disks" --disk-containers "file://C:\import\containers.json"
answered Oct 17 by Rick

Related Questions In AWS

+1 vote
3 answers

How to get ARN for s3 Bucket using aws cli .

An ARN is a non-opaque, constructible identifier, ...READ MORE

answered Aug 16, 2018 in AWS by Priyaj
• 56,920 points
1,584 views
0 votes
1 answer
0 votes
1 answer

AWS S3 CLI : error while trying to copy files locally using terminal

For the first error you should add ...READ MORE

answered Aug 3, 2018 in AWS by Archana
• 4,090 points
1,554 views
0 votes
1 answer

How to download the latest file in a S3 bucket using AWS CLI?

You can use the below command $ aws ...READ MORE

answered Sep 6, 2018 in AWS by Archana
• 4,090 points
4,922 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

How to decrypt the encrypted S3 file using aws-encryption-cli --decrypt

Use command : aws s3 presign s3://mybucket/abc_count.png you get ...READ MORE

answered Oct 22, 2018 in AWS by Priyaj
• 56,920 points
674 views