DEV Community

Cover image for From Tourism to Tech: Building a Linux Virtual Machine on Azure
ijeoma omolade
ijeoma omolade

Posted on

From Tourism to Tech: Building a Linux Virtual Machine on Azure

Switching from managing travel bookings to building solutions in the cloud has been an exciting journey.

In this guide, I’m taking another step in my career pivot by deploying a Linux Virtual Machine on Microsoft Azure.
Whether you’re also transitioning into tech or just want to learn Azure practically, follow along as we build and configure a Linux VM from scratch.

Create a Linux virtual machine

  • open portal azure on the search bar, type in virtual machine

search bar

  • select + *create *

select +create

  • Select virtual machine

virtual machine

  • from basic tab under project details creata a new resource group ** enter a unique name and enter **ok

new nathrg

  • Give your Virtual Machine a** clear and unique name.**
  • Change the Region to the one closest to your location.
  • Set Availability options to No infrastructure redundancy required (recommended if you’re using a free trial).

mylinuxvm

  • Change security type to standard

standard

  • on the image choose any Ubuntu version that works best for you. Always note the available Ubuntu versions depends on your selected Region and your Free Trial limitations. Tip: Ubuntu 22.04 LTS or **Ubuntu 24.04 LTS **are usually safe and well-supported choices.

ubuntu
Authentication type choose password, choose your user name and password.

password done

  • select inbound port HTTP(80) along side the default SSH(22)

inboundport

on the overview select monitoring

monitoring

  • Click on review + create

review + create

  • click on create

create vm

  • Sucessfully deplpoyed now go to resource

deployed successfully

  • Search for public ip address or you click on it displayed on the vm we just created.

public ip

  • Increase the idle timeout period so the virtual machine does not shut down quickly when inactive and click apply Just like extending the screen timeout on your phone so it doesn’t go off while you’re still reading, extending the idle timeout keeps your Linux VM active longer during periods of inactivity.

extend+apply

  • we go back to the vm we just created and click on connect

click connect

  • under Connection prerequisites check VM access and select check access.

check access
-Notice Port 22 is accessible from source.

Port 22
-Click on the ip add and copy to your powershell. enter yes followed by your password which we created earlier.


We have successfully deployed a Linux Virtual Machine on Microsoft Azure and connected to it remotely using PowerShell.
From planning the setup to accessing the server, every step felt like preparing a smooth trip for a client,exciting and rewarding.
Just as I carefully plan every travel detail for my clients, I’m now bringing that same dedication and attention to detail into the cloud.
This is just one more step in my journey from tourism to tech and there’s a lot more to come!

Top comments (1)

Collapse
 
realcloudprojects profile image
SKILL.SCH

Nice