Skip to content

Commit c9eb3e6

Browse files
Merge pull request #108642 from cynthn/ga-spot
Spot GA
2 parents 9e6396f + 8ec8a79 commit c9eb3e6

File tree

9 files changed

+38
-110
lines changed

9 files changed

+38
-110
lines changed

articles/virtual-machine-scale-sets/use-spot.md

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,20 @@
11
---
2-
title: Create a scale set that uses Azure Spot VMs (Preview)
2+
title: Create a scale set that uses Azure Spot VMs
33
description: Learn how to create Azure virtual machine scale sets that use Spot VMs to save on costs.
44
author: cynthn
5-
tags: azure-resource-manager
65
ms.service: virtual-machine-scale-sets
76
ms.workload: infrastructure-services
8-
ms.topic: conceptual
9-
ms.date: 02/11/2020
7+
ms.topic: article
8+
ms.date: 03/25/2020
109
ms.author: cynthn
1110
---
1211

13-
# Preview: Azure Spot VMs for virtual machine scale sets
12+
# Azure Spot VMs for virtual machine scale sets
1413

1514
Using Azure Spot on scale sets allows you to take advantage of our unused capacity at a significant cost savings. At any point in time when Azure needs the capacity back, the Azure infrastructure will evict Spot instances. Therefore, Spot instances are great for workloads that can handle interruptions like batch processing jobs, dev/test environments, large compute workloads, and more.
1615

1716
The amount of available capacity can vary based on size, region, time of day, and more. When deploying Spot instances on scale sets, Azure will allocate the instance only if there is capacity available, but there is no SLA for these instances. A Spot scale set is deployed in a single fault domain and offers no high availability guarantees.
1817

19-
> [!IMPORTANT]
20-
> Spot instances are currently in public preview.
21-
> This preview version is not recommended for production workloads. Certain features might not be supported or might have constrained capabilities.
22-
> For more information, see [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/).
23-
>
2418

2519
## Pricing
2620

