DEV Community

Cover image for AZURE Virtual Machines(VMs).Creation of Linux VMs.
BAIBHAV VISHAL PANI
BAIBHAV VISHAL PANI

Posted on

4 1

AZURE Virtual Machines(VMs).Creation of Linux VMs.

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 :

  1. Cost Savings.
  2. Agility and Speed
  3. Lowered downtime
  4. Scalability
  5. 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.

Image description

  • Then click on Create.

  • Then choose Azure Virtual Machine.

Image description

  • 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.

Image description

Image description

  • Then click on Next until you reach the Review + create.
  • Then click on create.

Image description

  • Need to wait for the virtual machine to be created.
  • Then we will see a screen like this.

Image description

  • Then go to your VM you created.
  • Then click on connect and select SSH.

Image description

  • Then copy the command.

Image description

  • Now open Xshell 7 on your desktop.
  • There paste the command you recently copied by right clicking from your mouse and select paste.

Image description

  • Then using your arrow keys erase -i private key path.

Image description

  • Then press enter.

  • Then click on Accept and Save.

Image description

  • Then enter your password you entered while creating your VM and click on OK.

Image description

  • Hence you are logged into your Linux VM.

Image description

Stay tuned for my upcoming blogs.

Thank You !

Image of Datadog

Learn how to monitor AWS container environments at scale

In this eBook, Datadog and AWS share insights into the changing state of containers in the cloud and explore why orchestration technologies are an essential part of managing ever-changing containerized workloads.

Download the eBook

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please show some love ❤️ or share a kind word in the comments if you found this useful!

Got it!