How to create a new Azure virtual machine from a tablet that runs the Android operating system?

Question 92You have an Azure environment. You need to create a new Azure virtualmachine from a tablet that runs the Android operating system.Solution: You use PowerShell in Azure Cloud Shell.Does this meet the goal?A. YesB. No

How to create a new Azure virtual machine from a tablet that runs the Android operating system?

Question 93You have an Azure environment. You need to create a new Azure virtualmachine from a tablet that runs the Android operating system.Solution: You use the PowerApps portal.Does this meet the goal?PowerApps lets you quickly build business applicationswith little or no code. It is not used to create Azurevirtual machines. Therefore, this solution does not meetthe goal.PowerAppsPortalsalloworganizationstocreatewebsites which can be shared with users external totheir organization either anonymously or through thelogin provider of their choice like LinkedIn, MicrosoftAccount, other commercial login providers.Question 94PowerApps lets you quickly build business applicationswith little or no code. It is not used to create Azurevirtual machines. Therefore, this solution does not meetthe goal.

You have an Azure environment. You need to create a new Azure virtual machinefrom a tablet that runs the Android operating system.Solution: You use the Azure portal.Does this meet the goal?The Azure portal is a web-based, unified console that provides analternative to command-line tools. With the Azure portal, you can manage

your Azure subscription using a graphical user interface. You can build,manage, and monitor everything from simple web apps to complex clouddeployments. Create custom dashboards for an organized view ofresources. Configure accessibility options for an optimal experience.

Skip to main content

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Virtual machines in Azure

  • Article
  • 10/12/2022
  • 6 minutes to read

In this article

Applies to: ✔️ Linux VMs ✔️ Windows VMs ✔️ Flexible scale sets

Azure virtual machines are one of several types of on-demand, scalable computing resources that Azure offers. Typically, you choose a virtual machine when you need more control over the computing environment than the other choices offer. This article gives you information about what you should consider before you create a virtual machine, how you create it, and how you manage it.

An Azure virtual machine gives you the flexibility of virtualization without having to buy and maintain the physical hardware that runs it. However, you still need to maintain the virtual machine by performing tasks, such as configuring, patching, and installing the software that runs on it.

Azure virtual machines can be used in various ways. Some examples are:

  • Development and test – Azure virtual machines offer a quick and easy way to create a computer with specific configurations required to code and test an application.
  • Applications in the cloud – Because demand for your application can fluctuate, it might make economic sense to run it on a virtual machine in Azure. You pay for extra virtual machines when you need them and shut them down when you don’t.
  • Extended datacenter – virtual machines in an Azure virtual network can easily be connected to your organization’s network.

The number of virtual machines that your application uses can scale up and out to whatever is required to meet your needs.

What do I need to think about before creating a virtual machine?

There is always a multitude of design considerations when you build out an application infrastructure in Azure. These aspects of a virtual machine are important to think about before you start:

  • The names of your application resources
  • The location where the resources are stored
  • The size of the virtual machine
  • The maximum number of virtual machines that can be created
  • The operating system that the virtual machine runs
  • The configuration of the virtual machine after it starts
  • The related resources that the virtual machine needs

Locations

There are multiple geographical regions around the world where you can create Azure resources. Usually, the region is called location when you create a virtual machine. For a virtual machine, the location specifies where the virtual hard disks will be stored.

This table shows some of the ways you can get a list of available locations.

MethodDescription
Azure portal Select a location from the list when you create a virtual machine.
Azure PowerShell Use the Get-AzLocation command.
REST API Use the List locations operation.
Azure CLI Use the az account list-locations operation.

Availability

There are multiple options to manage the availability of your virtual machines in Azure.

  • Availability Zones are physically separated zones within an Azure region. Availability zones guarantee you will have virtual machine Connectivity to at least one instance at least 99.99% of the time when you have two or more instances deployed across two or more Availability Zones in the same Azure region.
  • Virtual machine scale sets let you create and manage a group of load balanced virtual machines. The number of virtual machine instances can automatically increase or decrease in response to demand or a defined schedule. Scale sets provide high availability to your applications, and allow you to centrally manage, configure, and update many virtual machines. Virtual machines in a scale set can also be deployed into multiple availability zones, a single availability zone, or regionally.

