Amazon Web Services → Microsoft Azure
Azure equivalent of Amazon EC2
The Azure equivalent of Amazon EC2 is Azure Virtual Machines.
About Amazon EC2
| Provider | Amazon Web Services |
|---|---|
| Status | Generally available |
| What it is | Resizable virtual servers (instances) on the Nitro System, with On-Demand, Spot, Savings Plans, Reserved Instance, and Dedicated purchase options. |
| Documentation | docs.aws.amazon.com |
| Pricing | Official pricing page |
Azure mappings (1)
| Capability | Azure equivalent | Match |
|---|---|---|
| Virtual machines (IaaS) | Azure Virtual Machines | Direct match |
Virtual machines & images(1)
Virtual machines (IaaS) Direct match
The Azure equivalent of Amazon EC2 is Azure Virtual Machines. Both are general-purpose IaaS VMs with per-second billing, Spot, commitment discounts, and dedicated-host options.
- Networking model. An EC2 instance sits in a VPC subnet with security groups attached to its network interface. An Azure VM's NIC sits in a VNet subnet, filtered by NSGs on the NIC and/or subnet. Public IPs are separate resources on Azure.
- Stopping. A stopped EC2 instance isn't billed for compute. On Azure, a VM stopped from inside the OS keeps billing for compute. Only "Stopped (deallocated)" from the portal, CLI, or API stops compute charges.
- Disks. EC2 uses EBS volumes plus optional instance store. Azure uses managed disks (Standard HDD/SSD, Premium SSD v1/v2, Ultra) plus an optional temporary or local NVMe disk on "d" sizes.