Create and develop images

Is WALinuxAgent option required when creating images?Can I use WALinuxAgent to develop my own VM operating system?

Yes, this option is required. Otherwise, it is not possible to successfully deploy the images you create. The WALinuxAgent source code is currently open source (source code address), so you can custom-develop WALinuxAgent for your own servers.

What does Azure Linux Agent do?Do I need to install it when I create a VM?

You must select Install WALinuxAgent during the process of creating Linux VMs on the Azure platform.For more information, see the relevant technical documentation, specifically the Azure Linux Agent user guide

The official documentation for online image creation is based on CentOs 6.x. Can I use this creation method on Ubuntu?

The image creation processes on Ubuntu and CentOS are not exactly the same.For more information, see the Ubuntu image creation reference documentation

Assuming that an Azure Resource Manager template link on Azure Marketplace points to GitHub, if I change the content of the Resource Manager template on GitHub, will the corresponding Resource Manager template on Azure Marketplace be automatically updated?

You need to publish the new version on the Resource Manager template section of Azure Marketplace. The address of the new Resource Manager template link cannot be the same as the original address.Of course, you can also publish the new version by publishing a new Resource Manager template product. The same applies to images.The same applies to images.

How can I create Resource Manager templates and test them locally?

For information about creating images, see the official Azure Marketplace documentation:

For information about how to use the Azure CLI to test Resource Manager templates, see the following reference file:

For information about how to use PowerShell to test Resource Manager templates, see the following reference file:

I run Azure CLI on Windows. Is this possible on Linux?

The Azure CLI cross-platform tool can run on both Windows and Linux, but PowerShell cannot. See Download the Azure command Line Tool

I need to need to copy four wallet files from the website to four servers when I am deploying a VM. How can I do this?

You can use the Resource Manager method, which uses the Resource Manager extensions function to copy the wallet files to the servers when the systems start up.

How does the Resource Manager file obtain the server IP address details and write them into the system startup configuration files?

Resource Manager does not support dynamically obtaining IP information, but you can use the Resource Manager extensions function to write the IP address into the configuration files when the system starts up.

You can also set a static IP address.

After I finish deploying an image to Azure, how do I run the commands to start up the deployed system?

The image’s operating system automatically starts up after the image is deployed to Azure, but sometimes you might need to wait a few minutes for the system to fully start up before you can sign in.

I am publishing an image on Azure to Azure Marketplace. How do I set the properties of the Blob where the image is located?

For storage-related files, when you upload the image, you need to set the properties of the Blob in the storage account where the image is located to Public Blob. In the Azure classic portal, select Storage > Container > Edit. In Ibiza, select Storage > Blob > Container > Perform edit operation in access strategy).

After I finish creating a VM, how do I transfer software and files to the VM?

In Windows, you can directly use the remote desktop to transfer files. In Linux, you can use a file transfer tool such as WinSCP to directly perform the operation in the OS.

How can I protect software license information?

For more information, see Azure security. Note that ISVs must deal with their own protection measures for licenses.

Which APIs can I use in Azure to provide license binding?

For more information, see Azure API. Note that Azure does not currently provide APIs for licensing.

How can I obtain the Azure subscription number and server number?

You can obtain details of the VM you deployed (ID, type, and so forth) and the subscription information using an API, query (subscription API), query (VM API). You can also sign in to the Azure portal and perform a manual query.

How can I change the hostname?

After building a VM, the user cannot change the hostname.

How do I reset a remote service or its login password?

Please refer to How to reset a password or the Remote Desktop service for a Windows VM, How to reset local Linux password on Azure VMs and Manage administrative users, SSH, and check or repair disks on Linux VMs using the VMAccess Extension with the Azure CLI 2.0.

How do I generate new SSH certificates?

Please refer to the following link: Create and use an SSH key pair for Linux VMs in Azure.

How do I configure an open VPN certificate?

Please refer to the following link: Configure a Point-to-Site connection to a VNet using native Azure certificate authentication: Azure portal.

What is the support policy for running Microsoft server software (infrastructure as a service) in the Microsoft Azure virtual machine environment?

Please refer to the following link: Microsoft server software support for Microsoft Azure virtual machines.

Do virtual machines have a unique identifier?

Azure encodes a unique Azure VM ID into each Azure VM. See the details in this blog and documentation: Accessing and Using Azure VM Unique ID. Alternatively, get the VM ID via this PowerShell command: Get-AzureRmVM -ResourceGroupName 'rg' -Name 'vm'.

How do I manage the startup task custom script extension in a VM?

Please refer to the following link: Custom script extensions for Windows and Run custom scripts on Linux VMs in Azure.

How do I create a VM on the Azure portal using a VHD that was uploaded to Premium Storage?

We don’t support this feature.

I cannot ping an external network from my VM. Can my VM connect to the external network?

Yes, it can connect to the external network. For more information, see the relevant technical documentation, particularly Use Port Pings Instead of ICMP to Test Azure VM Connectivity.

When a trial account expires, can I copy the resources in it to another account?

No, you cannot copy the resource in a trial account to another account when it expires, but you can apply and pay to upgrade to a standard account.

Do I need to pay to upgrade a trial account?

Trial accounts have certain limitations in terms of credit amounts and time. If the balance on your trial account is insufficient, you need to renew payment to finish publishing; if your balance is insufficient or your account expires, the account may be deleted. We therefore recommend that you upgrade the trial account to safeguard your image update and testing requirements. Register Azure account here Microsoft Azure - Intelligent Security Trusted Hybrid Global Azure Platform (

After an application service has been installed and deployed on a VM, how can I publish the service to Azure Marketplace?

Sign in to your Azure account and finish creating the image, and then sign in to Azure Marketplace to publish your image. For more information, please refer to the Azure Image Creation Guide and Publish VM images.

Do I need to enter a detailed description at the image testing stage? Do I need to upload a user manual? If I need to make modifications, are there any examples to use for reference?

You can fill in the detailed description at the testing stage, but you can also fill it in after the image has been successfully tested. It is up to the service provider to decide whether to upload a user manual, but as a general principle, the more detailed your product documentation is, the better. For more information about entering and modifying detailed product information, see products already published on Azure Marketplace. For specific standards, please refer to the “VM content standards” in Publish VM images.

How can you tell whether an image is a Resource Manager template or an image?

The Platform field for all images displays ARM, and you can find all Resource Manager templates by searching for ARM on the Azure Marketplace page.

When I publish to Azure Marketplace, can I post the image’s VHD address or Resource Manager template URL outside Azure?

Image VHD addresses must be posted on Azure. Resource Manager template URLs can be posted outside Azure (on GitHub, for example).

Can locally-created images be uploaded directly to Azure and published to Azure Marketplace?

Yes, but we recommend that you test your image locally first. The more complicated the process for creating images locally, the greater the chance of making errors.

If we want to update a Resource Manager template, do we need to republish an app, or can we use the “Publish new version” function in the old app management interface?

You can use the “Publish new version” function. Note that the URL of the new version of the Resource Manager template must be different from that of the original version. Otherwise, the new version will be invalid.


If you have any questions about this documentation, please submit user feedback in the Azure Marketplace.