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, 2019 in AWS by Hannah
• 18,520 points
750 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, 2019 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
• 58,020 points
5,646 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,170 points
11,407 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,170 points
19,855 views
0 votes
1 answer
0 votes
1 answer
–1 vote
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
• 58,020 points
5,204 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP