DEV Community

Ugonna
Ugonna

Posted on

1

How to create a Linux Virtual machine

A virtual machine (VM) is defined as a computer system emulation, where VM software replaces physical computing infrastructure/hardware with software to provide an environment for deploying applications and performing other app-related tasks. This article explains the steps in creation of a virtual machines.

login into portal.azure.com and search for virtual machine then select it
Image description
click on create and select Azure virtual machine
Image description
on the project details, select subscription then create the resource group (named UgonnaRG)
Image description
In instance details, give virtual machine a name (WednesdayVM).
Select region as North Europe
leave the rest as default and go to image, then select Ubuntu server 22.04 LTS*64 Gen2.
then select size Standard_B1s - 1 vcpu, 1 GiB memory
Image description
In Administrator account, in the Authentication type select password.
Then create username and password
Image description
In inbound port rules select, for Public inbound ports leave as default. For Select inbound ports, select SSH (22) and HTTP (80)
Image description
on the basic tab, go to monitoring, in the Diagnostics and the in Boot diagnostics select disable
Image description
to go the tag tab, input name and values
Image description
click review and create
Image description
go to resources, click on the public ip address and extend the timeout to 30minutes
Image description

Heroku

This site is built on Heroku

Join the ranks of developers at Salesforce, Airbase, DEV, and more who deploy their mission critical applications on Heroku. Sign up today and launch your first app!

Get Started

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 leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay