VM Creation FAQs and Solutions
How do I change a hostname?
After building a VM, the user cannot change the hostname.
How do I reset a remote server 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?
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.
Is the 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 ARM 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.
I run the 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 files from a website to four servers when I deploy the VM. How can I do this?
You can use the ARM method, which uses the ARM extensions function to copy the files to the servers when the systems start up.
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?
Please refer to Image VHD Address Settings
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.
What is the difference between A-series virtual machines (VMs) and D-series VMs?
For information about the differences between types of VMs, see VM Pricing Details
Do you know of any resources that could answer their questions about VMs?
To get support for Azure configuration and development issues, contact 21Vianet customer service.
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 1RMB account expires, can I copy the resources in it to another account?
No, you cannot copy the resource in a 1RMB 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 1RMB account?
1RMB accounts have certain limitations in terms of credit amounts and time. If the balance on your 1RMB 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 1RMB account to safeguard your image update and testing requirements. Details of the 1RMB trial account subscription.
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 an ARM 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 ARM 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 you have any questions about this documentation, please submit user feedback in the Azure Marketplace.