DEV Community

Yemisi Oyesainu
Yemisi Oyesainu

Posted on

Using a Custom Template to Deploy a Linux Virtual Machine

There are different ways or options of creating a virtual machine. While Azure portal is most widely used, other options include Azure PowerShell, Azure Mobile app, Command Line Interface(CLI), Azure REST API, Azure Cloud Shell and Azure Resource Manager Templates. An example of Azure Resource Manager Templates is Quickstart Template.
This article will show how a virtual machine can be created with the use of Quickstart template.

Let's get started

Step 1
Log in to Azure portal and type "Deploy a custom template" into the search box. Then click on it on the dropdown menu

Image description

Leave the Template Source on Quickstart
Then Select "Create a Linux Virtual Machine" under Common Templates

Image description

Step 2
Complete the Project Details and Instance Details.
I will create a new Resource group named Mayresource.
My User name is Azureuser while the Password is Password123*

Image description

Leave other parameters at default

Image description

Step 3
Click on "Review and Create"

Image description

Image description

Step 4
After validation has been passed, click on "Create" and wait for it to be fully deployed

Image description

Image description

Step 5
Go to the Resource group where you have everything that is needed for a virtual machine to be created

Image description

Click on the Virtual Machine

Image description

Image description

The Linux Virtual Machine is running!

Top comments (0)