An Azure relational database service.
Hi Kris Hahn,
It sounds like your $50 credit disappeared fast because Azure SQL Database keeps provisioning compute even when you’re not actively running queries. Here are a few pointers to help you estimate and control costs for SQL DB, Key Vault, and Resource Groups:
- Pick the right SQL tier • If your workload is very light or intermittent, go with the serverless vCore tier and enable auto-pause. When paused, you only pay for storage. • If you need a minimal always-on instance, the Basic DTU tier (starts at ~$5/month) may be enough for dev/test. • For multiple small databases with spiky usage, consider an elastic pool so you share a pool of DTUs or vCores across databases.
- Scale down or pause when not in use • In the Azure portal (or via CLI), you can resize your database up/down or switch to a compute tier that better matches your needs. • Serverless databases auto-pause after idle periods; you can also pause/resume manually if you just need the DB part time.
- Estimate costs up front • Use the Azure Pricing Calculator to model your SQL compute tier, storage, backup retention and Key Vault operations: https://azure.microsoft.com/pricing/calculator/ • Check SQL Database pricing options (vCore vs DTU, provisioned vs serverless) here: https://azure.microsoft.com/pricing/details/azure-sql-database/
- Track and alert on spend • In the Azure portal, go to Cost Management + Billing → Cost analysis to see breakdowns by service, set budgets, and configure alerts when you hit thresholds. • Forecasts help you predict if you’re likely to exceed your $50 credit before month-end.
- Understand Key Vault & Resource Group costs • Resource Groups themselves are free – you only pay for the resources inside. • Key Vault is billed per operation (e.g., key sign/unwrap, secret GET), so costs are typically a few cents unless you’ve got very high-volume automated calls. See Key Vault pricing: https://azure.microsoft.com/pricing/details/key-vault/
- Free billing advice from Microsoft • Azure provides free billing and subscription support. In the portal go to Help + support → New support request and choose Issue type: Billing to open a ticket. • You can also get community help on Microsoft Q&A or here in the forums.
Hope this gives you a clear path to estimate and optimize your charges. If you’d like more targeted advice, let us know:
- Which SQL tier (vCore or DTU) and compute size you’re using?
- Whether you’ve enabled serverless auto-pause (and what idle time)?
- Your typical development workflow (scripts, apps, number of operations)?
That info will help narrow down the best way to keep your monthly spend under control.
Reference links
Plan and manage costs for Azure SQL Database
vCore vs DTU purchasing models
SQL serverless compute tier
Elastic pools overview
Azure Pricing Calculator
Cost analysis & budgets
Key Vault pricing
Hope this helps. If you have any follow-up questions, please let me know. I would be happy to help.
Please do not forget to "Accept Answer" and "up-vote" wherever the information provided helps you, as this can be beneficial to other community members.