Building a Windows VM on Azure and installing Windows Server (IIS) on it.

Step-by-Step Guide for Creating a Windows VM on Azure and Installing Windows Server on it

Step 1: Create a new virtual machine (VM).

Go to the search bar and type Virtual Machine.

Click the Create button to start the virtual machine creation…


This content originally appeared on DEV Community and was authored by oluoma stella onyeukwa


Step-by-Step Guide for Creating a Windows VM on Azure and Installing Windows Server on it

Step 1: Create a new virtual machine (VM).

  • Go to the search bar and type Virtual Machine.

1

  • Click the Create button to start the virtual machine creation process. Choose Create a virtual machine hosted by Azure.

2
Select the appropriate subscription and create a resource group by clicking the Create resource group button. Give both the resource group and the VM a name.

3

Step 2: Configure the Virtual machine (VM)

  • Provide other information about your virtual machine, such as the operating system (Windows Server Datacenter-x64 G2), size, and other configuration settings. Leave other options as default.

6

  • Create an Administrator Account. Use Azureuser for the username and password123 for the password.

  • Select Inbound Port Rules. Select RDP for a Windows VM. This allows IP addresses to connect to the VM. Also select HTTP, which would help connect your virtual machine to the web.

7

  • Click Next until you reach the Boot Diagnostics in the Monitoring tab, then click on Disable.

8

  • Click Next to the tags tab and then give the VM a tag name, then click Review + Create.

22

  • Click on the Create button. If the validation passes, the deployment will proceed. If not, note any recommendations, fix them, and try again. Deployment might take 3-5 minutes.

10

11

Step 3: Access the Windows Virtual machine

  • Once the virtual machine is deployed, click on the Connect button in the Overview of the virtual machine blade in the Azure portal.

  • Click Native RDP, select, and wait for the configured sign to be displayed on the right-hand side. Download the RDP file.

12

  • Open the RDP file from your local computer and click on Connect. Enter the Admin Details created during the VM setup.

13

  • Follow the prompt and click Continue. Use the username and password created for the admin section.

21

  • Once the connection is successful, start using your virtual machine!
    14
    Step 4: Install Additional Windows Server Roles (IIS)

  • Click on the Start menu.

  • Type PowerShell and open Windows PowerShell as an administrator (right-click and select Run as administrator).

15

  • Run the following command to install the IIS role and management tools: Install-WindowsFeature -name Web-Server -IncludeManagementTools 18

17

  • If you need specific role services, you can specify them using their feature names.

  • You can verify that IIS has been installed by opening a web browser and navigating to http://localhost. You should see the default IIS welcome page.

  • Or just paste the IP address of the VM in a browser and verify that you installed the webserver.

18

19

  • Following these guidelines will have you installed Windows Server and effectively built a Windows Virtual Machine on Azure.


Back to top


This content originally appeared on DEV Community and was authored by oluoma stella onyeukwa


Print Share Comment Cite Upload Translate Updates
APA

oluoma stella onyeukwa | Sciencx (2025-03-23T20:18:08+00:00) Building a Windows VM on Azure and installing Windows Server (IIS) on it.. Retrieved from https://www.scien.cx/2025/03/23/building-a-windows-vm-on-azure-and-installing-windows-server-iis-on-it/

MLA
" » Building a Windows VM on Azure and installing Windows Server (IIS) on it.." oluoma stella onyeukwa | Sciencx - Sunday March 23, 2025, https://www.scien.cx/2025/03/23/building-a-windows-vm-on-azure-and-installing-windows-server-iis-on-it/
HARVARD
oluoma stella onyeukwa | Sciencx Sunday March 23, 2025 » Building a Windows VM on Azure and installing Windows Server (IIS) on it.., viewed ,<https://www.scien.cx/2025/03/23/building-a-windows-vm-on-azure-and-installing-windows-server-iis-on-it/>
VANCOUVER
oluoma stella onyeukwa | Sciencx - » Building a Windows VM on Azure and installing Windows Server (IIS) on it.. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2025/03/23/building-a-windows-vm-on-azure-and-installing-windows-server-iis-on-it/
CHICAGO
" » Building a Windows VM on Azure and installing Windows Server (IIS) on it.." oluoma stella onyeukwa | Sciencx - Accessed . https://www.scien.cx/2025/03/23/building-a-windows-vm-on-azure-and-installing-windows-server-iis-on-it/
IEEE
" » Building a Windows VM on Azure and installing Windows Server (IIS) on it.." oluoma stella onyeukwa | Sciencx [Online]. Available: https://www.scien.cx/2025/03/23/building-a-windows-vm-on-azure-and-installing-windows-server-iis-on-it/. [Accessed: ]
rf:citation
» Building a Windows VM on Azure and installing Windows Server (IIS) on it. | oluoma stella onyeukwa | Sciencx | https://www.scien.cx/2025/03/23/building-a-windows-vm-on-azure-and-installing-windows-server-iis-on-it/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.