Use an AWS AMI OS image in Azure?

Wagner, Richard (Cognizant) 66 Reputation points
2024-06-18T21:48:40.6566667+00:00

Hello, we have a standard gold image factory in AWS so we have many AMI's that are up to date and correct. I was wondering if I could copy the image to Azure and run it through the Azure Image Builder and then use it in Azure? Thanks

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,447 questions
{count} votes

1 answer

Sort by: Most helpful
  1. kobulloc-MSFT 25,561 Reputation points Microsoft Employee
    2024-06-19T01:23:42.8233333+00:00

    Hello, @Wagner, Richard (Cognizant) !

    How do I migrate an AWS VM to Azure?

    The recommendation for migrating AWS VMs to Azure is to use the official AWS VM migration process, which includes verifying that the image will be compatible and complies with supported configurations. In addition, some changes may need to be made or the VM won't boot up in Azure:

    https://learn.microsoft.com/en-us/azure/migrate/tutorial-migrate-aws-virtual-machines

    Azure VM Image Builder is uses images from either the Azure Marketplace or existing custom images. In theory you could export the AWS VM as a VHD and then use that to create a custom image but this is not the recommended approach as it is not guaranteed to work (there are many scenarios where an incompatibility needs to be addressed).

    Let me know if you need additional information outside of the recommended migration process in the comments and I'd be happy to help.


    I hope this has been helpful! Your feedback is important so please take a moment to accept answers.

    If you still have questions, please let us know what is needed in the comments so the question can be answered. Thank you for helping to improve Microsoft Q&A!

    User's image

    0 comments No comments