VM Image sharing to Azure Stack Hub



I have created an image with packer in azure public cloud, i need the same image in Azure stack hub, how can i migrate it, or make ASH to view that image? They are using the same tenant.

Does ASH support packer?


Azure Stack Hub
Azure Stack Hub
An extension of Azure for running apps in an on-premises environment and delivering Azure services in a datacenter.
181 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. CyrAz 5,181 Reputation points

    You basically have to export it from azure and reimport it into ASH
    Have a look here : https://learn.microsoft.com/en-us/azure-stack/operator/azure-stack-add-vm-image

  2. vipullag-MSFT 25,446 Reputation points


    Welcome to Microsoft Q&A Platform, thanks for posting your query here.

    After packer is completed, download the image to local and upload it to an storage account. Then in the Admin portal, you can add the image into Azure Stack Hub by Add and remove a custom VM image to Azure Stack Hub.

    Images generated with Packer are supported, as long as they meet the requirements described within this article.


    Hope this helps.
    If you need further help on this, tag me in a comment.
    If the suggested response helped you resolve your issue, please 'Accept as answer', so that it can help others in the community looking for help on similar topics.

    0 comments No comments