Tuesday, December 10, 2019

Create Virtual Machine -VM using Azure Portal & PowerShell

How to Create Virtual Machine (VM) using Azure Portal & PowerShell commands

Virtual Machine


Virtual Machine (VM) is an emulation of a computer system, based on computer architectures and provide functionality of a physical computer. VM is combination of specialized hardware, software, or a combination.

Virtual Machine -VM Planning Check List


Before you implement Virtual Machine you need to full fill basic requirement as below-

1- Resource Group Name (Click for Lab Exercise)
2- Virtual Network ( Click for Lab Exercise )
3- Decide the Location for the VM
4- VM Name
5- VM Size templet
6- VM OS/Source Image ( OS Templet)
7- VM Credentials
8- VM Security Group ( Firewall)
9- VM Licensing (Optional)
10- VM Primary Disk Type (Optional)




LAB Exercise for Setup Virtual Machine - VM using Portal
Create Virtual Machine :-
To Create/Implement Virtual Machine follow below steps-

Step 1- Search for Virtual Machine
Step 2- Click Create a Virtual Machine
Step 3- Select Subscription (Mandatory)
Step 4- Select Resource Group (Mandatory)
Step 5- Select Resource Group (Mandatory) i.e. "RG1"
Step 6- Enter Virtual Machine Name (Mandatory) i.e. "VM1"
Step 7- Select Region where you wanted to deploy your VM ( Mandatory) i.e. "EastUS"













Step 8- Select Availability Options (Optimal)
Step 9- Select OS Image which you wanted to deploy, i.e. Windows Server 2016/2019 Datacenter/Ubuntu Server/ Red Hat Enterprises Linux 7.7 (Mandatory)
Step 10- Select Size i.e. Standard DS1v2
as per your need. You can find different VM Sizes and price clicking at Change Size.
Step 10- Enter Administrator Account Name, 

Please note : It would not accept Admin or Administrator




Step 11- Under Disk Tab Select OS Disk Type as you needed.



Step 12- Under Network Tab Select VNet i.e. VNetEast

Step 13-  Select Subnet i.e. MySubnet

Step 14- Select inbound port which you wanted to enable  i.e. RDP, HTTP






Step 15- Management Tab Select Off Boot Diagnostic.
Step 16- Advance Tab Select Extension to be install, Extensions are predefined Apps like backup and other tools provided by Microsoft on additional cost.




Step 16- Tag Tab is Basically used for naming VM belongs to which department or used for or owner name its all depend on requirement.






Step 17- Review and Create and your VM has been deployed.











Additional Information
How to reset VM Admin user password.


























































No comments:

Post a Comment