DEV Community

Cover image for Create and Deploy a windows server via Azure
Tolulope Adeleke
Tolulope Adeleke

Posted on

Create and Deploy a windows server via Azure

Trying to create a Windows web server ?

Let's create and deploy a windows server using microsoft Azure using these basic steps.

Step 1 :

Locate virtual Machine on the Azure portal and create

Image description

Step 2 :

Under Project details (resource group )- I will use an existing resource group "Novemberworkload" but if you don't have one create a new resource group and name it.

Image description

Step 3 :

Under Instance details - we have to name the virtual machine

"windowssevervm"

Region: Choose Australia east
Availability options : Availability zone
Availability zone : Choose just one zone- zone 1
Security type : Choose Trusted launch virtual machines
Image : Choose windows server 22 Datacenter : Azure Edition- x64 Gen2
Vm Archicteture : X64

Image description

Step 4 :

Under administrative account

Username : create your username and password ( note that you need to remember this info ).

Step 5 :

Under Inbound Port rules

I will be installing on the windows server so select HTTP (80) and RDP (3389)

Image description

Step 6 :

Click to confirm licensing option

Step 7 :

Under monitoring - Disable diagnostic

Image description

Step 8 :

Review and create (Make sure it shows validation passed to be sure everything is accurate)

Image description

Step 9 :

Deployment is in progress

Image description

Step 10 :

Deployment is complete . Click on 'Go to resource'

Image description

Now click on connect

Image description

Step 11 :

Select 'Native RDP', wait for it to validate and get configured before you click on 'Download RDP'

Image description

Now it is configured, download RDP file

Image description

Step 12 :

Once downloaded, connect to it

Image description

Step 13 :

Connect with the username and password created when creating your VM

Step 14:

Your remote desktop connection is ready...yayyy

Image description

Step 15 :

Now open powershell on your remote desktop, just like you will do on your computer. we're going to Install on powershell

Image description

Step 16 :

Once powershell is open (give it time)

Type in the code to install windows feature which is 'web server'

install-windowsfeature web-server

Step 17 :

Web server installed

Image description

Step 18 :

Now copy the Ip address as shown in the image below and place on your web browser. We're doing this to test and see if our web server was truly installed.

Image description

You will get to see this after running your Ip address on your web browser.

Image description

You have sucessfully created a windows server .... Yayyy πŸ’ƒ
Well done MateπŸ‘Œ

Top comments (0)