Introduction to Windows virtual machines in Azure

Introduction to Windows virtual machines in Azure

This tutorial will guide us through step-by-step guide on how to create a windows 10 virtual machine in Azure. Azure VMs are an on-demand, scalable cloud-computing resource. They're similar to virtual machines that are hosted in Windows Hyper-V. They include processor, memory, storage, and networking resources. You can start and stop virtual machines at will, just like with Hyper-V, and manage them from the Azure portal or with the Azure CLI. You can also use a Remote Desktop Protocol (RDP) client to connect directly to the Windows desktop user interface (UI) and use the VM as if you were signed in to a local Windows computer.

Let’s get started

SIGN IN TO AZURE PORTAL

Before getting started, please create free account on the portal or use pay as you go subscription to sign in to the Azure portal with your credentials.

a) From the home page, click on Virtual machine highlighted

b. Click on the create button

c) Select Azure Virtual Machine highlighted

d. You will see the basics page.

Project Details

In the project details category, we have the subscription and resource group;

a) Subscription

An Azure subscription in simple terms means a membership or access pass to use Microsoft Azure. It's similar to subscribing to a service or signing up for a subscription plan. With an Azure subscription, individuals or organizations can use and benefit from the various services and resources provided by Azure at a cost depending on your type of subscription. However, it also offers free and trial options, giving you a chance to explore and experiment with Azure before committing to a paid subscription.

b)Resource Group

A resource group in Azure is like a container or folder that helps you organize and manage the different resources such as virtual machines and databases that you use in the Azure cloud.

Imagine you have a room with different items scattered all over the place. It becomes challenging to find what you need when everything is upside down. In this scenario, the room represents your Azure cloud environment, and the resources are the items in the room. Now, imagine you decide to tidy up and arrange your items where they are initially meant to be. Each compartment keeps related items organized and makes it easier to find what you need.

Instance Details

a) Give your virtual machine a name

b) In the region section, select the closest location to your customer

c) Select the region, availability option and availability zone

In Azure, a region can consist of three availability zones, known as Zone 1, Zone 2 and Zone 3. Each zone has one or more data centers that are kilometers apart from each other.

d) Select the Security type

e.) In the image section, select Window 11 pro from the drop-down

An image is an operating system. It's like a blueprint for creating virtual machines or computer systems. It has all the instructions and settings needed to set up a computer with a specific operating system and software.

f) Choose the size of your virtual machine from the drop-down or click on "See all sizes". Leave the other information in its default state.

Administrator Account

a) Give your account a username and password. Also, confirm the password to ensure it aligns.

Inbound Port Rules

On the inbound port rules section, select "Allow selected ports" and then select RDP (3389). This port will give you remote access to your physical work desktop computers.

Click on "Next: Disks>" to direct you to the Disk page

Disk

a) On the Disk page click on the OS disk type dropdown and select Standard SSD or any disk type of your choice as shown below. Leave the other columns as default.

b) Leave the networking, management, monitoring and advanced pages as default. Skip to the Tag page.

Tag

a) Click on Tags, give it a name and click on Review + Create Give

Tags are a way to label and organize resources in cloud computing environments. The purpose of tags is to provide metadata or additional information that helps in managing, organizing, and tracking resources within a cloud infrastructure.

b) Review the summary of your virtual machine configuration and click on the "Create" button to begin the deployment process.

c) Once the deployment is complete, click on "Go to resource".

Connect to Your Windows Virtual Machine.

Create a remote desktop connection to the virtual machine. These directions tell you how to connect to your Windows 10 operating system.

a) On the overview page of your virtual machine click "Connect".

b) Click on Connect with RDP, leave the default settings and click the download RDP file to your file

c) Open the downloaded RDP file and click "connect"

d) Provide username and password and click ‘ok’

e) Click on ‘yes’

Welcome you are connected to Windows 10

How To Disassociate IP Address

Situations may arise where you need to save cost running your virtual machine.One way to optimise cost is to disassociate your IP address from your virtual machine.

a) Click on your IP address

b) Click on dissociate

c) Click ‘Yes’ to Confirm dissociation

I hope this step-by-step tutorial helps you create your Windows 10 virtual machine.

Thank you