# Virtual Machines

Azure Virtual Machines provides on-demand Windows and Linux servers with configurable compute, storage, networking, and operating-system control.

Cloud service · Azure. Updated 2026-11-25. Page: https://blowstack.com/tools/cloud-services-hub/virtual-machines

> Azure Virtual Machines is an infrastructure-as-a-service offering for workloads that require control over the guest operating system and installed software. Azure manages the underlying physical infrastructure, while engineers configure and maintain the operating system, applications, network access, availability, and data protection.

## 9 key features of Virtual Machines

1. **Workload-specific VM sizes**: Select general-purpose, compute-optimized, memory-optimized, storage-optimized, or GPU-enabled sizes according to workload requirements. Check regional availability, vCPU quotas, processor architecture, and per-VM disk and network limits before provisioning.
2. **Windows, Linux, and custom images**: Deploy supported operating-system images from Azure Marketplace or use your own prepared images. Azure Compute Gallery supports versioned image distribution so teams can deploy consistent operating-system and application baselines.
3. **Persistent managed storage**: Attach managed OS and data disks with performance characteristics suited to the application. Size disks and VMs together because either can impose an IOPS or throughput bottleneck, and keep durable data off temporary local storage.
4. **Private networking and traffic control**: Place VM network interfaces in virtual network subnets and control access with network security groups, routes, and network appliances. Supported sizes can use Accelerated Networking to reduce networking overhead.
5. **Availability placement options**: Deploy redundant VMs across availability zones or use availability sets where appropriate. These placement mechanisms reduce shared failure exposure but require application replication and traffic failover to maintain service availability.
6. **Boot and workload security**: Trusted Launch combines Secure Boot, vTPM, and boot integrity monitoring for supported configurations. Confidential VM families provide hardware-backed protection for data in use when their operating-system and workload requirements are met.
7. **Managed identities**: Assign a system-assigned or user-assigned managed identity to a VM so applications can request tokens for supported Azure services. Grant the identity narrowly scoped permissions instead of storing service credentials in configuration files.
8. **Deployment and guest automation**: Provision VMs through Azure Resource Manager templates, Bicep, Terraform, Azure CLI, or PowerShell. Use cloud-init on supported Linux images or VM extensions for initial configuration, and manage ongoing patching and configuration separately.
9. **Fleet orchestration**: Use Virtual Machine Scale Sets when multiple instances require coordinated provisioning, scaling, and lifecycle management. Configure autoscale rules and health monitoring explicitly rather than assuming individual VMs scale automatically.

## Where Virtual Machines is used

1. **Migrate existing server applications**: Run applications that depend on a full operating system, custom middleware, or privileged installation steps without redesigning them for a managed runtime. Assess operating-system support, licensing, storage performance, and network dependencies before migration.
2. **Development and testing**: Create reproducible environments with specific operating systems, SDKs, and application versions. Use standardized images and scheduled deallocation to reduce configuration drift and unnecessary compute charges.
3. **Self-managed databases and enterprise software**: Host databases or packaged applications that require direct control over patching, configuration, and storage layout. Choose certified VM configurations where required and implement application-aware backup and high availability.
4. **Batch processing and GPU workloads**: Run rendering, simulation, data processing, or machine-learning jobs on suitable CPU or GPU families. Use checkpointing and durable output storage when placing interruption-tolerant jobs on Spot VMs.
5. **Hybrid infrastructure services**: Extend existing environments with application servers, domain services, or integration components in an Azure virtual network. Connect through VPN Gateway or ExpressRoute and design DNS, routing, identity, and failure handling across both environments.
6. **Sensitive workloads requiring isolation**: Use supported confidential VM configurations when applications require hardware-backed isolation of memory from the host environment. Validate image support, attestation requirements, and dependencies before selecting a confidential VM family.

## How Virtual Machines is priced

- **Pay-as-you-go**: Pay for allocated VM compute without a long-term commitment, with rates varying by size, region, operating system, and commercial offer. A stopped but allocated VM remains subject to compute charges; deallocation stops on-demand VM compute charges but does not remove charges for retained resources.
- **Azure Reserved VM Instances**: Commit to eligible VM usage for a one-year or three-year term to receive a billing discount. Reservation matching depends on scope, region, and instance attributes or applicable size flexibility; a reservation discount does not itself guarantee deployment capacity.
- **Azure savings plan for compute**: Commit to an hourly spend on eligible compute for a one-year or three-year term. The benefit applies to qualifying usage under the plan's scope, while usage beyond the commitment is charged at applicable rates.
- **Azure Spot Virtual Machines**: Use spare Azure capacity at variable discounted prices for workloads that can tolerate eviction. Capacity and continued runtime are not guaranteed, so applications should checkpoint progress, externalize state, and support retries.
- **Azure Hybrid Benefit**: Apply qualifying Windows Server or supported Linux subscription entitlements to eligible VM deployments under the relevant licensing terms. This is a licensing benefit rather than a separate compute capacity model, and eligibility must be verified before enabling it.
- **Storage, networking, and supporting services**: Budget separately for managed disks, applicable disk operations and performance settings, public IP addresses, outbound data transfer, and services such as backup and monitoring. Marketplace software can add licensing charges, and retained resources can continue billing after VM deallocation or deletion.

