Share via

How to keep development costs down when using Azure

Kris Hahn 40 Reputation points
2026-03-28T19:04:23.5333333+00:00

Hello,

I have a $50/month credit through my subscription and it has almost been completely used up within a week of me selecting the option to continue to use database for additional charge after the free offer time was used up. I didn't do any work that hit the database so I thought I wasn't charged when it wasn't being used. I'm doing something wrong but I'm not sure what option to take now.

Is there someone I can contact for free advice on how to determine the cost of using an Azure SQL database, Key Vault, and a Resource Group?

At this time I'm doing simple development with little to no load on the resources.

Thanks for any help pointing me in the right direction.

Azure SQL Database
0 comments No comments

Answer accepted by question author
  1. SAI JAGADEESH KUDIPUDI 1,600 Reputation points Microsoft External Staff Moderator
    2026-04-01T15:11:48.8066667+00:00

    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:

    1. 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.
    2. 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.
    3. 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/
    4. 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.
    5. 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/
    6. 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.

    0 comments No comments

Answer accepted by question author
  1. TP 155.2K Reputation points Volunteer Moderator
    2026-03-29T00:44:01.8966667+00:00

    Hi Kris,

    This may seem counter-intuitive at first, but what you need to do is turn OFF the free database offer, select Basic service tier, and click Apply. This will make your monthly cost for your Azure SQL Database predictable and only consume a portion of your monthly credit. If you need more than 2GB storage or additional CPU you can easily increase to Standard S0 (10 DTUs) or higher.

    To change the service tier you would navigate to your Azure SQL Database in Azure portal, on left click on Settings -- Compute + storage, next on right click on the toggle to turn off free database offer, select Basic for service tier, then click Apply.

    User's image

    Please click Accept Answer and upvote if the above was helpful.

    Thanks.

    -TP

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Q&A Assist
    2026-03-28T19:04:39.8+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    Azure SQL Database, Key Vault, and resource groups can all consume the $50/month credit, but Azure SQL Database is usually the main cost driver, especially after switching a free offer database to “Continue using database with additional charges.”

    Key points for the Azure SQL Database free offer and why charges increased:

    1. The free offer has strict monthly limits per database:
      • 100,000 vCore seconds of compute
      • 32 GB data storage
      • 32 GB backup storage Once these are exceeded and the option Continue using database with additional charges is enabled, normal Azure SQL billing applies for any additional usage.
    2. A free offer database can auto-pause, but connections can prevent pausing:
      • Leaving tools like SQL Server Management Studio (including Object Explorer) connected can keep the database active and consuming vCore seconds even when no queries are run.
      • This can quickly consume the free vCore seconds and then start using paid compute.
    3. The free offer is intended for dev/POC and has no SLA; once converted to paid, it behaves like a normal General Purpose database and cannot be reverted to free.

    Actions to understand and reduce costs:

    1. Check whether the database is still on the free offer and how much free quota remains:
      • In the Azure portal, open the database Overview tab.
      • Look for Free monthly vCore amount and the seconds remaining value.
      • Select the seconds remaining link to open Metrics and review Free amount remaining and Free amount consumed. This shows how quickly compute is being used.
    2. Monitor and control Azure SQL costs at subscription level:
      • Go to the resource group that contains the SQL Database.
      • Select Cost analysis.
      • Set the chart to Service name and, if needed, filter to Azure SQL Database to see how much of the $50 credit is going there.
      • This view also shows Key Vault and other services if they are contributing to the spend.
    3. Use budgets and alerts so charges do not surprise you:
      • Create a budget on the subscription or resource group and set alerts at thresholds (for example, 50%, 80%, 100% of $50).
      • Budgets can be filtered to specific services (like Azure SQL Database) so that alerts trigger when that service alone crosses a threshold.
    4. Reduce vCore consumption for development scenarios:
      • Disconnect management tools (SSMS, etc.) when not actively working so the database can auto-pause and stop consuming vCore seconds.
      • Use the Free amount remaining metric to understand when the database is active and adjust usage patterns.
    5. Estimate and plan costs before changing tiers or enabling paid usage:
      • When configuring or scaling the database in the Azure portal, use the Configure database screen to see estimated monthly costs for different compute tiers.
      • Use the Azure pricing calculator (linked from the cost-planning articles) to model expected costs for Azure SQL Database and Key Vault based on expected usage.
    6. Where to get free help and advice:
      • Billing support for Azure is free. A billing support request can be opened from the Azure portal to speak with a billing engineer who can:
        • Walk through current and historical charges.
        • Help interpret cost analysis for SQL Database, Key Vault, and other resources.
        • Suggest configuration changes to keep development costs within the $50 credit.

    For ongoing development with low load, combining:

    • A free offer Azure SQL Database (staying within the free limits and avoiding unnecessary connections),
    • Budgets and alerts at the subscription or resource group level,
    • And regular review of Cost analysis

    will help keep usage within the monthly credit and avoid unexpected charges.


    References:

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.