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
- Sign in to Azure: Access the Azure portal. If you don’t have an Azure subscription, create a free account.
- Create a Virtual Machine:
Search for “virtual machines” in the Azure portal.
Select “Virtual machines” under Services.
- Click “Create” and choose “Azure virtual machine.”
- Select an existing Resource Group or create a new one (we will name it Example)
- Provide a name for your VM (e.g., “Example-VM”).
- Choose the Azure region that is right for you and your customers. Not all VN size are available in all regions.
- Availability options & Availability Zone: Select the availability preferences. for this blog we will choose "no infrastructure redundancy required"
- Select “Windows 11 Pro, version 22H2 - x64 Gen2 (free services eligible)” as the image.
- Set up an administrator account (username and password).
- Allow RDP (port 3389).
- Review and create the VM.
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.
Now we will connect to the VM we just deployed.
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.
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)