How to Create an ARM-Based Linux Virtual Machine With Azure

How to Create an ARM-Based Linux Virtual Machine With Azure

ARM computers are on the rise. If you want solid proof, look no further than the new ARM-based MacBooks or the pocket-sized Raspberry Pi.

Azure is one of the cloud providers that started offering ARM-based virtual machines (VMs) in their portfolio. The ARM architecture has been widely used in smartphones and is making its way into the PC market because of the advantages that it offers.

We’ll show you how you can set up an ARM-based Linux virtual machine with Azure.

Advantages of ARM-Based PCs

Some of the advantages that the ARM architecture offers in comparison to its traditional x86 counterparts such as Intel and AMD include:

ARM processors are just as powerful and more efficient than x86-based processors. Here’s how you can create an ARM-based VM in Azure.

Step 1: Log In to Azure and Create a Resource

Head over to portal.azure.com and log in. If you do not have an Azure account, go ahead and create a free trial account.

Once logged in, Click on the Create a resource button located under the Azure services header.

Next, you’ll see a list of popular Azure services. Select the Virtual Machine service. Alternatively, just search for “Virtual machine” in the search box.

Step 2: Creating the ARM-Based Virtual Machine

On the Create Virtual Machine page, you need to fill out all the fields marked with an asterisk (*) according to your requirements.

Pay particular attention to the following fields:

Azure can recall capacity for services using spot discounts, therefore you should not use spot discounts for critical systems.

Step 3: Validating the Virtual Machine Details

Once you’ve filled out all the required information, click on the Review + create button located in the bottom left corner.

Azure will validate the VM details you’ve provided and advise if the validation passed or failed accordingly.

Take a look at the summary of the VM resource you’re about to create. At this stage, you can still make changes to your VM by clicking Previous and amending the configuration option you want to change.

If the validation failed, you’ll be guided on what you need to fix. Otherwise, if everything looks fine, click on the Create button.

Step 4: Accessing Your ARM-Based VM

Once created, click on the Go to resource button and note down the public IP address of the VM. You’ll use this IP address to access the VM via SSH from your PC using the following command format:

For example:

You can run and use the same old Linux commands you’re familiar with. The only difference is that the packages you install will be targeted toward ARM-based processors.

To confirm the architecture of your VM, use the uname command as follows:

The output aarch64 is short for ARM architecture 64-bit processing.

Get an ARM-Based Linux PC Instead!

ARM-based PCs are powerful, energy efficient, and emit less heat. Most major Linux distros can run on ARM-based processors.

Apart from using ARM-based virtual machines in the cloud, you can buy a dedicated ARM-based Linux desktop or laptop.

This content was originally published here.