Convert OVA to AWS AMI

OVA TO AWS AMI CONVERSION

There are cases, were you have to convert on-prem OVA to AWS AMI.

Below are steps to convert an OVA to AWS AMI:

  1. Upload the file to EC2 instance.
  2. Unzip the file
    tar xvf xxxxxxx_xxx_xx.ova
  3. Copy the .vmdk file to S3 bucket
  4. Create a file in ec2 — conversion.json

[{

“Description”: “Convert OVA to AMI”,

“Format”: “vmdk”,

“UserBucket”: {

“S3Bucket”: “s3bucketname”,

“S3Key”: “xxxxxxx_xxx_xx.vmdk”

}}]

5. Execute —

aws ec2 import-image — description “Convert OVA to AMI” — disk-containers file://conversion.json

6. Execute —

aws ec2 describe-import-image-tasks — import-task-ids import-ami-xxxx

Let me know in comments if you have any issues :)

--

--

--

An IT girl on weekday; A bibliophile, binge watcher, amateur painter by weekend; Wants to give a shot to anything and everything in life.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

For the want of a nail, the shoe was lost

THE STORY SO FAR WITH FOX

Mediator Design Pattern In .NET C#

The Mediator Design Pattern in DotNet (.NET) CSharp (C#) with code samples Mediatr Software Architecture Engineering Development Coding Programming Best Practice Enhancement

TAB Early Adopters

When technical skills meet domain knowledge.

1st AMA Review

SAP Ariba : A cloud-based innovative solution for Procurement.

Eliminate Object Locator Flakiness with Self-healing | Katalon Solution

Eliminate Object Locator Flakiness with Self-healing using Katalon Studio

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Soumya's Yellow Wall

Soumya's Yellow Wall

An IT girl on weekday; A bibliophile, binge watcher, amateur painter by weekend; Wants to give a shot to anything and everything in life.

More from Medium

How To Use AWS EC2, EBS And S3 With The Help Of AWS CLI (Command Line Interface)

Recreating Heroku’s Push-to-Deploy with AWS

AWS Genomics CLI for bioinformatics workflow — deconstructed

042722 TIL Use AWS with DB