Deploying a custom template in Azure involves automating the provisioning and configuration of Azure resources using Azure Resource Manager (ARM) templates. The desired state of your infrastructure, including the resources, their attributes, dependencies, and customizations, is defined by a custom template, which is a JSON file.
To deploy your own template, Azure provides a variety of deployment methods. You can use Azure REST API, Azure DevOps, Azure PowerShell, Azure CLI, or Azure Portal. The deployment strategy you choose will depend on your preferences and the level of automation needed.
You may automate the deployment of your infrastructure, guarantee consistency across environments, and provide version control for your infrastructure-as-code by deploying a custom template on Azure. It simplifies the creation and management of Azure resources, increasing productivity and reducing the potential for human error.
In this blog post, we will explore how custom template in Azure Resource Manager (ARM) can be configured to spin up a Linux virtual machine through Ubuntu Terminal.
Steps to create a Custom Template and deploy using Ubuntu Terminal in Azure
Search for deploy a custom template in Azure resource page
Click on Create a Linux Virtual Machine (VM) and select Quickstart template in the Template Source
Steps to modify the template to customize it according to your requirements
Click on create new and enter the resource group name
Select the desired region
Edit the VM Name
Enter the admin Username
Select the authentication type password or SSH
Click on Review and create
After validation, click creates to initiate the deployment.
Deployment is complete
Click on Go to Resources
Click on “SimpleLinux VM”
Click on the connect button at the top bar of the overview page
!Linux VM](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ncd7go920qbayu18puzf.JPG)
To connect to the Linux VM, input the command SSh in the Ubuntu terminal and press enter.
To copy your IP address, go to the overview page
Lunch the Ubuntu terminal and input the command SSh as shown below. Click enter
Input your password and press enter
The Linux VM is launched
Top comments (0)