@@ -169,6 +163,5 @@ To delete the instance after it has been evicted, change the `evictionPolicy` pa
169163
**A:** You can post and tag your question with `azure-spot` at [Q&A](https://docs.microsoft.com/answers/topics/azure-spot.html).
170164

171165
## Next steps
172-
Now that you have created a scale set with Spot VMs, try deploying our [auto scale template using Spot](https://github.com/Azure/vm-scale-sets/tree/master/preview/lowpri).
173166

174167
Check out the [virtual machine scale set pricing page](https://azure.microsoft.com/pricing/details/virtual-machine-scale-sets/linux/) for pricing details.

articles/virtual-machines/error-codes-spot.md

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,15 @@
22
title: Error codes for Azure Spot VMs and scale sets instances
33
description: Learn about error codes that you could possibly see when using Spot VMs and scale set instances.
44
author: cynthn
5-
manager: gwallace
65
ms.service: virtual-machines
76
ms.workload: infrastructure-services
87
ms.topic: article
9-
ms.date: 11/20/2019
8+
ms.date: 03/25/2020
109
ms.author: cynthn
1110
#pmcontact: jagaveer
1211
---
1312

14-
# Preview: Error messages for Spot VMs and scale sets
15-
16-
17-
> [!IMPORTANT]
18-
> Spot VMs and virtual machine scale sets are currently in public preview.
19-
> This preview version is provided without a service level agreement, and it's not recommended for production workloads. Certain features might not be supported or might have constrained capabilities.
20-
> For more information, see [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/).
21-
13+
# Error messages for Spot VMs and scale sets
2214

2315
Here are some possible error codes you could receive when using Spot VMs and scale sets.
2416

@@ -28,18 +20,18 @@ Here are some possible error codes you could receive when using Spot VMs and sca
2820
| SkuNotAvailable | The requested tier for resource '\<resource\>' is currently not available in location '\<location\>' for subscription '\<subscriptionID\>'. Please try another tier or deploy to a different location. | There is not enough Azure Spot capacity in this location to create your VM or scale set instance. |
2921
| EvictionPolicyCanBeSetOnlyOnAzureSpotVirtualMachines | Eviction policy can be set only on Azure Spot Virtual Machines. | This VM is not a Spot VM, so you can't set the eviction policy. |
3022
| AzureSpotVMNotSupportedInAvailabilitySet | Azure Spot Virtual Machine is not supported in Availability Set. | You need to choose to either use a Spot VM or use a VM in an availability set, you can't choose both. |
31-
| AzureSpotFeatureNotEnabledForSubscription | Subscription not enabled with Azure Spot feature. | You need to have a subscription that supports Spot VMs. |
32-
| VMPriorityCannotBeApplied | The specified priority value '{0}' cannot be applied to the Virtual Machine '{1}' since no priority was specified when the Virtual Machine was created. | You need to specify the priority when the VM is created. |
23+
| AzureSpotFeatureNotEnabledForSubscription | Subscription not enabled with Azure Spot feature. | Use a subscription that supports Spot VMs. |
24+
| VMPriorityCannotBeApplied | The specified priority value '{0}' cannot be applied to the Virtual Machine '{1}' since no priority was specified when the Virtual Machine was created. | Specify the priority when the VM is created. |
3325
| SpotPriceGreaterThanProvidedMaxPrice | Unable to perform operation '{0}' since the provided max price '{1} USD' is lower than the current spot price '{2} USD' for Azure Spot VM size '{3}'. | Select a higher max price. For more information, see pricing information for [Linux](https://azure.microsoft.com/pricing/details/virtual-machines/linux/) or [Windows](https://azure.microsoft.com/pricing/details/virtual-machines/windows/).|
3426
| MaxPriceValueInvalid | Invalid max price value. The only supported values for max price are -1 or a decimal greater than zero. Max price value of -1 indicates the Azure Spot virtual machine will not be evicted for price reasons. | Enter a valid max price. For more information, see pricing for [Linux](https://azure.microsoft.com/pricing/details/virtual-machines/linux/) or [Windows](https://azure.microsoft.com/pricing/details/virtual-machines/windows/). |
3527
| MaxPriceChangeNotAllowedForAllocatedVMs | Max price change is not allowed when the VM '{0}' is currently allocated. Please deallocate and try again. | Stop\Deallocate the VM so that you can change the max price. |
3628
| MaxPriceChangeNotAllowed | Max price change is not allowed. | You cannot change the max price for this VM. |
3729
| AzureSpotIsNotSupportedForThisAPIVersion | Azure Spot is not supported for this API version. | The API version needs to be 2019-03-01. |
3830
| AzureSpotIsNotSupportedForThisVMSize | Azure Spot is not supported for this VM size {0}. | Select another VM size. For more information, see [Spot Virtual Machines](./linux/spot-vms.md). |
3931
| MaxPriceIsSupportedOnlyForAzureSpotVirtualMachines | Max price is supported only for Azure Spot Virtual Machines. | For more information, see [Spot Virtual Machines](./linux/spot-vms.md). |
40-
| MoveResourcesWithAzureSpotVMNotSupported | The Move resources request contains a Azure Spot virtual machine. This is currently not supported. Please check the error details for virtual machine Ids. | You cannot move Spot VMs. |
41-
| MoveResourcesWithAzureSpotVmssNotSupported | The Move resources request contains a Azure Spot virtual machine scale set. This is currently not supported. Please check the error details for virtual machine scale set Ids. | You cannot move Spot scale set instances. |
42-
| EphemeralOSDisksNotSupportedForSpotVMs | Ephemeral OS disks are not supported for Spot VMs. | You need to be using a regular OS disk for your Spot VM. |
32+
| MoveResourcesWithAzureSpotVMNotSupported | The Move resources request contains an Azure Spot virtual machine. This is currently not supported. Please check the error details for virtual machine Ids. | You cannot move Spot VMs. |
33+
| MoveResourcesWithAzureSpotVmssNotSupported | The Move resources request contains an Azure Spot virtual machine scale set. This is currently not supported. Please check the error details for virtual machine scale set Ids. | You cannot move Spot scale set instances. |
34+
| EphemeralOSDisksNotSupportedForSpotVMs | Ephemeral OS disks are not supported for Spot VMs. | Use a regular OS disk for your Spot VM. |
4335
| AzureSpotVMNotSupportedInVmssWithVMOrchestrationMode | Azure Spot Virtual Machine is not supported in Virtual Machine Scale Set with VM Orchestration mode. | Set the orchestration mode to virtual machine scale set in order to use Spot instances. |
4436

4537

articles/virtual-machines/linux/spot-cli.md

Lines changed: 5 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,16 @@
11
---
2-
title: Use CLI to deploy Azure Spot VMs (Preview)
2+
title: Use CLI to deploy Azure Spot VMs
33
description: Learn how to use the CLI to deploy Azure Spot VMs to save costs.
4-
services: virtual-machines-linux
5-
documentationcenter: ''
64
author: cynthn
7-
manager: gwallace
8-
editor:
9-
tags: azure-resource-manager
10-
11-
ms.service: virtual-machines-linux
5+
ms.service: virtual-machines
126
ms.workload: infrastructure-services
13-
ms.tgt_pltfrm: na
14-
ms.devlang: na
157
ms.topic: article
16-
ms.date: 02/11/2020
8+
ms.date: 03/25/2020
179
ms.author: cynthn
10+
#pmcontact: jagaveer
1811
---
1912

20-
# Preview: Deploy Spot VMs using the Azure CLI
13+
# Deploy Spot VMs using the Azure CLI
2114

2215
Using [Azure Spot VMs](spot-vms.md) allows you to take advantage of our unused capacity at a significant cost savings. At any point in time when Azure needs the capacity back, the Azure infrastructure will evict Spot VMs. Therefore, Spot VMs are great for workloads that can handle interruptions like batch processing jobs, dev/test environments, large compute workloads, and more.
2316

@@ -27,13 +20,6 @@ You have option to set a max price you are willing to pay, per hour, for the VM.
2720

2821
The process to create a VM with Spot using the Azure CLI is the same as detailed in the [quickstart article](/azure/virtual-machines/linux/quick-create-cli). Just add the '--priority Spot' parameter and provide a max price or `-1`.
2922

30-
> [!IMPORTANT]
31-
> Spot instances are currently in public preview.
32-
> This preview version is not recommended for production workloads. Certain features might not be supported or might have constrained capabilities.
33-
> For more information, see [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/).
34-
>
35-
36-
3723

3824
## Install Azure CLI
3925

articles/virtual-machines/linux/spot-template.md

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,13 @@
11
---
2-
title: Use a template to deploy Azure Spot VMs (Preview)
2+
title: Use a template to deploy Azure Spot VMs
33
description: Learn how to use a template to deploy Spot VMs to save costs.
4-
services: virtual-machines-linux
5-
documentationcenter: ''
64
author: cynthn
7-
manager: gwallace
8-
editor:
9-
tags: azure-resource-manager
10-
11-
ms.service: virtual-machines-linux
5+
ms.service: virtual-machines
126
ms.workload: infrastructure-services
13-
ms.tgt_pltfrm: na
14-
ms.devlang: na
157
ms.topic: article
16-
ms.date: 02/11/2020
8+
ms.date: 03/25/2020
179
ms.author: cynthn
10+
#pmcontact: jagaveer
1811
---
1912

2013
# Deploy Spot VMs using a Resource Manager template
@@ -25,11 +18,6 @@ Pricing for Spot VMs is variable, based on region and SKU. For more information,
2518

2619
You have option to set a max price you are willing to pay, per hour, for the VM. The max price for a Spot VM can be set in US dollars (USD), using up to 5 decimal places. For example, the value `0.98765`would be a max price of $0.98765 USD per hour. If you set the max price to be `-1`, the VM won't be evicted based on price. The price for the VM will be the current price for Spot or the price for a standard VM, which ever is less, as long as there is capacity and quota available. For more information about setting the max price, see [Spot VMs - Pricing](spot-vms.md#pricing).
2720

28-
> [!IMPORTANT]
29-
> Spot instances are currently in public preview.
30-
> This preview version is not recommended for production workloads. Certain features might not be supported or might have constrained capabilities.
31-
> For more information, see [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/).
32-
>
3321

3422
## Use a template
3523

articles/virtual-machines/linux/spot-vms.md

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,17 @@
11
---
2-
title: Use Azure Spot VMs (Preview)
2+
title: Use Azure Spot VMs
33
description: Learn how to use Azure Spot VMs to save on costs
4-
services: virtual-machines-linux
5-
documentationcenter: ''
64
author: cynthn
7-
manager: gwallace
8-
editor:
9-
tags: azure-resource-manager
10-
11-
ms.service: virtual-machines-linux
5+
ms.service: virtual-machines
126
ms.workload: infrastructure-services
13-
ms.tgt_pltfrm: na
14-
ms.devlang: na
157
ms.topic: article
16-
ms.date: 10/14/2019
8+
ms.date: 03/25/2020
179
ms.author: cynthn
10+
#pmcontact: jagaveer
1811
---
1912

2013

21-
# Preview: Use Spot VMs in Azure
14+
# Use Spot VMs in Azure
2215

2316

2417
[!INCLUDE [common-spot-vms](../../../includes/virtual-machines-common-spot-vms.md)]

articles/virtual-machines/windows/spot-portal.md

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,24 @@
11
---
22
title: Use the portal to deploy Azure Spot VMs
33
description: Learn how to use Azure PowerShell to deploy Spot VMs to save on costs.
4-
services: virtual-machines-windows
4+
services: virtual-machines
55
author: cynthn
6-
manager: gwallace
7-
8-
ms.service: virtual-machines-windows
6+
ms.service: virtual-machines
97
ms.workload: infrastructure-services
108
ms.topic: article
11-
ms.date: 02/11/2020
9+
ms.date: 03/25/2020
1210
ms.author: cynthn
11+
#pmcontact: jagaveer
1312
---
1413

15-
# Preview: Deploy Spot VMs using the Azure portal
14+
# Deploy Spot VMs using the Azure portal
1615

1716
Using [Spot VMs](spot-vms.md) allows you to take advantage of our unused capacity at a significant cost savings. At any point in time when Azure needs the capacity back, the Azure infrastructure will evict Spot VMs. Therefore, Spot VMs are great for workloads that can handle interruptions like batch processing jobs, dev/test environments, large compute workloads, and more.
1817

1918
Pricing for Spot VMs is variable, based on region and SKU. For more information, see VM pricing for [Linux](https://azure.microsoft.com/pricing/details/virtual-machines/linux/) and [Windows](https://azure.microsoft.com/pricing/details/virtual-machines/windows/). For more information about setting the max price, see [Spot VMs - Pricing](spot-vms.md#pricing).
2019

2120
You have option to set a max price you are willing to pay, per hour, for the VM. The max price for a Spot VM can be set in US dollars (USD), using up to 5 decimal places. For example, the value `0.05701`would be a max price of $0.05701 USD per hour. If you set the max price to be `-1`, the VM won't be evicted based on price. The price for the VM will be the current price for spot or the price for a standard VM, which ever is less, as long as there is capacity and quota available.
2221

23-
> [!IMPORTANT]
24-
> Spot instances are currently in public preview.
25-
> This preview version is not recommended for production workloads. Certain features might not be supported or might have constrained capabilities.
26-
> For more information, see [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/).
27-
>
28-
2922

3023
## Create the VM
3124

articles/virtual-machines/windows/spot-powershell.md

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
11
---
22
title: Use PowerShell to deploy Azure Spot VMs
33
description: Learn how to use Azure PowerShell to deploy Spot VMs to save on costs.
4-
services: virtual-machines-windows
54
author: cynthn
6-
manager: gwallace
7-
8-
ms.service: virtual-machines-windows
5+
ms.service: virtual-machines
96
ms.workload: infrastructure-services
107
ms.topic: article
11-
ms.date: 02/11/2020
8+
ms.date: 03/25/2020
129
ms.author: cynthn
10+
#pmcontact: jagaveer
1311
---
1412

15-
# Preview: Deploy Spot VMs using Azure PowerShell
13+
# Deploy Spot VMs using Azure PowerShell
1614

1715

1816
Using [Spot VMs](spot-vms.md) allows you to take advantage of our unused capacity at a significant cost savings. At any point in time when Azure needs the capacity back, the Azure infrastructure will evict Spot VMs. Therefore, Spot VMs are great for workloads that can handle interruptions like batch processing jobs, dev/test environments, large compute workloads, and more.
@@ -21,13 +19,6 @@ Pricing for Spot VMs is variable, based on region and SKU. For more information,
2119

2220
You have option to set a max price you are willing to pay, per hour, for the VM. The max price for a Spot VM can be set in US dollars (USD), using up to 5 decimal places. For example, the value `0.98765`would be a max price of $0.98765 USD per hour. If you set the max price to be `-1`, the VM won't be evicted based on price. The price for the VM will be the current price for spot or the price for a standard VM, which ever is less, as long as there is capacity and quota available.
2321

24-
> [!IMPORTANT]
25-
> Spot instances are currently in public preview.
26-
> This preview version is not recommended for production workloads. Certain features might not be supported or might have constrained capabilities.
27-
> For more information, see [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/).
28-
>
29-
30-
3122

3223
## Create the VM
3324

articles/virtual-machines/windows/spot-vms.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,17 @@
11
---
22
title: Use Azure Spot VMs
33
description: Learn how to use Spot VMs to save on costs.
4-
services: virtual-machines-windows
54
author: cynthn
6-
manager: gwallace
7-
8-
ms.service: virtual-machines-windows
5+
ms.service: virtual-machines
96
ms.workload: infrastructure-services
107
ms.topic: article
11-
ms.date: 11/20/2019
8+
ms.date: 03/25/2020
129
ms.author: cynthn
10+
#pmcontact: jagaveer
1311
---
1412

1513

16-
# Preview: Use Spot VMs in Azure
14+
# Use Spot VMs in Azure
1715

1816
[!INCLUDE [common-spot-vms](../../../includes/virtual-machines-common-spot-vms.md)]
1917

includes/virtual-machines-common-spot-vms.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
title: include file
33
description: include file
4-
services: virtual-machines
54
author: cynthn
65
ms.service: virtual-machines
76
ms.topic: include
@@ -14,11 +13,6 @@ Using Spot VMs allows you to take advantage of our unused capacity at a signific
1413

1514
The amount of available capacity can vary based on size, region, time of day, and more. When deploying Spot VMs, Azure will allocate the VMs if there is capacity available, but there is no SLA for these VMs. A Spot VM offers no high availability guarantees. At any point in time when Azure needs the capacity back, the Azure infrastructure will evict Spot VMs with 30 seconds notice.
1615

17-
> [!IMPORTANT]
18-
> Spot instances are currently in public preview.
19-
> This preview version is not recommended for production workloads. Certain features might not be supported or might have constrained capabilities.
20-
> For more information, see [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/).
21-
>
2216

2317
## Eviction policy
2418

0 commit comments

Comments
 (0)