DEV Community

Cover image for Deploying a Custom Template for Linux Virtual Machines Using Password
Ikechukwu Kelechi Alexander
Ikechukwu Kelechi Alexander

Posted on

Deploying a Custom Template for Linux Virtual Machines Using Password

Making a unique template for the deployment of an Azure Linux virtual machine is a useful way to standardise and accelerate your deployments. Here is a quick rundown of the procedure:

Step 1:

Sign into your Azure Portal, then on the search button type “deploy a custom template" as shown below, select it.
Deploy

Step 2:

Click on Create a Linux Virtual Machine
Linux VM

Step 3:

  • On the Resource group select Create new then give it a name
  • Choose any Region of your choice
  • On the Admin Username give a Username
  • On the Authentication Type Choose Password and input Password of your choice
  • Then Review & Create RG/Admin & Username

Create
Create

Step 4:

Go to Resource group after deployment is completed.
Go to RG

Step 5:

On the Resource Group Overview, select simpleLinuxVM
Simpl

Step 6:

Copy the IP address beside the Public IP Address
Click on the Public IP address.

IpAdd

Step 7:

Increase the idle timeout to “30” minutes to enable the machine to be active for a longer duration.
save

Timeout

Exit and go back to RG
Exit

Step 8:

Open either Power Shell or Git Bash
input ssh username@Ipaddress as shown below, then enter

PS & Git Bash

Input the password, then enter
Note: Passwords inputted are not visible
It should show like this image below

Login

Please like and subscribe if you find this article helpful!

Thanks, see you soon

Top comments (0)