Lessons learned on uploading RemoteApp VHD image to the Microsoft Azure

So I will quickly write down what do you need to do in order to prepare RemoteApp VHD for the Hybrid cloud deployment between your data-center and Microsoft Azure. Hybrid deployment allows you to provide access to your custom applications from the Microsoft Azure cloud. Applications, Operating system and settings are under your control. Applications run in the domain joined environment over site-to-site VPN between your datacenter and Microsoft Azure.

Few gotchas:

  1. Template must be based on the Windows Server 2012 R2 with RD Session Host role service no questions asked, maybe this will change in future but I highly doubt so. You will avoid creating 2008 R2 image like me :-)
  2. You need to use VHD not VHDX file. In case you created VHDX you can use Convert-VHD command to convert from VHDX to VHD file. Otherwise Azure will report errors. Use for example Convert-VHD –Path D:\RemoteAppPreview\RemoteAppPreview_disk_1.vhdx –DestinationPath D:\RemoteAppPreview\RemoteAppPreview_disk_1.vhd
  3. Install all patches and configure your application appropriately
  4. Do not forgot to deploy RD Session Host role :-)

To upload image follow this steps:

  1. Open Azure management portal and go to RemoteApp > Template Images > Upload upload new image to the azure
  2. Name your image something like UltimateRemoteApp and select appropriate location 
    name you template image
  3. Azure will process your input and you will get PowerShell script that you need to execute on your computer in order to check the VHD and upload it to the Cloud. °I have only blurred few private settings so you don’t upload your images to my private accountupload image powershell command
  4. Make sure you install Azure PowerShell and execute this command as administrator through the Azure PowerShell otherwise it will not work
  5. If you are lucky enough you will get following screen that is a process of file uploading to the Azure. Depending on the size of the image and your upload bandwidth be prepared that this will take several hours uploading remote app image to the azure

Helping SBC administrators kick-ass Google+

Posted in Azure, RemoteApp Tagged with:

Leave a Reply

Your email address will not be published. Required fields are marked *

*

Follow me:

  • Facebook
  • Twitter
  • Linkedin
  • Youtube