Skip to content

Commit 033a00e

Browse files
Merge pull request #36687 from anosov1960/manage-pay-as-you-go-transition
Add cost analysis section to pay-as-you-go transition guide
2 parents c3dff82 + 4101ce3 commit 033a00e

2 files changed

Lines changed: 63 additions & 1 deletion

File tree

docs/sql-server/azure-arc/manage-pay-as-you-go-transition.md

Lines changed: 63 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ An explicit consent is required to select the pay-as-you-go billing for SQL Serv
111111

112112
Consent is recorded by adding a `ConsentToRecurringPAYG` property to the Azure extension for SQL Server resource. It consists of the two values:
113113

114-
- `Consented`: Indicates that you agree to recurring billing.
114+
- `Consented`: You agree to recurring billing.
115115
- `ConsentTimestamp`: The UTC timestamp marking when the consent was granted. This timestamp is used by the Hybrid Data Service to determine when recurring billing goes into effect. After that time any disconnection longer than 30 days activates the recurring pay-as-you-go billing.
116116

117117
> [!IMPORTANT]
@@ -138,6 +138,68 @@ SQL Server enabled by Azure Arc automatically installs Azure extension for SQL S
138138

139139
With a pay-as-you-go subscription, the health of the extensions becomes a critical factor of your compliance as it collects the usage data and ensures the correct billing. The intermittent disconnections up to 30 days are allowed as the extension maintains a usage log on the machine, but it is your responsibility to ensure the extensions stay healthy. The Azure portal includes a [Health Dashboard](https://ms.portal.azure.com/#view/Microsoft_Azure_ArcCenterUX/ArcCenterMenuBlade/~/sqlServerHealthDashboard) providing the high level view of the extensions' state. For details of troubleshooting of the unhealthy extensions, see [Troubleshoot Azure extension for SQL Server](troubleshoot-extension.md).
140140

141+
## Analyze costs
142+
143+
After you transition to pay-as-you-go billing, you can view current and forecasted charges through [Microsoft Cost Management](/azure/cost-management-billing/cost-management-billing-overview). Upcoming charges for Azure Arc-enabled SQL Server pay-as-you-go aren't shown on SQL Server or Arc resource pages. All cost analysis and forecasting happens at the subscription level or higher.
144+
145+
### View forecasted charges
146+
147+
To view forecasted pay-as-you-go charges:
148+
149+
1. In the Azure portal, open **Cost Management** > **Cost analysis**.
150+
1. Select the appropriate scope (subscription, management group, or resource group).
151+
1. Confirm the chart shows both actual and forecasted costs.
152+
- Solid bars or lines represent actual costs
153+
- Shaded extensions represent forecasted costs based on historical usage trends
154+
1. Set the date range to the current month to see projected month-end costs.
155+
156+
:::image type="content" source="media/manage-pay-as-you-go-transition/cost-analysis-forecasted-charges.png" alt-text="Screenshot of Microsoft Cost Management showing actual and forecasted charges." lightbox="media/manage-pay-as-you-go-transition/cost-analysis-forecasted-charges.png":::
157+
158+
### Filter for Arc SQL Server usage
159+
160+
To isolate Azure Arc-enabled SQL Server pay-as-you-go charges, apply these filters:
161+
162+
| Filter | Value |
163+
|--------|-------|
164+
| **Service name** | Azure Arc-enabled SQL Server |
165+
| **Charge type** | Usage |
166+
| **Publisher type** | Microsoft |
167+
168+
> [!TIP]
169+
> If **Azure Arc-enabled SQL Server** doesn't appear in the filter list, remove other filters first, then reapply **Service name**.
170+
171+
### Identify resource-level costs
172+
173+
To see which SQL Server instances are driving costs:
174+
175+
1. In Cost analysis, select **Group by** > **Resource**.
176+
1. Optionally, select **Group by** > **Resource group** if you organize Arc machines by resource group.
177+
178+
This breakdown helps you identify:
179+
180+
- Core count changes
181+
- Edition differences (Standard vs Enterprise)
182+
- Instances that were unintentionally left running
183+
184+
### Identify charge categories
185+
186+
To see which SQL Server related charge categories are driving costs, in **Cost analysis**, select **Group by** > **Meter**. This breakdown helps you identify:
187+
188+
- Usage category breakdown (for example, ESU costs, pay-as-you-go costs)
189+
- Edition differences (meter names indicate the editions)
190+
- Unexpected charges
191+
192+
### Set up budget alerts
193+
194+
To proactively manage costs:
195+
196+
1. In Cost Management, select **Budgets** > **Add**.
197+
1. Create a monthly budget for your expected Arc SQL spend.
198+
1. Configure alerts at 50%, 75%, and 90% of budget.
199+
1. Save the budget.
200+
201+
Budget alerts use forecasted costs, not just actual spend, to help you avoid unexpected charges. For more information, see [Create and manage budgets](/azure/cost-management-billing/costs/tutorial-acm-create-budgets).
202+
141203
## Monitor billing events
142204

143205
To monitor, review [Use activity logs with SQL Server enabled by Azure Arc](activity-logs.md).
263 KB
Loading

0 commit comments

Comments
 (0)