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

Do your career a big favor. Join DEV. (The website you're on right now)

It takes one minute, it's free, and is worth it for your career.

Get started

Community matters

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Dive into an ocean of knowledge with this thought-provoking post, revered deeply within the supportive DEV Community. Developers of all levels are welcome to join and enhance our collective intelligence.

Saying a simple "thank you" can brighten someone's day. Share your gratitude in the comments below!

On DEV, sharing ideas eases our path and fortifies our community connections. Found this helpful? Sending a quick thanks to the author can be profoundly valued.

Okay