Skip to content

Commit b7a9eb0

Browse files
Merge pull request #274279 from mimckitt/pool-updates-4
Formatting adjustments
2 parents 69259ba + 1d1dc09 commit b7a9eb0

File tree

1 file changed

+31
-24
lines changed

1 file changed

+31
-24
lines changed

articles/virtual-machine-scale-sets/standby-pools-overview.md

Lines changed: 31 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Standby pools for Virtual Machine Scale Sets
3-
description: Learn how to utilize standby pools to reduce scale-out latency with Virtual Machine Scale Sets
3+
description: Learn how to utilize standby pools to reduce scale-out latency with Virtual Machine Scale Sets.
44
author: mimckitt
55
ms.author: mimckitt
66
ms.service: virtual-machine-scale-sets
@@ -18,22 +18,6 @@ Standby pools for Virtual Machine Scale Sets enables you to increase scaling per
1818

1919
Standby pools reduce the time to scale out by performing various initialization steps such as installing applications/ software or loading large amounts of data. These initialization steps are performed on the virtual machines in the standby pool before to being moved into the scale set.
2020

21-
## Standby pool size
22-
The number of virtual machines in a standby pool are determined by the number of virtual machines in your scale set and the total max ready capacity configured.
23-
24-
For example, a Virtual Machine Scale Set with 10 instances and a standby pool with a max ready capacity of 15 would result in their being 5 instances in the standby pool.
25-
26-
- Max ready capacity (15) - Virtual Machine Scale Set instance count (10) = Standby pool size (5)
27-
28-
If the scale set reduces the instance count to 5, the standby pool would fill to 10 instances.
29-
30-
- Max ready capacity (15) - Virtual Machine Scale Set instance count (5) = Standby pool size (10)
31-
32-
| Setting | Description |
33-
|---|---|
34-
| maxReadyCapacity | The maximum number of virtual machines you want to have ready.|
35-
| instanceCount | The current number of virtual machines already deployed in your scale set.|
36-
| Standby pool Size | Standby pool size = `maxReadyCapacity``instanceCount` |
3721

3822
## Scaling
3923

@@ -43,28 +27,51 @@ When your scale set scales back down, the instances are deleted from your scale
4327

4428
Standby pools will only give out virtual machines from the pool that match the desired power state configured. For example, if your desired power state is set as deallocated, the standby pool will only give the Virtual Machine Scale Set instances matching that current power state. If virtual machines are in a creating, failed or any other state than the expected state, the scale set defaults to new virtual machine creation instead.
4529

46-
When using a standby pool with a Virtual Machine Scale Set spread across multiple availability zones, the instances in the pool will also be spread across zones. When a scale out is triggered in one of the zones, a virtual machine in the pool in that same zone will be used. If a virtual machine is needed in a zone where you no longer have any pooled virtual machines left, the scale set will create a new virtual machine directly in the scale set.
4730

4831
## Virtual machine states
4932

5033
The virtual machines in the standby pool can be kept in a running state or a deallocated state.
5134

52-
**Deallocated:** Deallocated virtual machines are shut down and keep any associated disks, NICs, and any static IPs remain unchanged. [Ephemeral OS disks](../virtual-machines/ephemeral-os-disks.md) do not support the deallocated state.
35+
**Deallocated:** Deallocated virtual machines are shut down and keep any associated disks, network interfaces, and any static IPs remain unchanged. [Ephemeral OS disks](../virtual-machines/ephemeral-os-disks.md) don't support the deallocated state.
5336

54-
:::image type="content" source="media/standby-pools/deallocated-vm-pool.png" alt-text="A screenshot showing the workflow when using deallocated VM pools.":::
37+
:::image type="content" source="media/standby-pools/deallocated-vm-pool.png" alt-text="A screenshot showing the workflow when using deallocated virtual machine pools.":::
5538

5639
**Running:** Using virtual machines in a running state is recommended when latency and reliability requirements are strict.
5740

58-
:::image type="content" source="media/standby-pools/running-vm-pool.png" alt-text="A screenshot showing the workflow when using running VM pools.":::
41+
:::image type="content" source="media/standby-pools/running-vm-pool.png" alt-text="A screenshot showing the workflow when using running virtual machine pools.":::
42+
43+
## Standby pool size
44+
The number of virtual machines in a standby pool is calculated by the number of max ready capacity of the pool minus the virtual machines currently deployed in your scale set.
45+
46+
| Setting | Description |
47+
|---|---|
48+
| maxReadyCapacity | The maximum number of virtual machines you want to have ready.|
49+
| instanceCount | The current number of virtual machines already deployed in your scale set.|
50+
| Standby pool size | Standby pool size = `maxReadyCapacity``instanceCount`. |
51+
52+
### Example
53+
A Virtual Machine Scale Set with 10 instances and a standby pool with a max ready capacity of 15 would result in their being 5 instances in the standby pool.
54+
55+
- Max ready capacity (15) - Virtual Machine Scale Set instance count (10) = Standby pool size (5)
56+
57+
If the scale set reduces the instance count to 5, the standby pool would fill to 10 instances.
58+
59+
- Max ready capacity (15) - Virtual Machine Scale Set instance count (5) = Standby pool size (10)
60+
61+
62+
## Availability zones
63+
When using a standby pool with a Virtual Machine Scale Set using [availability zones](virtual-machine-scale-sets-use-availability-zones.md), the instances in the pool will be spread the same zones the Virtual Machine Scale Set is using.
64+
65+
When a scale out is triggered in one of the zones, a virtual machine in the pool in that same zone will be used. If a virtual machine is needed in a zone where you no longer have any pooled virtual machines left, the scale set creates a new virtual machine directly in the scale set.
5966

6067
## Pricing
6168

62-
There's no direct cost associated with using standby pools. Users are charged based on the resources deployed. For example, keeping virtual machines in a running state incurs compute, networking, and storage costs. While keeping virtual machines in a deallocated state does not incur any compute costs, but any persistent disks or networking configurations do incur cost. For more information on Virtual Machine billing, see [states and billing status of Azure Virtual Machines](../virtual-machines/states-billing.md).
69+
There's no direct cost associated with using standby pools. Users are charged based on the resources deployed. For example, keeping virtual machines in a running state incurs compute, networking, and storage costs. While keeping virtual machines in a deallocated state doesn't incur any compute costs, but any persistent disks or networking configurations continue incur cost. For more information on virtual machine billing, see [states and billing status of Azure Virtual Machines](../virtual-machines/states-billing.md).
6370

6471
| State | Description |
6572
|---|---|
66-
|**Deallocated virtual machine state:** | Using a standby pool with virtual machines in the deallocated state is a great way to reduce the cost while keeping your scale-out times fast. Virtual machines in the deallocated state don't incur any compute costs, only the associated persistent resources incur costs. |
67-
| **Running virtual machine state:** | Running virtual machines incur a higher cost due to compute resources being consumed. |
73+
|**Deallocated:** | Using a standby pool with virtual machines in the deallocated state is a great way to reduce the cost while keeping your scale-out times fast. Virtual machines in the deallocated state don't incur any compute costs, only the associated persistent resources incur costs. |
74+
| **Running:** | Running virtual machines incur a higher cost due to compute resources being consumed. |
6875

6976
## Unsupported configurations
7077
- Creating or attaching a standby pool to a Virtual Machine Scale Set using Azure Spot instances.

0 commit comments

Comments
 (0)