DEV Community

Cover image for Azure Virtual Machine (VM) and It's Deployment
Franklin Onuegbu
Franklin Onuegbu

Posted on

Azure Virtual Machine (VM) and It's Deployment

Azure virtual machines

These are on-demand, scalable computing resources offered by Azure.

Purpose:

Azure virtual machines (VMs) give you more control over your computing environment than other choices. You can use them for various purposes.

Development and test: Quickly create a VM with specific configurations for coding and testing applications.

Cloud applications: Run applications on VMs in Azure, scaling up or down as needed.

Extended datacenter: Connect VMs in an Azure virtual network to your organization’s network.

Considerations Before Creating a VM

Resource Names: Decide on resource names.

Location: Choose where to store resources.

VM Size: Select an appropriate VM size.

Operating System: Decide which OS the VM will run.

Configuration: Plan how to configure the VM after it starts.

Related Resources: Consider other resources the VM needs.

Billing and Resources

  • When you create a VM, you also create supporting resources (e.g., virtual network, NIC).

  • These resources have their own costs, so be aware of them.

  • For example, a VM’s supporting resources include a virtual network and a Network Interface Card (NIC).

Deploying a Virtual Machine

  1. Sign in to Azure: Access the Azure portal. If you don’t have an Azure subscription, create a free account.
  2. Create a Virtual Machine:
  • Search for “virtual machines” in the Azure portal.

  • Select “Virtual machines” under Services.

test

  • Click “Create” and choose “Azure virtual machine.”

Img

Image

  • Select an existing Resource Group or create a new one (we will name it Example)

Naming the RG

  • Provide a name for your VM (e.g., “Example-VM”).

Image

Naming

  • Choose the Azure region that is right for you and your customers. Not all VN size are available in all regions.

Image description

  • Availability options & Availability Zone: Select the availability preferences. for this blog we will choose "no infrastructure redundancy required"

Image description

  • Select “Windows 11 Pro, version 22H2 - x64 Gen2 (free services eligible)” as the image.

Image description

  • Set up an administrator account (username and password).

Image description

  • Allow RDP (port 3389).

Image description

  • Review and create the VM.

review

We still have the storage, Networking, Management and tags but for this blog we will set it all as default so no changes is needed, we will finalize the deployment.

Image description

Now we will connect to the VM we just deployed.

connect

Download RDP file

Click on download RDP file.
Open file, it will prompt a box.
Click connect, enter the admin username and password of the VM.

Download

Image description

Image description

I’ve walked you through the process of creating a virtual machine in Microsoft Azure. You should have a solid grasp of the settings and configuration options. Virtual machines offer scalable computing resources and highly flexible approach to deploying and managing your applications in the cloud.

Top comments (0)