Skip to content

Commit 91ad2b2

Browse files
committed
add autoscale migrate script to articles
1 parent f0e63c1 commit 91ad2b2

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

articles/cosmos-db/autoscale-faq.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ metadata:
66
ms.author: dech
77
ms.service: cosmos-db
88
ms.topic: faq
9-
ms.date: 04/01/2022
9+
ms.date: 07/26/2024
1010
title: Frequently asked questions about autoscale provisioned throughput in Azure Cosmos DB
1111
summary: |
1212
[!INCLUDE[NoSQL, MongoDB, Cassandra, Gremlin, Table](includes/appliesto-nosql-mongodb-cassandra-gremlin-table.md)]
@@ -110,6 +110,8 @@ sections:
110110
The initial manual provisioned throughput is equal to the current autoscale maximum RU/s.
111111
112112
Example: You have an autoscale database or container that has a maximum RU/s of 20,000 RU/s (scales between 2,000 RU/s and 20,000 RU/s). When you update to use manual provisioned throughput, the initial throughput is 20,000 RU/s.
113+
114+
If you need to migrate a large number of throughput resources, consider using this [Azure CLI script - Convert to Autoscale](./scripts/cli/common/convert-to-autoscale.md)
113115
114116
- question: |
115117
Can I use the Azure CLI, PowerShell, or Azure Resource Manager to manage databases or containers that use autoscale?

articles/cosmos-db/how-to-choose-offer.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Learn how to choose between standard (manual) provisioned throughpu
44
author: deborahc
55
ms.service: cosmos-db
66
ms.topic: conceptual
7-
ms.date: 04/01/2022
7+
ms.date: 07/26/2024
88
ms.author: dech
99
---
1010

@@ -131,6 +131,10 @@ When using autoscale, use Azure Monitor to see the provisioned autoscale max RU/
131131
> [!NOTE]
132132
> When you use standard (manual) provisioned throughput, the **Provisioned Throughput** metric refers to what you as a user have set. When you use autoscale throughput, this metric refers to the RU/s the system is currently scaled to.
133133
134+
## Migrate standard provisioned throughput to autoscale
135+
136+
Users that want to migrate a large number of resources from standard provisioned throughput to autoscale can use an Azure CLI script that will migrate every throughput resource in an Azure subscription to autoscale. For more details see, [Convert to Autoscale](./scripts/cli/common/convert-to-autoscale.md)
137+
134138
## Next steps
135139
* Use [RU calculator](https://cosmos.azure.com/capacitycalculator/) to estimate throughput for new workloads.
136140
* Use [Azure Monitor](monitor.md#view-operation-level-metrics-for-azure-cosmos-db) to monitor your existing workloads.

articles/cosmos-db/provision-throughput-autoscale.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ author: kirillg
55
ms.author: kirillg
66
ms.service: cosmos-db
77
ms.topic: conceptual
8-
ms.date: 04/01/2022
8+
ms.date: 07/26/2024
99
---
1010

1111
# Create Azure Cosmos DB containers and databases with autoscale throughput
@@ -74,6 +74,10 @@ For more detail, see this [documentation](how-to-choose-offer.md) on how to choo
7474
| **Pricing** | You pay for the manually provisioned RU/s per hour, using the [standard (manual) RU/s per hour rate](https://azure.microsoft.com/pricing/details/cosmos-db/). | You pay per hour for the highest RU/s the system scaled up to within the hour. <br/><br/> For single write region accounts, you pay for the RU/s used on an hourly basis, using the [autoscale RU/s per hour rate](https://azure.microsoft.com/pricing/details/cosmos-db/). <br/><br/>For accounts with multiple write regions, there's no extra charge for autoscale. You pay for the throughput used on hourly basis using the same [multi-region write RU/s per hour rate](https://azure.microsoft.com/pricing/details/cosmos-db/). |
7575
| **Best suited for workload types** | Predictable and stable workloads| Unpredictable and variable workloads |
7676

77+
## Migrate standard provisioned throughput to autoscale
78+
79+
Users that want to migrate a large number of resources from standard provisioned throughput to autoscale can use an Azure CLI script that will migrate every throughput resource in an Azure subscription to autoscale. For more details see, [Convert to Autoscale](./scripts/cli/common/convert-to-autoscale.md)
80+
7781
## Next steps
7882

7983
* Review the [autoscale FAQ](autoscale-faq.yml).

0 commit comments

Comments
 (0)