Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Contact
  • Reviews
  • Toggle search form
Home » AWS/Azure/OpenShift » Import Virtual Machines to AWS as AMI
  • HypervDisplay
    How to fix HyperV Virtual Machine display taking over the entire screen Windows
  • linkyourandriodtoyourpc
    Microsoft Phone Link: Connect Android to Windows 11 Windows
  • windows 10 creators update wallpaper
    Run or Edit and Delete Tasks via Windows Task Scheduler Windows
  • screenshot 2020 04 07 at 01.42.57
    How to enable Telnet in Windows 10 and Windows Server Windows Server
  • banner
    How to Fix Python was not found run without arguments to install from the Microsoft Store Windows
  • Missing ADML File
    Fix an appropriate resource file could not be found for LAPS Windows
  • fba7f screenshot 2019 04 15 at 18.33.30
    File System Overview: How to decide on the right File System to use for your USB Linux
  • savds
    VM is not accessible: Fix Taking ownership of a VM failed Virtualization

Import Virtual Machines to AWS as AMI

Posted on 16/07/201802/06/2025 Christian By Christian No Comments on Import Virtual Machines to AWS as AMI
Amazon

An Amazon Machine Image (AMI) is a template that contains a software configuration (for example, an operating system, an application server, and applications). From an AMI, you launch an instance, which is a copy of the AMI running as a virtual server in the cloud. You can launch multiple instances of an AMI. You can launch different types of instances from a single AMI. In this guide, we shall discuss how to import virtual Machines to AWS as AMI. Please see How to create an AMI using AWS console, Commandline: How to create an AMI from the CLI, and how to launch an EC2 instance.

An instance type essentially determines the hardware of the host computer used for your instance. Each instance type offers different computing and memory capabilities. Select an instance type based on the amount of memory and computing power that you need for the application or software that you plan to run on the instance.

Amazon Web Services (AWS) publishes many Amazon Machine Images (AMIs) that contain standard software configurations for public use. In addition, members of the AWS developer community have published their own custom AMIs. You can also create your own custom AMI or AMIs; doing so enables you to quickly and easily start new instances that have everything you need.

Import Virtual Machines to AWS

All AMIs are categorized as either backed by Amazon EBS, which means that the root device for an instance launched from the AMI is an Amazon EBS volume, or backed by instance store, which means that the root device for an example launched from the AMI is an instance store volume created from a template stored in Amazon S3.

Note: You can perform these via the CLI but in our case, we used the AWS Web Console
Verify if the VMIMPORT Role is currently created on your AWS roles … If not you must have to create this role. [For us it has been created].

Navigate to Roles

  • Create Roles
  • Search for the VMIMPORT Role and follow the steps: Very straightforward!
  • Steps 3: Click on the VMIMPORT ROLE created
  • Navigate to the Trust relationship and
  • Click on the edit trust relationship

Ensure you have your Trust relationship this way

"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Principal": {
"Service": "vmie.amazonaws.com"
},
"Action": "sts:AssumeRole",
"Condition": {
"StringEquals": {
"sts:ExternalId": "vmimport"
                           }
                   }
               }
           ]
}

Now from the CLI, run the following command below. Please see Implement N2WS Veeam: Cloud Protection with CPM 2.3.0d, and Advantage of using a 3rd party software for Backup (N2WS by Veeam) over AMI.

Note: The right permission policy must be attached to the VMIMPORT role or it will fail and complain of insufficient permission to continue.

Modify the syntax below and replace it with your ova file and your s3 bucket name shown below.

aws ec2 import-image --cli-input-json "{  "Description": "Dxxxx.ova", "DiskContainers": [ { "Description": "Dxxxxxx.ova", "UserBucket": { "S3Bucket": "cx-texa-eu-central-1", "S3Key" : "Dxxxxova" } } ]}"

When successfully imported, ‘ success’ is displayed.

I hope you found this blog post helpful on how to import virtual Machines to AWS as AMI. If you have any questions, please let me know in the comment session.

5/5 - (1 vote)

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Pocket (Opens in new window) Pocket
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
  • Share on Threads (Opens in new window) Threads
  • Share on Nextdoor (Opens in new window) Nextdoor
AWS/Azure/OpenShift

Post navigation

Previous Post: Office Configuration Analyser Tool (OFFCAT): Now Microsoft Support and Recovery Wizard
Next Post: AWS Opsworks For Chef Automate

Related Posts

  • MSSQL Always On Cluster on Azure
    [AZURE] Procedure for creating an MSSQL Always On Cluster on Azure AWS/Azure/OpenShift
  • defdfd
    The password has expired, update your password and try again AWS/Azure/OpenShift
  • Docker Guide
    Pull and Deploy Nginx Container Images from Docker Hub AWS/Azure/OpenShift
  • Webp.net resizeimage 4
    Create a Service Fabric Cluster using the Azure Stack Hub portal and the CLI AWS/Azure/OpenShift
  • Azure logo
    Microsoft Azure Active Directory: How to setup Azure AD Tenant AWS/Azure/OpenShift
  • images 2 1
    How to create an AMI using AWS console AWS/Azure/OpenShift

More Related Articles

MSSQL Always On Cluster on Azure [AZURE] Procedure for creating an MSSQL Always On Cluster on Azure AWS/Azure/OpenShift
defdfd The password has expired, update your password and try again AWS/Azure/OpenShift
Docker Guide Pull and Deploy Nginx Container Images from Docker Hub AWS/Azure/OpenShift
Webp.net resizeimage 4 Create a Service Fabric Cluster using the Azure Stack Hub portal and the CLI AWS/Azure/OpenShift
Azure logo Microsoft Azure Active Directory: How to setup Azure AD Tenant AWS/Azure/OpenShift
images 2 1 How to create an AMI using AWS console AWS/Azure/OpenShift

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

sysadmin top30a

  • HypervDisplay
    How to fix HyperV Virtual Machine display taking over the entire screen Windows
  • linkyourandriodtoyourpc
    Microsoft Phone Link: Connect Android to Windows 11 Windows
  • windows 10 creators update wallpaper
    Run or Edit and Delete Tasks via Windows Task Scheduler Windows
  • screenshot 2020 04 07 at 01.42.57
    How to enable Telnet in Windows 10 and Windows Server Windows Server
  • banner
    How to Fix Python was not found run without arguments to install from the Microsoft Store Windows
  • Missing ADML File
    Fix an appropriate resource file could not be found for LAPS Windows
  • fba7f screenshot 2019 04 15 at 18.33.30
    File System Overview: How to decide on the right File System to use for your USB Linux
  • savds
    VM is not accessible: Fix Taking ownership of a VM failed Virtualization

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,834 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon

Tags

AWS Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.