Azure VMs
A virtual machine, is no different than any other physical computer like a laptop, smart phone or server. It has a CPU, memory, disks to store your files and can connect to the internet if needed.
A hypervisor is the software that integrates the physical hardware and the VM's virtual "hardware".
The benefits of VMs are :
- Cost Savings.
- Agility and Speed
- Lowered downtime
- Scalability
- Security Benefits
- We can create virtual machine of windows and different versions of linux as well.
Creating a Virtual Machine (Linux):
First of all create a Resource Group .
Then click on the Virtual Machines under Azure Services.
Then click on Create.
Then choose Azure Virtual Machine.
- Then choose the resource group you have created.
- Then add a name to your Virtual Machine.
- Then select region according to your needs.
- In availability region select No infrastructure redundancy required.
- In image select Ubuntu Server 20.04 LTS Gen2.
- Then under Administration Account choose Password under Authentication Type
- Then add your username and password.
- Under Inbound Port rules select SSH under Select inbound ports.
- Customise NSG as per the need.
- Then click on Next until you reach the Review + create.
- Then click on create.
- Need to wait for the virtual machine to be created.
- Then we will see a screen like this.
- Then go to your VM you created.
- Then click on connect and select SSH.
- Then copy the command.
- Now open Xshell 7 on your desktop.
- There paste the command you recently copied by right clicking from your mouse and select paste.
- Then using your arrow keys erase -i private key path.
Then press enter.
Then click on Accept and Save.
- Then enter your password you entered while creating your VM and click on OK.
- Hence you are logged into your Linux VM.
Stay tuned for my upcoming blogs.
Thank You !
Top comments (0)