Skip to content

Commit a43b064

Browse files
committed
Copy edit
1 parent 06c100f commit a43b064

File tree

1 file changed

+22
-20
lines changed

1 file changed

+22
-20
lines changed

articles/cosmos-db/serverless.md

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,41 @@
11
---
2-
title: Consumption-based serverless offer in Azure Cosmos DB
3-
description: Learn more about Azure Cosmos DB's consumption-based serverless offer.
2+
title: Serverless (consumption-based)
3+
titleSuffix: Azure Cosmos DB
4+
description: Learn how to use Azure Cosmos DB in a consumption-based manner with the serverless feature and compare it to provisioned throughput.
45
author: seesharprun
56
ms.author: sidandrews
67
ms.service: cosmos-db
78
ms.custom: event-tier1-build-2022, ignite-2022
89
ms.topic: conceptual
9-
ms.date: 05/09/2022
10+
ms.date: 03/16/2023
1011
ms.reviewer: thweiss
1112
---
1213

1314
# Azure Cosmos DB serverless
15+
1416
[!INCLUDE[NoSQL, MongoDB, Cassandra, Gremlin, Table](includes/appliesto-nosql-mongodb-cassandra-gremlin-table.md)]
1517

1618
The Azure Cosmos DB serverless offering lets you use your Azure Cosmos DB account in a consumption-based fashion. With serverless, you're only charged for the Request Units (RUs) consumed by your database operations and the storage consumed by your data. Serverless containers can serve thousands of requests per second with no minimum charge and no capacity planning required.
1719

18-
> [!IMPORTANT]
20+
> [!IMPORTANT]
1921
> Do you have any feedback about serverless? We want to hear it! Feel free to drop a message to the Azure Cosmos DB serverless team: [[email protected]](mailto:[email protected]).
2022
2123
Every database operation in Azure Cosmos DB has a cost expressed in [Request Units (RUs)](request-units.md). How you're charged for this cost depends on the type of Azure Cosmos DB account you're using:
2224

2325
- In [provisioned throughput](set-throughput.md) mode, you have to commit to a certain amount of throughput (expressed in Request Units per second or RU/s) that is provisioned on your databases and containers. The cost of your database operations is then deducted from the number of Request Units available every second. At the end of your billing period, you get billed for the amount of throughput you've provisioned.
24-
- In serverless mode, you don't have to configure provisioned throughput when creating containers in your Azure Cosmos DB account. Serverless containers can currently deliver a maximum throughput of 5,000 RU/s and it can't be changed by user. At the end of your billing period, you get billed for the number of Request Units that were consumed by your database operations.
26+
- In serverless mode, you don't have to configure provisioned throughput when creating containers in your Azure Cosmos DB account. At the end of your billing period, you get billed for the number of Request Units your database operations consumed.
27+
28+
> [!NOTE]
29+
> Serverless containers can currently deliver a maximum throughput of 5,000 RU/s.
2530
2631
## Use-cases
2732

2833
Azure Cosmos DB serverless best fits scenarios where you expect **intermittent and unpredictable traffic** with long idle times. Because provisioning capacity in such situations isn't required and may be cost-prohibitive, Azure Cosmos DB serverless should be considered in the following use-cases:
2934

3035
- Getting started with Azure Cosmos DB
31-
- Running applications with
32-
- bursty, intermittent traffic that is hard to forecast, or
33-
- low (<10%) average-to-peak traffic ratio
36+
- Running applications with:
37+
- Bursty, intermittent traffic that is hard to forecast, or
38+
- Low (<10%) average-to-peak traffic ratio
3439
- Developing, testing, prototyping and running in production new applications where the traffic pattern is unknown
3540
- Integrating with serverless compute services like [Azure Functions](../azure-functions/functions-overview.md)
3641

@@ -44,41 +49,38 @@ Any container that is created in a serverless account is a serverless container.
4449

