DEV Community

Funmibi Odeseye
Funmibi Odeseye

Posted on

HOW TO DEPLOY A LINUX VIRTUAL MACHINE.

STEP 1
login to your Microsoft azure account and go to "search resources" and search and click on "virtual machines"

Image description

STEP 2
Click on create and choose "azure virtual machines"

Image description

STEP 3
-Create a resource group.
-Give the virtual machine a unique name
-Choose a linux server[Ubuntu server 20.04 LTS - x64 Gen2]
-You can choose either "password" or "SSH Key". I chose password and filled in a username and password. Then click "review and create"

Image description
Image description
Image description

STEP 4
Make sure the validation passes and click on "Create"
Image description

STEP 5
Click on "Go to resource"

Image description

STEP 6
Click on the public IP address and extend the idle timeout to 30 minutes, then click save.

Image description

STEP 7
Click on connect and click on SSH

Image description

STEP 8
Copy the code in box 2 and paste it in box 3. Then copy the command in line 4

Image description

STEP 9
Search for windows powershell on your computer and open it

Image description

STEP 10
-Paste the command you copied, then delete "-i chmod 400 .pem"
-Click enter and run the remaining code.
-PowerShell is going to ask you to connect to serve Virtual Machine, type yes and Click enter

Image description

STEP 11
-Enter the password you used earlier and click enter
-LINUX VIRTUAL MACHINE DEPLOYED!
Image description

Top comments (0)