Skip to content

Commit 59f949b

Browse files
committed
docs: Add cost analysis section to pay-as-you-go transition guide
1 parent 3f15440 commit 59f949b

1 file changed

Lines changed: 52 additions & 0 deletions

File tree

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

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,58 @@ 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 [Azure 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+
### Filter for Arc SQL pay-as-you-go costs
157+
158+
To isolate Azure Arc-enabled SQL Server pay-as-you-go charges, apply these filters:
159+
160+
| Filter | Value |
161+
|--------|-------|
162+
| **Service name** | Azure Arc-enabled SQL Server |
163+
| **Charge type** | Usage |
164+
| **Publisher type** | Microsoft |
165+
166+
> [!TIP]
167+
> If **Azure Arc-enabled SQL Server** doesn't appear in the filter list, remove other filters first, then reapply **Service name**.
168+
169+
### Identify resource-level costs
170+
171+
To see which SQL Server instances are driving costs:
172+
173+
1. In Cost analysis, select **Group by** > **Resource**.
174+
1. Optionally, select **Group by** > **Resource group** if you organize Arc machines by resource group.
175+
176+
This breakdown helps you identify:
177+
178+
- Core count changes
179+
- Edition differences (Standard vs Enterprise)
180+
- Instances that were unintentionally left running
181+
182+
### Set up budget alerts
183+
184+
To proactively manage costs:
185+
186+
1. In Cost Management, select **Budgets** > **Add**.
187+
1. Create a monthly budget for your expected Arc SQL spend.
188+
1. Configure alerts at 50%, 75%, and 90% of budget.
189+
1. Save the budget.
190+
191+
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).
192+
141193
## Monitor billing events
142194

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

0 commit comments

Comments
 (0)