Author : MD TAREQ HASSAN | Updated : 2020/11/05
Prerequisites
Before creating Virtual Machine
Create required resources beforehand to use those during VM creation. If not created beforehand, required resources will be created during VM creation.
Create Resource Group:
- Go to: https://portal.azure.com/#create/Microsoft.ResourceGroup (login to Azure portal first, then click the link)
- Fillup details (i.e. name ‘
demo-rg
’, select subscription etc.) - Create
Create required resources:
- Create Network Security Group
- Create VNet and subnet
- Create public IP address
- Create network interface (NIC)
- Associate public IP address to NIC
- Create storage account for VM diagnostics
Creating Virtual Machine
- Creating VM using Azure portal
- Creating VM using PowerShell
- Creating VM using Azure CLI
- Creating VM using ARM template
After creating Virtual Machine
- VM configuration (High availability, replication, storage type etc.)
- Networking (i.e. NSGs)
- Assigning IP addresses
- Adding VHDs if needed
- etc.