## Services Virtual Machines works with

A common production architecture places redundant application VMs in private virtual network subnets and distributes traffic through Azure Load Balancer. Network security groups restrict communication between tiers, while administrative access uses a controlled path rather than public SSH or RDP exposure. Applications use VM managed identities to retrieve secrets from Azure Key Vault, with narrowly scoped authorization and appropriate network connectivity.

Operational integrations separate visibility, security, backup, and disaster recovery. Azure Monitor collects platform metrics and selected guest telemetry for alerting and troubleshooting. Microsoft Defender for Cloud assesses security posture and provides additional protections when the relevant plans and prerequisites are configured. Azure Backup provides retained recovery points, while Azure Site Recovery supports regional replication and orchestrated failover for supported workloads.

Deploy these integrations through infrastructure as code alongside the VMs so network rules, identity assignments, monitoring configuration, and protection policies remain consistent. Test restores and failovers independently, including DNS changes, application startup order, and access to dependencies. Include telemetry ingestion, backup storage, replication, and network transfer in the architecture's cost model.

- **[Azure Virtual Network](https://blowstack.com/tools/cloud-services-hub/azure-virtual-network)**: VM network interfaces attach to subnets in an Azure Virtual Network, where network security groups and routing govern connectivity. For example, place application VMs in a private subnet and permit database traffic only from the application tier. Use peering or hybrid connectivity when the application spans networks.
- **[Azure Load Balancer](https://blowstack.com/tools/cloud-services-hub/azure-load-balancer)**: Azure Load Balancer distributes TCP or UDP traffic across VM backends and uses health probes to identify available endpoints. For example, place two application VMs in different availability zones behind a Standard Load Balancer. Configure probes to reflect application readiness and verify that network security rules permit both probes and client traffic.
- **[Azure Monitor](https://blowstack.com/tools/cloud-services-hub/azure-monitor)**: Azure Monitor collects platform metrics, while Azure Monitor Agent and data collection rules collect selected guest logs and performance data. For example, send Linux syslog and memory counters to a Log Analytics workspace and alert on sustained memory pressure. Size retention and collection scope carefully to control ingestion costs.
- **[Azure Backup](https://blowstack.com/tools/cloud-services-hub/azure-backup)**: Azure Backup protects supported VM configurations through backup policies associated with a Recovery Services vault. For example, configure scheduled backups for a business application and regularly restore a recovery point into an isolated network. Cross-subscription backup supports placing the vault in a different subscription within the same tenant, subject to the feature's configuration requirements.
- **[Azure Site Recovery](https://blowstack.com/tools/cloud-services-hub/azure-site-recovery)**: Azure Site Recovery replicates supported Azure VMs to another region and orchestrates recovery operations. For example, build a recovery plan that starts database servers before application servers and run test failovers in an isolated virtual network. Validate replication compatibility, target-region capacity, networking, and application consistency rather than treating replication as a replacement for backup.
- **[Azure Key Vault](https://blowstack.com/tools/cloud-services-hub/azure-key-vault)**: Applications running on VMs can use managed identities to retrieve authorized secrets, keys, or certificates from Azure Key Vault. For example, grant a VM identity access to a specific application secret instead of storing that secret in an image or deployment script. Configure Key Vault network access and authorization independently, and implement retry and caching behavior appropriate to the application.
- **[Microsoft Defender for Cloud](https://blowstack.com/tools/cloud-services-hub/microsoft-defender-for-cloud)**: Microsoft Defender for Cloud assesses VM security posture and offers additional server protection through applicable Defender for Servers plans. For example, use its recommendations to identify exposed management ports or missing security controls and route security alerts into incident response workflows. Enable the required plans, agents, and permissions explicitly because assessment and protection capabilities have different prerequisites.
- **[Automation](https://blowstack.com/tools/cloud-services-hub/automation)**: Azure VMs can run Automation jobs locally through the Hybrid Runbook Worker extension. Runbooks can also manage VM lifecycle operations, such as deallocating tagged development VMs at the end of the workday.
- **[Azure Adaptive Virtual Patching](https://blowstack.com/tools/cloud-services-hub/azure-adaptive-virtual-patching)**: Eligible Azure VMs can be enrolled in a protection shield. The service installs the Neuron extension to inventory the guest and apply supported vulnerability mitigations.
- **[Azure Advisor](https://blowstack.com/tools/cloud-services-hub/azure-advisor)**: Azure VMs receive recommendations based on their configuration and utilization. Advisor can flag an underused VM for resizing or identify a VM that could benefit from availability or disaster recovery improvements.
- **[Azure App Testing](https://blowstack.com/tools/cloud-services-hub/azure-app-testing)**: Azure VMs hosting an application can be added as monitored components in an Azure Load Testing run. VM metrics such as CPU utilization can then be compared with response times and error rates during the test.
- **[Azure Application Gateway](https://blowstack.com/tools/cloud-services-hub/azure-application-gateway)**: Azure VMs can serve as HTTP or HTTPS backends in an Application Gateway backend pool. Gateway health probes determine which VM backends are available to receive requests.
- **[Azure Automanage](https://blowstack.com/tools/cloud-services-hub/azure-automanage)**: Azure VMs can be assigned an Automanage configuration profile. The profile configures participating management services and checks for drift from the selected settings.
- **[Azure Bastion](https://blowstack.com/tools/cloud-services-hub/azure-bastion)**: Azure VMs can accept RDP or SSH sessions through Bastion on their private IP addresses. The VMs do not need public IP addresses for these management sessions.
- **[Azure Blob Storage](https://blowstack.com/tools/cloud-services-hub/azure-blob-storage)**: Azure VM boot diagnostics store console logs and screenshots in managed storage or in a configured storage account. Blob Storage can also hold a VHD that is imported as a managed disk for a new VM.
- **[Azure Blueprints](https://blowstack.com/tools/cloud-services-hub/azure-blueprints)**: Azure VMs can be provisioned through Azure Resource Manager template artifacts in a blueprint assignment. The same assignment can deploy the VMs and apply accompanying policies and role assignments.
- **[Azure Center for SAP solutions](https://blowstack.com/tools/cloud-services-hub/azure-center-for-sap-solutions)**: Azure VMs running SAP application and database tiers can be deployed as part of a supported SAP topology or discovered when an existing SAP system is registered. The resulting Virtual Instance for SAP solutions identifies the VMs associated with each SAP component.
- **[Azure Chaos Studio](https://blowstack.com/tools/cloud-services-hub/azure-chaos-studio)**: Azure VMs can be registered as targets for resilience experiments. Experiments can use supported platform faults, such as shutting down a VM, or use a guest agent to introduce faults such as CPU pressure.
- **[Azure Content Delivery Network](https://blowstack.com/tools/cloud-services-hub/azure-content-delivery-network)**: A publicly reachable web server on an Azure VM can be configured as a custom CDN origin. The CDN fetches and caches eligible content, such as images or downloads, at its edge locations.
- **[Azure Data Box](https://blowstack.com/tools/cloud-services-hub/azure-data-box)**: VHDs transferred with Data Box can be imported into Azure managed disks. A supported operating system disk imported this way can be used to create an Azure VM.
- **[Azure Data Factory](https://blowstack.com/tools/cloud-services-hub/azure-data-factory)**: Azure VMs can host the self-hosted integration runtime that executes Data Factory copy activities against private data sources. A runtime on a Windows VM can, for example, copy data from a SQL Server instance that is reachable only over a private network.
- **[Azure Database for PostgreSQL](https://blowstack.com/tools/cloud-services-hub/azure-database-for-postgresql)**: A self-managed PostgreSQL instance on an Azure VM can be a source for the built-in migration service in Azure Database for PostgreSQL Flexible Server. The service moves the database to the managed server rather than moving the VM itself.
- **[Azure Database Migration Service](https://blowstack.com/tools/cloud-services-hub/azure-database-migration-service)**: Azure VMs running SQL Server can be migration destinations for supported Database Migration Service workflows. This moves databases onto the VM while preserving control over the SQL Server instance and guest operating system.
- **[Azure Databricks](https://blowstack.com/tools/cloud-services-hub/azure-databricks)**: Azure Databricks provisions Azure VMs for the driver and workers of classic compute clusters. The cluster configuration selects the VM types, and Databricks manages the nodes as the cluster starts, scales, and terminates.
- **[Azure DDoS Protection](https://blowstack.com/tools/cloud-services-hub/azure-ddos-protection)**: Azure VMs with eligible public IP addresses can receive network-layer DDoS protection. Protection can be enabled for the VM's public IP or inherited through a DDoS Network Protection plan on its virtual network.
- **[Azure Dedicated Host](https://blowstack.com/tools/cloud-services-hub/azure-dedicated-host)**: Supported Azure VMs can be placed on a physical host dedicated to a single Azure subscription. Host groups also let VM replicas be placed across separate hosts and fault domains.
- **[Azure Dedicated HSM](https://blowstack.com/tools/cloud-services-hub/azure-dedicated-hsm)**: Azure VMs can be registered as clients of a Dedicated HSM using supported Thales client software and private network connectivity. A certificate authority running on a VM can use that setup to keep its signing key on the appliance.
- **[Azure Deployment Environments](https://blowstack.com/tools/cloud-services-hub/azure-deployment-environments)**: Azure VMs can be provisioned as part of a self-service environment defined in an infrastructure template. For example, an environment definition can deploy a test VM and its network together for each developer.
- **[Azure DevOps](https://blowstack.com/tools/cloud-services-hub/azure-devops)**: Azure VMs can be registered as Azure Pipelines environment resources so deployment jobs run on the target machines. A pipeline can roll out a release to VM targets in batches.
- **[Azure DevTest Labs](https://blowstack.com/tools/cloud-services-hub/azure-devtest-labs)**: Azure VMs created through DevTest Labs are subject to lab policies for allowed images, VM sizes, usage limits, and schedules. Formulas and artifacts can give participants preconfigured, repeatable VM setups.
- **[Azure Disk Storage](https://blowstack.com/tools/cloud-services-hub/azure-disk-storage)**: Azure VMs use managed disks for persistent operating system and data volumes. For example, a database VM can use a separate performance-tiered data disk while retaining its operating system on another disk.
- **[Azure DNS](https://blowstack.com/tools/cloud-services-hub/azure-dns)**: Azure VMs can have their private host records created and removed automatically when their virtual network is linked to a private DNS zone with autoregistration enabled.
- **[Azure Elastic SAN](https://blowstack.com/tools/cloud-services-hub/azure-elastic-san)**: Windows and Linux VMs can connect to Elastic SAN volumes over iSCSI. The Elastic SAN VM extension can configure supported volume connections on Windows VMs.
- **[Azure Enclave](https://blowstack.com/tools/cloud-services-hub/azure-enclave)**: Supported Azure VM sizes expose hardware-backed Intel SGX enclaves to applications. An application can use an enclave to protect selected code and data in use without placing the entire guest operating system inside the enclave.
- **[Azure ExpressRoute](https://blowstack.com/tools/cloud-services-hub/azure-expressroute)**: Azure VMs can be reached at their private IP addresses from an on-premises network over ExpressRoute private peering. This allows private connectivity to VM workloads without publishing those workloads on the internet.
- **[Azure Files](https://blowstack.com/tools/cloud-services-hub/azure-files)**: Azure VMs can mount Azure file shares over SMB or NFS, depending on the share and guest configuration. A Windows Server VM can also run the Azure File Sync agent to keep a local file share synchronized with an Azure file share.
- **[Azure Firewall](https://blowstack.com/tools/cloud-services-hub/azure-firewall)**: Azure VM traffic can be routed through Azure Firewall for filtering. For example, VM subnets can send outbound traffic through the firewall so workloads can reach approved update endpoints without unrestricted internet access.
- **[Azure Firewall Manager](https://blowstack.com/tools/cloud-services-hub/azure-firewall-manager)**: Azure VM networks can use centrally managed firewall policies through Firewall Manager. A policy applied to the firewalls serving multiple hubs can enforce consistent outbound rules for VM workloads across those networks.
- **[Azure Front Door](https://blowstack.com/tools/cloud-services-hub/azure-front-door)**: A web application running on Azure VMs can receive traffic through a Front Door origin group. Front Door can probe and route to VM-backed endpoints in different regions; Premium can also reach an internal load balancer origin over Private Link.
- **[Azure Infrastructure Resiliency Manager](https://blowstack.com/tools/cloud-services-hub/azure-infrastructure-resiliency-manager)**: Azure VMs can be inventoried and assessed for backup and disaster recovery coverage in Infrastructure Resiliency Manager. It brings VM protection status into one view so operators can identify workloads with gaps.
- **[Azure IoT Edge](https://blowstack.com/tools/cloud-services-hub/azure-iot-edge)**: A Linux Azure VM can be provisioned as an IoT Edge device with the IoT Edge runtime installed in the guest. This lets a team deploy and test managed edge modules without physical edge hardware.
- **[Azure Kubernetes Service (AKS)](https://blowstack.com/tools/cloud-services-hub/azure-kubernetes-service-(aks))**: Azure VMs provide the worker nodes in AKS node pools. Node pool settings control the selected VM sizes and capacity, while AKS manages node provisioning and replacement.
- **[Azure Lab Services](https://blowstack.com/tools/cloud-services-hub/azure-lab-services)**: Azure Lab Services provisions an Azure VM for each assigned lab participant from a lab template. The lab service controls access, usage quotas, and automatic shutdown for those VMs.
- **[Azure Lighthouse](https://blowstack.com/tools/cloud-services-hub/azure-lighthouse)**: Azure VMs in delegated subscriptions or resource groups can be managed from a service provider's tenant. The delegated role determines whether operators can perform tasks such as viewing VM inventory or managing VM extensions.
- **[Azure Machine Learning](https://blowstack.com/tools/cloud-services-hub/azure-machine-learning)**: Azure VMs provide compute for Azure Machine Learning compute instances and managed training clusters. A training cluster can provision GPU VM nodes for a job and scale them down when idle.
- **[Azure Managed Grafana](https://blowstack.com/tools/cloud-services-hub/azure-managed-grafana)**: Azure VM metrics and guest telemetry can be visualized in Managed Grafana through its built-in Azure Monitor data source. A dashboard can show fleet-wide CPU utilization alongside guest memory and disk counters collected for individual VMs.
- **[Azure Managed Instance for Apache Cassandra](https://blowstack.com/tools/cloud-services-hub/azure-managed-instance-for-apache-cassandra)**: Self-managed Cassandra nodes on Azure VMs can participate in a hybrid Cassandra cluster with a managed datacenter. Cassandra can replicate data between the VM-hosted and managed datacenters during a phased migration.
- **[Azure Managed Lustre](https://blowstack.com/tools/cloud-services-hub/azure-managed-lustre)**: Supported Azure VMs can mount Managed Lustre file systems using the Lustre client. A pool of compute VMs can then read shared input data and write results to the same high-throughput file system.
- **[Azure Marketplace](https://blowstack.com/tools/cloud-services-hub/azure-marketplace)**: Azure VMs can be created directly from Marketplace images and plans. This lets a deployment start with a publisher's prepared operating system, application, or network appliance image.
- **[Azure NAT Gateway](https://blowstack.com/tools/cloud-services-hub/azure-nat-gateway)**: Azure VMs in a subnet associated with NAT Gateway use its public IP addresses for outbound internet connections without needing public IP addresses on their network interfaces.
- **[Azure NetApp Files](https://blowstack.com/tools/cloud-services-hub/azure-netapp-files)**: Azure VMs can mount Azure NetApp Files volumes over NFS or SMB. Multiple Linux compute VMs can share an NFS volume, for example, while Windows application VMs use an SMB volume.
- **[Azure Network Watcher](https://blowstack.com/tools/cloud-services-hub/azure-network-watcher)**: Azure VMs can be used as sources for Network Watcher diagnostics, with the Network Watcher VM extension installed where required. Operators can test connectivity from a source VM or capture packets on it to troubleshoot a network issue.
- **[Azure Operator Service Manager](https://blowstack.com/tools/cloud-services-hub/azure-operator-service-manager)**: Azure VMs can host virtualized network functions deployed by Azure Operator Service Manager. A network function package can use an Azure Resource Manager template to define the VMs, disks, and interfaces that the service instantiates.
- **[Azure Policy](https://blowstack.com/tools/cloud-services-hub/azure-policy)**: Azure VM deployments can be audited or denied based on settings such as allowed VM sizes or required security features. Azure Machine Configuration can also audit or enforce supported settings inside the guest.
- **[Azure portal](https://blowstack.com/tools/cloud-services-hub/azure-portal)**: Azure VMs have a dedicated management experience in the Azure portal for actions such as resizing, attaching disks, and installing extensions. The VM page can also surface boot diagnostics and run supported guest commands.
- **[Azure Private Link](https://blowstack.com/tools/cloud-services-hub/azure-private-link)**: An application on Azure VMs behind a supported Standard Load Balancer can be published as a Private Link service. Consumers connect through private endpoints without needing public IP addresses on the backend VMs.
- **[Azure Red Hat OpenShift](https://blowstack.com/tools/cloud-services-hub/azure-red-hat-openshift)**: Azure VMs serve as control-plane and worker nodes in Azure Red Hat OpenShift clusters. Cluster and machine-set settings determine the VM sizes and the number of worker nodes.
- **[Azure Resource Manager](https://blowstack.com/tools/cloud-services-hub/azure-resource-manager)**: Azure VMs are provisioned and managed as Microsoft.Compute resource types in Azure Resource Manager. A declarative deployment can create a VM and associate its disks, network interfaces, and extensions.
- **[Azure Resource Mover](https://blowstack.com/tools/cloud-services-hub/azure-resource-mover)**: Supported Azure VMs can be moved to another Azure region with their managed disks and required network dependencies. Resource Mover prepares the destination resources before operators initiate and commit the move.
- **[Azure role-based access control (Azure RBAC)](https://blowstack.com/tools/cloud-services-hub/azure-role-based-access-control-(azure-rbac))**: Azure VM management permissions can be assigned at the VM, resource group, or subscription scope. VM-specific roles can grant operational access or, with Microsoft Entra sign-in configured, permission to log in to a guest.
- **[Azure Route Server](https://blowstack.com/tools/cloud-services-hub/azure-route-server)**: Network virtual appliances running on Azure VMs can exchange BGP routes with Azure Route Server. This lets supported routing appliances advertise branch networks to Azure without maintaining equivalent static routes by hand.
- **[Azure Service Fabric](https://blowstack.com/tools/cloud-services-hub/azure-service-fabric)**: Azure VMs provide the nodes that run Service Fabric workloads. In Azure-hosted clusters, node types use VM scale sets, letting an operator size and scale groups of nodes separately.
- **[Azure Service Health](https://blowstack.com/tools/cloud-services-hub/azure-service-health)**: Azure VMs have individual availability information in Resource Health. Operators can check whether an unavailable VM was affected by a platform event and configure alerts for supported health changes.
- **[Azure SQL Database](https://blowstack.com/tools/cloud-services-hub/azure-sql-database)**: SQL Server on an Azure VM can publish transactional replication changes to an Azure SQL Database push subscriber. This lets a VM-hosted database continuously send selected tables to the managed database.
- **[Azure SQL Managed Instance](https://blowstack.com/tools/cloud-services-hub/azure-sql-managed-instance)**: SQL Server on an Azure VM can use Managed Instance link to replicate a database to Azure SQL Managed Instance. Supported configurations use a distributed availability group for scenarios such as migration or disaster recovery.
- **[Azure SRE Agent](https://blowstack.com/tools/cloud-services-hub/azure-sre-agent)**: Azure VMs can be included in the resource scope that an SRE Agent investigates. With appropriate access, the agent can correlate VM health, configuration, and monitoring data when troubleshooting an incident.
- **[Azure Synapse Analytics](https://blowstack.com/tools/cloud-services-hub/azure-synapse-analytics)**: Azure VMs can host the self-hosted integration runtime used by Synapse pipelines to access private data sources. For example, a runtime on a Windows VM can run a copy activity against a database reachable only from that network.
- **[Azure Traffic Manager](https://blowstack.com/tools/cloud-services-hub/azure-traffic-manager)**: An Azure VM's public IP resource can be registered as an Azure endpoint in Traffic Manager. DNS routing and health probes can direct clients to a healthy VM-hosted endpoint in another region.
- **[Azure Virtual Desktop](https://blowstack.com/tools/cloud-services-hub/azure-virtual-desktop)**: Azure VMs can be registered as session hosts in an Azure Virtual Desktop host pool. The guest agent connects each VM to the service so it can receive desktop or application sessions.
- **[Azure Virtual Machine Scale Sets](https://blowstack.com/tools/cloud-services-hub/azure-virtual-machine-scale-sets)**: Scale sets provision and manage groups of Azure VM instances with shared scaling and orchestration settings. Flexible orchestration uses standard Azure VM resources for its instances.
- **[Azure Virtual Network Manager](https://blowstack.com/tools/cloud-services-hub/azure-virtual-network-manager)**: Azure VMs inherit connectivity and security configurations applied to their virtual networks through Virtual Network Manager. Security admin rules can, for example, centrally block a traffic pattern before VM network security group rules are evaluated.
- **[Azure Virtual WAN](https://blowstack.com/tools/cloud-services-hub/azure-virtual-wan)**: Azure VMs in spoke virtual networks can use a Virtual WAN hub to reach connected branches, other spokes, or remote users. Hub routing can also steer VM traffic through a secured hub.
- **[Azure VPN Gateway](https://blowstack.com/tools/cloud-services-hub/azure-vpn-gateway)**: Azure VMs can be accessed on their private addresses over site-to-site or point-to-site VPN connections. The VPN tunnel terminates at the gateway rather than requiring a VPN endpoint on each VM.
- **[Azure Web Application Firewall](https://blowstack.com/tools/cloud-services-hub/azure-web-application-firewall)**: Web applications hosted on Azure VMs can be protected by a Web Application Firewall policy on Application Gateway or Front Door. The policy inspects HTTP requests before they reach the VM backends.
- **[Batch](https://blowstack.com/tools/cloud-services-hub/batch)**: Azure VMs provide the compute nodes in Batch pools. Batch provisions nodes from the specified VM image and size, dispatches work to them, and can resize the pool as demand changes.
- **[Event Grid](https://blowstack.com/tools/cloud-services-hub/event-grid)**: Azure VM resource changes can produce Event Grid notifications through an Azure subscription or resource group system topic. A subscription filtered to the VM resource type can trigger a workflow when a VM is created, updated, or deleted.
- **[Event Hubs](https://blowstack.com/tools/cloud-services-hub/event-hubs)**: Supported Azure VM platform metrics can be streamed to Event Hubs through diagnostic settings. A downstream monitoring system can consume that stream without polling each VM for metrics.
- **[Foundry Models](https://blowstack.com/tools/cloud-services-hub/foundry-models)**: Models deployed to managed compute in supported Foundry hub-based projects run on dedicated Azure VM instances. The deployment specifies a VM size and instance count for model inference.
- **[HDInsight](https://blowstack.com/tools/cloud-services-hub/hdinsight)**: Azure VMs provide the head, worker, and other role-specific nodes in HDInsight clusters. The selected VM sizes and node counts determine capacity for workloads such as Spark or Hadoop.
- **[Logic Apps](https://blowstack.com/tools/cloud-services-hub/logic-apps)**: Azure VMs can be managed from Logic Apps through the Azure VM connector. A scheduled workflow can use built-in actions to start or deallocate a VM.
- **[Managed DevOps Pools](https://blowstack.com/tools/cloud-services-hub/managed-devops-pools)**: Azure VMs provide the build agents that Managed DevOps Pools provisions and scales for Azure Pipelines. A pool specifies the VM size and image, while the service manages the agent machines.
- **[Microsoft Azure Attestation](https://blowstack.com/tools/cloud-services-hub/microsoft-azure-attestation)**: Supported Trusted Launch VMs can use the guest attestation extension to submit virtual TPM measurements. Attestation verifies whether the measured boot state satisfies the configured integrity checks.
- **[Microsoft Cost Management](https://blowstack.com/tools/cloud-services-hub/microsoft-cost-management)**: Azure VM usage charges are attributed to VM resources in Cost Management. Operators can break down compute spending by VM or examine reservation costs and savings for eligible VM usage.
- **[Microsoft Dev Box](https://blowstack.com/tools/cloud-services-hub/microsoft-dev-box)**: A prepared Azure VM can be captured as an image in Azure Compute Gallery and used as the basis for a compatible Dev Box image. This lets teams reuse a standardized Windows configuration and preinstalled development tools.
- **[Microsoft Entra Domain Services](https://blowstack.com/tools/cloud-services-hub/microsoft-entra-domain-services)**: Supported Azure VMs can join a managed domain provided by Microsoft Entra Domain Services. Domain-joined VMs can use Kerberos authentication, and Windows VMs can receive Group Policy without self-managed domain controllers.
- **[Microsoft Entra ID (formerly Azure AD)](https://blowstack.com/tools/cloud-services-hub/microsoft-entra-id-(formerly-azure-ad))**: Supported Windows and Linux VMs can use a sign-in extension to authenticate users with Microsoft Entra ID. A VM can also have a managed identity so its workloads can obtain tokens without storing client secrets.
- **[Microsoft Fabric](https://blowstack.com/tools/cloud-services-hub/microsoft-fabric)**: A Windows Azure VM can host the on-premises data gateway used by Fabric to reach data sources on private networks. The gateway can, for example, refresh a Fabric workload from a SQL Server instance without exposing the database publicly.
- **[Microsoft Foundry](https://blowstack.com/tools/cloud-services-hub/microsoft-foundry)**: In Foundry hub-based projects, Azure VM-backed compute instances can run development workloads such as prompt flow authoring and testing. The project can select a compute instance sized for that work.
- **[Microsoft Purview](https://blowstack.com/tools/cloud-services-hub/microsoft-purview)**: An Azure VM can host the Microsoft Purview self-hosted integration runtime used to scan data sources on private networks. The runtime can scan a SQL Server instance on an Azure VM without making the database publicly reachable.
- **[Microsoft Sentinel](https://blowstack.com/tools/cloud-services-hub/microsoft-sentinel)**: Azure VMs can send Windows security events or Linux Syslog data to Sentinel through data connectors that use the Azure Monitor Agent. Sentinel can then analyze and correlate the guest events with other security signals.
- **[SQL Server on Azure Virtual Machines](https://blowstack.com/tools/cloud-services-hub/sql-server-on-azure-virtual-machines)**: Azure VMs running SQL Server can be registered with the SQL IaaS Agent extension for SQL-specific management. This exposes features such as license configuration and, on supported configurations, automated backup and patching.
- **[Table Storage](https://blowstack.com/tools/cloud-services-hub/table-storage)**: Azure VMs using the legacy Azure Diagnostics extension could write guest performance counters and selected logs to Azure Table Storage. This is a legacy collection path, not a destination used by the Azure Monitor Agent.
- **[Update management center](https://blowstack.com/tools/cloud-services-hub/update-management-center)**: Azure Update Manager uses VM extensions to assess missing guest operating system updates and install patches on supported Azure VMs. Maintenance configurations can group VMs for patching in a recurring window.

## Alternatives to Virtual Machines in other clouds

### AWS

**[Amazon EC2](https://blowstack.com/tools/cloud-services-hub/amazon-ec2)**: Amazon EC2 and Azure Virtual Machines both run configurable cloud servers and offer on-demand, reserved, and Spot pricing. EC2 stops on-demand compute billing when an instance enters the stopped state, whereas Azure requires deallocation; EC2 describes reservations as commitments to a specific instance type, while Azure allows size flexibility where applicable.

| | Virtual Machines | Amazon EC2 |
| --- | --- | --- |
| When compute billing stops | VM deallocated, not merely stopped | Instance stopped |
| Reservation size matching | Size flexibility where applicable | Specific instance type |

Compared Nov 2026.

**[Amazon Lightsail](https://blowstack.com/tools/cloud-services-hub/amazon-lightsail)**: Amazon Lightsail and Azure Virtual Machines both run Windows and Linux servers for applications and dev/test environments. Lightsail bundles compute, storage, and a transfer allowance in fixed monthly plans and offers one-click application templates; Azure bills on-demand compute separately from disks and outbound transfer and supports Marketplace and custom images.

| | Virtual Machines | Amazon Lightsail |
| --- | --- | --- |
| Server billing | Compute, disk, and transfer separate | Fixed monthly bundles |
| Deployment templates | Marketplace and custom images | One-click app and stack templates |
| Network access controls | VNet security groups and routes | Per-instance firewall |

Compared Nov 2026.

## What is Virtual Machines

Azure Virtual Machines provides virtualized servers for running Windows and Linux applications in Azure. Each VM has a selected size that determines its vCPU count, memory, and limits for storage and networking. Choose a VM when software requires administrative access, specific operating-system settings, custom agents, or installation procedures that are unsuitable for a managed application platform. Azure operates the physical hosts, but guest configuration, application maintenance, and recovery planning remain customer responsibilities.

Start by selecting a region, operating-system image, VM size, and availability configuration. General-purpose, compute-optimized, memory-optimized, storage-optimized, and GPU-enabled families support different workload profiles. Availability varies by region and zone, and deployment depends on both subscription quotas and available capacity. Validate processor architecture, image compatibility, disk support, and software licensing before deployment. Resizing can require a restart or deallocation, so plan changes around application availability requirements.

A VM normally uses an operating-system disk and can attach persistent data disks through Azure Managed Disks. Disk performance is constrained by both the selected disk configuration and the VM's aggregate I/O limits. Place databases and other durable application data on appropriately configured persistent disks. Temporary local storage, where provided, is not durable and must not contain the only copy of important data. Ephemeral OS disks are another distinct option for supported configurations and are appropriate when the operating system can be recreated rather than preserved.

VM network interfaces connect to subnets in an Azure Virtual Network. Apply network security groups and routing rules to control traffic, and avoid exposing SSH or RDP directly to the internet. Use private connectivity and controlled administrative access where possible. Configure an explicit outbound connectivity method for workloads that need internet access. Managed identities let applications authenticate to supported Azure services without embedding credentials, while Azure role-based access control governs management-plane permissions separately from guest operating-system access.

A single VM does not provide application-level high availability. Distribute redundant instances across availability zones where supported, or use availability sets to reduce exposure to shared infrastructure failures. Add health-based traffic distribution and ensure that application state is replicated or stored externally. Virtual Machine Scale Sets provide orchestration for fleets that need consistent configuration and scaling. Backups and regional disaster recovery address different failure scenarios and should be designed and tested separately.

Deploy repeatable configurations with infrastructure as code and standardized images. Collect guest telemetry with Azure Monitor Agent, configure alerts, patch supported operating systems through Azure Update Manager, and apply security controls such as Trusted Launch where compatible. Track compute, disk, network, licensing, and supporting-service charges together. Shutting down the guest operating system alone can leave the VM allocated and billable; deallocate it to stop on-demand VM compute charges, while recognizing that retained disks and other resources can continue to incur costs.