Fore more information see Availability options for Azure virtual machines and SLA for Azure virtual machines.

Sizes and pricing

The size of the virtual machine that you use is determined by the workload that you want to run. The size that you choose then determines factors such as processing power, memory, storage capacity, and network bandwidth. Azure offers a wide variety of sizes to support many types of uses.

Azure charges an hourly price based on the virtual machine’s size and operating system. For partial hours, Azure charges only for the minutes used. Storage is priced and charged separately.

Virtual machine limits

Your subscription has default quota limits in place that could impact the deployment of many virtual machines for your project. The current limit on a per subscription basis is 20 virtual machines per region. Limits can be raised by filing a support ticket requesting an increase

Managed Disks

Managed Disks handles Azure Storage account creation and management in the background for you, and ensures that you do not have to worry about the scalability limits of the storage account. You specify the disk size and the performance tier (Standard or Premium), and Azure creates and manages the disk. As you add disks or scale the virtual machine up and down, you don't have to worry about the storage being used. If you're creating new virtual machines, use the Azure CLI or the Azure portal to create virtual machines with Managed OS and data disks. If you have virtual machines with unmanaged disks, you can convert your virtual machines to be backed with Managed Disks.

You can also manage your custom images in one storage account per Azure region, and use them to create hundreds of virtual machines in the same subscription. For more information about Managed Disks, see the Managed Disks Overview.

Distributions

Microsoft Azure supports a variety of Linux and Windows distributions. You can find available distributions in the marketplace, Azure portal or by querying results using CLI, PowerShell and REST APIs.

This table shows some ways that you can find the information for an image.

MethodDescription
Azure portal The values are automatically specified for you when you select an image to use.
Azure PowerShell Get-AzVMImagePublisher -Location location
Get-AzVMImageOffer -Location location -Publisher publisherName
Get-AzVMImageSku -Location location -Publisher publisherName -Offer offerName
REST APIs List image publishers
List image offers
List image skus
Azure CLI az vm image list-publishers --location location
az vm image list-offers --location location --publisher publisherName
az vm image list-skus --location location --publisher publisherName --offer offerName

Microsoft works closely with partners to ensure the images available are updated and optimized for an Azure runtime. For more information on Azure partner offers, see the Azure Marketplace

Cloud-init

Azure supports for cloud-init across most Linux distributions that support it. We are actively working with our Linux partners in order to have cloud-init enabled images available in the Azure Marketplace. These images will make your cloud-init deployments and configurations work seamlessly with virtual machines and virtual machine scale sets.

For more information, see Using cloud-init on Azure Linux virtual machines.

Storage

  • Introduction to Microsoft Azure Storage
  • Add a disk to a Linux virtual machine using the azure-cli
  • How to attach a data disk to a Linux virtual machine in the Azure portal

Networking

  • Virtual Network Overview
  • IP addresses in Azure
  • Opening ports to a Linux virtual machine in Azure
  • Create a Fully Qualified Domain Name in the Azure portal

Data residency

In Azure, the feature to enable storing customer data in a single region is currently only available in the Southeast Asia Region (Singapore) of the Asia Pacific Geo and Brazil South (Sao Paulo State) Region of Brazil Geo. For all other regions, customer data is stored in Geo. For more information, see Trust Center.

Next steps

Create your first virtual machine!

  • Portal
  • Azure CLI
  • PowerShell

Feedback

Submit and view feedback for


Additional resources

Additional resources

In this article

Is it possible to create a virtual machine from a tablet that run Android operating system?

You need to create a new Azure virtual machine from a tablet that runs the Android operating system. Solution: You use the Azure portal.

Does Azure support Android OS?

Genymotion Cloud on Azure is a suite of Android Operating Systems based on Azure server instances. It allows you to start any number of Android virtual devices instantly.

Can you access Azure portal from a smartphone?

The app is optimized for iOS and Android smartphones but works on tablets as well.

Can I use Microsoft Azure on Chromebook?

One of the following: Smartphone or tablet running Android 9 or later. Chromebook running Chrome OS 53 or later.