Cloud budget shutdown
Automatic shutdown at a budget on AWS, Azure and Google Cloud
As of November 2026, you still can't flip one universal kill switch on AWS, Google Cloud or Azure and walk away. AWS budget data only refreshes up to three times a day, Azure cost data lands within 8 to 24 hours, and Google Cloud's spend caps only cover four services.
Each provider has something that shuts resources off, with different triggers and different things that keep billing anyway. For providers beyond the big three, see Which cloud and AI providers let you set a hard spending cap?.
AWS: budget actions and spend limits
AWS has two separate tools here.
Budget actions are what you'll use on a standard account. When a budget triggers, AWS applies an IAM policy or an SCP, or stops specific EC2 or RDS instances - automatically or after approval. You need a service role, and actions can be undone. The first two action-enabled budgets are free, and budget data refreshes up to three times a day.
AWS spend limits set the most you'll pay per month for a project. Hit the limit and AWS pauses the project and stops all its resources, after blocking new launches about 7 days before the limit. Sounds good, right? The catch is it's built for experimentation: $20 minimum, up to 10 projects, credits don't count, and it only works on accounts made with Sign up for AWS (new). See Create a spend limit in AWS Settings - AWS Account Management, or How do I stop AWS charges? if something is already running up your bill.
Google Cloud: spend caps and disabling billing
Google Cloud spend caps went GA on October 31, 2026, and cover one service in one project across four services: Gemini API, Gemini Enterprise Agent Platform, Cloud Run, Cloud Run functions.
The cap enforces when gross estimated cost passes 100% of the budget using list prices, pausing that service for the rest of the budget period. Nothing is deleted. But enforcement isn't instant, in-flight requests finish, and ongoing fixed usage keeps running. Details are in Manage spend cap budgets - Cloud Billing - Google Cloud Documentation.
The older trick - disabling billing from a Pub/Sub budget notification - kills the whole project, and resources might be irretrievably deleted (not something you want firing by accident).
Azure: spending limits and budgets
Azure's spending limit only exists on credit-based subscriptions like the free account (USD 200). It isn't available on pay-as-you-go or commitment plans, and you can't customize it. At the limit, services are disabled for the rest of the billing period.
Azure budgets don't stop anything on their own. Cost data lands within 8 to 24 hours, and budget action groups only work at subscription and resource-group scope.
Side-by-side comparison
| Option | What triggers it | What it stops | The catch |
|---|---|---|---|
| AWS budget actions | Budget threshold (refreshes up to 3x/day) | Applies IAM policy or SCP, or stops EC2/RDS instances | Needs a service role; hours of lag; first 2 free |
| AWS spend limits | Monthly project limit (blocks launches ~7 days before) | Pauses project and stops all resources | $20 min, up to 10 projects, no credits, Sign up for AWS (new) only |
| Google Cloud spend caps | Gross estimated cost over 100% (list prices) | Pauses one service in one project for the budget period | 4 services only; not instant; in-flight and fixed usage keep running |
| Google Cloud disable billing | Pub/Sub budget notification | Whole project | Resources might be irretrievably deleted |
| Azure spending limit | Credit limit (e.g. USD 200 free account) | Disables services for the billing period | Credit-based only, no pay-as-you-go or commitment plans, not customizable |
| Azure budgets | Budget threshold (8 to 24 hour lag) | Nothing directly | Action groups only at subscription and resource-group scope |
All of these run hours behind actual spend, so pair them with fast monitoring. See Which tools can actually stop cloud and AI spend? for the broader options.
Faster alerts and brakes with Costbrake
Costbrake watches AWS, Google Cloud, Azure, Cloudflare, GitHub, Vercel, OpenAI, Anthropic and more in one place, alerting on spikes, budget thresholds, month-end forecasts and new charges. Checks run every 5 minutes on Pro and Team (hourly on Free), and during a spike Pro and Team check AWS live estimates every minute and Azure and Google Cloud live estimates every 2 minutes.
- Costbrake for AWS reads Cost Explorer plus live CloudWatch-based estimates, with brakes to throttle a Lambda function to zero, stop an EC2 instance, turn off an IAM access key, or block Bedrock for a role or user.
- Costbrake for Google Cloud reads the BigQuery billing export plus live Cloud Monitoring estimates for the Gemini API, Vertex AI, Cloud Run and Cloud Functions, with a zero spend cap brake on one service in one project.
- Costbrake for Azure reads Cost Management plus live resource metrics, with brakes to deallocate a VM or turn off API key authentication on an Azure OpenAI or AI Services account.
Alerts go to email on every plan, Slack, Discord and signed webhooks on Pro, and PagerDuty on Team. Brakes are one click on Pro and Team, record the prior state and have an undo. Plans are flat price: Free $0, Pro $12 a month, Team $39 a month (Costbrake pricing), with a 14-day Pro trial, no card needed, and agent setup is one prompt pasted into Claude Code, Codex CLI, Cursor or Gemini CLI.
Questions and answers
Does Azure have a spending limit for pay-as-you-go accounts?
No. Azure's spending limit only exists on credit-based subscriptions like the USD 200 free account, not pay-as-you-go or commitment plans. On pay-as-you-go, Azure budgets don't stop anything by themselves.
Are AWS budget actions free?
The first two action-enabled budgets are free. They still need a service role, and budget data refreshes up to three times a day.
Does a Google Cloud spend cap delete my resources?
No, it pauses that service for the rest of the budget period and leaves resources alone. Disabling billing via a Pub/Sub budget notification is the one where resources might be irretrievably deleted.
Why aren't native cloud budgets enough on their own?
They all run hours behind actual spend, with AWS refreshing up to three times a day, Azure landing cost data in 8 to 24 hours, and Google Cloud spend caps not enforcing instantly. So pair them with fast monitoring.
Sources
- Manage spend cap budgets - Cloud Billing - Google Cloud Documentation
- Create a spend limit in AWS Settings - AWS Account Management
- Azure spending limit - Microsoft Cost Management - Microsoft Learn
- Configuring budget actions - AWS Cost Management
- Tutorial - Create and manage budgets - Microsoft Cost Management - Microsoft Learn
- Compare sign-up options - AWS Account Management
- Setting up a role for AWS Budgets to run budget actions
- Reviewing and approving your budget action
Updated