In your Azure portal, you will create Storage account, VMs, Search Services, Web apps, Virtual Network and DNS, Database servers, Third-party applications. If you want to manage and deploy them as a group, then ARM is the key point.
By using an ARM you can create, update, delete all the resource group in a single operation.
Here I have listed down the main terms that ARM used. (Copy-paste from MSTF Docs.)
- Resource - A manageable item that is available through Azure. Some common resources are a virtual machine, storage account, web app, database, and virtual network, but there are many more.
- Resource group - A container that holds related resources for an Azure solution. The resource group can include all the resources for the solution, or only those resources that you want to manage as a group. You decide how you want to allocate resources to resource groups based on what makes the most sense for your organization. See Resource groups.
- Resource provider - A service that supplies the resources you can deploy and manage through Resource Manager. Each resource provider offers operations for working with the resources that are deployed. Some common resource providers are Microsoft.Compute, which supplies the virtual machine resource, Microsoft.Storage, which supplies the storage account resource, and Microsoft.Web, which supplies resources related to web apps. See Resource providers.
- declarative syntax - Syntax that lets you state "Here is what I intend to create" without having to write the sequence of programming commands to create it. The Resource Manager template is an example of declarative syntax. In the file, you define the properties for the infrastructure to deploy to Azure.
If you are using an ARM , there are some benefits. specially you can save your time on doing same thing again and again in Azure portal,
I'll now show the steps that we need to follow to install ARM in your PowerShell.
To use the cmdlets, you need to install and configure Azure PowerShell to connect it to your account.
Step 1: Install
Following are the two methods by which you can install Azure PowerShell. You can install it either from the PowerShell Gallery or from the WebPI.
Installing Azure PowerShell from the PowerShell Gallery
To use PowerShell Gallery. You need the PowerShellGet module to use the PowerShell Gallery. This is available here: PowerShellGallery.com
Install the latest Azure PowerShell from the PowerShell Gallery using an elevated Windows PowerShell or PowerShell Integrated Scripting Environment (ISE) prompt using the following commands:
+ Install the Azure Resource Manager modules from the PowerShell Gallery
+ Install the Azure Service Management module from the PowerShell Gallery
More about these commands
Install-Module AzureRM installs a rollup module for the Azure Resource Manager cmdlets. The AzureRM module depends on a particular version range for each Azure Resource Manager module. The included version range assures that no breaking module changes can be included when installing AzureRM modules with the same major version. When you install the AzureRM module, any Azure Resource Manager module that has not previously been installed will be downloaded and installed from the PowerShell Gallery.
Install-Module Azure installs the Azure module. This module is the Service Management module from Azure PowerShell 0.9.x. This should have no major changes and be interchangeable for the previous version of the Azure module.
Then you can test the Azure connectivity by typing below command,
PS C:\Windows\system32> Login-AzureRmAccount
If you can get the below mentioned windows means, You are good to go with it.