4550
- A serverless account can only run in a single Azure region. It isn't possible to add more Azure regions to a serverless account after you create it.
4651
- Provisioning throughput isn't required on serverless containers, so the following statements are applicable:
47-
- You can't pass any throughput when creating a serverless container and doing so returns an error.
48-
- You can't read or update the throughput on a serverless container and doing so returns an error.
49-
- You can't create a shared throughput database in a serverless account and doing so returns an error.
52+
- You can't pass any throughput when creating a serverless container and doing so returns an error.
53+
- You can't read or update the throughput on a serverless container and doing so returns an error.
54+
- You can't create a shared throughput database in a serverless account and doing so returns an error.
5055
- Serverless containers can store a maximum of 50 GB of data and indexes.
51-
- Serverless container do not offer unlimited throughput. Serverless containers can currently deliver a maximum throughput of 5,000 RU/s. If you need higher throuput numbers please choose provisioned capacity mode. See [Azure Cosmos DB service quotas](concepts-limits.md) for details.
56+
- Serverless containers offer throughput up to a service maximum of 5,000 RU/s. For more information, see [Azure Cosmos DB service quotas](concepts-limits.md).
5257

53-
### Serverless 1 TB container preview
58+
### Serverless 1-TB container preview
5459

55-
Azure Cosmos DB serverless now offers 1-TB container size. With this feature, you can store up-to 1-TB of data in a serverless container.
60+
Azure Cosmos DB serverless now offers 1-TB container size. With this feature, you can store up-to 1 TB of data in a serverless container.
5661

5762
For more information, see [Azure Cosmos DB Serverless 1-TB container](serverless-1TB.md)
5863

5964
## Monitoring your consumption
6065

61-
If you have used Azure Cosmos DB in provisioned throughput mode before, you'll find serverless is more cost-effective when your traffic doesn't justify provisioned capacity. The trade-off is that your costs will become less predictable because you're billed based on the number of requests your database has processed. Because of the lack of predictability, it's important to keep an eye on your current consumption.
66+
If you have used Azure Cosmos DB in provisioned throughput mode before, you find serverless is more cost-effective when your traffic doesn't justify provisioned capacity. The trade-off is that your costs become less predictable because you're billed based on the number of requests your database has processed. Because of the lack of predictability, it's important to keep an eye on your current consumption.
6267

63-
When browsing the **Metrics** pane of your account, you'll find a chart named **Request Units consumed** under the **Overview** tab. This chart shows how many Request Units your account has consumed:
68+
When browsing the **Metrics** pane of your account, you find a chart named **Request Units consumed** under the **Overview** tab. This chart shows how many Request Units your account has consumed:
6469

6570
:::image type="content" source="./media/serverless/request-units-consumed.png" alt-text="Chart showing the consumed Request Units." border="false":::
6671

6772
You can find the same chart when using Azure Monitor, as described [here](monitor-request-unit-usage.md). Azure Monitor enables the ability to configure [alerts](../azure-monitor/alerts/alerts-metric-overview.md), which can be used to notify you when your Request Unit consumption has passed a certain threshold.
6873

6974
## Performance
7075

71-
Serverless resources yield specific performance characteristics that are different from what provisioned throughput resources deliver. Serverless containers don't offer predictable throughput or latency guarantees. If your container\[s\] requires these guarantees, use provisioned throughput.
76+
Serverless resources yield specific performance characteristics that are different from what provisioned throughput resources deliver. Serverless containers don't offer predictable throughput or latency guarantees. If your container\[s\] requires these guarantees, use provisioned throughput.
7277

7378
For more information, see [provisioned throughput](set-throughput.md).
7479

75-
76-
7780
## Next steps
7881

7982
Get started with serverless with the following articles:
8083

8184
- [Azure Cosmos DB Serverless 1-TB container](serverless-1TB.md)
82-
- [Request Units in Azure Cosmos DB](request-units.md)
8385
- [Choose between provisioned throughput and serverless](throughput-serverless.md)
8486
- [Pricing model in Azure Cosmos DB](how-pricing-works.md)

0 commit comments

Comments
 (0)