Azure Spot Virtual Machines
Product
未使用のAzure容量上で稼働し、割引価格で利用できるAzure仮想マシンです。Azureが容量を必要とした場合には退避される可能性があり、中断を許容できるワークロードに適しています。
関係
Azure Spot Virtual Machinesは製品で、Microsoft Azureの一部です。
Description
Azure Spot Virtual Machines are Azure virtual machines that run on unused Azure capacity at a discount. In exchange for the lower price, Azure can evict them whenever it needs the capacity back. The product is part of Microsoft Azure and is documented on Microsoft Learn. Because eviction can occur at any time, Spot VMs are meant for workloads that tolerate interruption, such as batch processing, dev/test environments and stateless processing. Microsoft advises standard virtual machines where capacity is needed immediately.
The central design decision with Spot VMs is how to handle eviction. Two eviction policies exist. With the deallocate policy, which is the default, the VM is kept in a stopped-deallocated state after eviction. Redeployment is not guaranteed, and while the VM sits in that state its disks still incur storage cost and its cores still count against quota. With the delete policy, both the VM and its disks are removed. Which policy fits depends on whether the workload needs to keep its state or can be rebuilt from scratch.
Price handling is the second control. A maximum price can be set in US dollars per hour. A value of minus one means the VM is never evicted for price reasons, although it can still be evicted when Azure needs the capacity. Changing the max price requires deallocating the VM. Price and eviction-rate history is visible in the portal and through Azure Resource Graph, which helps when comparing sizes and regions before committing a workload. Scheduled events can provide a best-effort warning shortly before eviction, giving an application a short window to save progress or shut down cleanly.
Several limits apply. Spot VMs have no SLA or availability guarantee. They draw on their own quota pool rather than the standard VM quota. B-series and promo sizes are unsupported, and a VM cannot be converted between Spot and standard, so the choice has to be made when the machine is created. Spot VMs are offered under several agreement types, including Enterprise Agreement, pay-as-you-go and Cloud Solution Provider.
In practice, Spot VMs fit tasks that can be paused, retried or distributed across many short-lived machines. Designing for interruption usually means keeping state outside the VM, making jobs restartable and handling eviction notices. Because the workloads are disposable and often created in bulk, they pair naturally with automated provisioning.
That link to automation is the focus of the M365.FM episode "Azure Infrastructure as Code and DevOps with Maik van der Gaag [MVP]". The episode discusses cost optimization through Infrastructure as Code, saying that IaC gives control over every resource, makes it possible to track usage and adjust capacity, and helps avoid paying for unused services. In that context it describes building fault-tolerant workloads with Azure Spot Virtual Machines, stating that these machines cost much less than standard ones and that savings of up to 90% are possible when workloads can handle interruptions. The episode adds that IaC allows such environments to be set up quickly and keeps the architecture resilient, and that Azure Reservations and Savings Plans can also be managed with IaC. The savings figure comes from the episode; the Microsoft Learn documentation describes the discount only as a reduced price on spare capacity, so actual savings depend on size, region and current conditions.
Overview compiled with AI from M365.FM episodes and the facts on this page. You can improve it with the edit button below.
| Type | Product |
|---|---|
| Documentation | Azure Spot Virtual Machines – Microsoft Learn learn.microsoft.com |
Articles about Azure Spot Virtual Machines (2)
Azure Spot Virtual Machinesを扱った記事:
- Azure Virtual Machine Scale Sets の Uniform と Flexible: どちらのオーケストレーション モードを選ぶべきか?
· Mirko Peters
Azure Virtual Machine Scale Sets の Uniform と Flexible のオーケストレーション モードを比較します。主な違い、移行のヒント、そしてどのモデルがクラウド アプリに適しているかを解説します。 - Azure Virtual Machine Scale Sets Uniform vs Flexible: Which Orchestration Mode Should You Choose?
· Mirko Peters
Compare Azure Virtual Machine Scale Sets Uniform and Flexible orchestration modes. Learn key differences, migration tips, and which model fits your cloud app.
関連テーマの概要
Azure Spot Virtual Machinesに関連するテーマと簡単な説明:
- Microsoft Azure – Microsoftのクラウド プラットフォーム
Microsoft Azure は、コンピューティング、ストレージ、ネットワーク、データベース、分析、AI のサービスを提供する Microsoft のクラウドプラットフォームです。
Azure Spot Virtual Machinesのすべての関係(関係の種類別):
Part of
Azure Spot Virtual Machinesを含むサービス:
Community wiki
Short info above, community knowledge below: add practical tips, examples or corrections. New contributions are reviewed first; trusted members publish directly.
Experts and companies for this topic
Nobody has listed this topic yet. Add it to your profile.
Sources
- Azure Spot Virtual Machines – Microsoft Learn learn.microsoft.com
- RSSフィード: Azure Spot Virtual Machines
- Articles on this topic: 2
Maintained by Mirko Peters (Microsoft MVP) · Last updated: