# Billing Safety: Budgets, Alerts and Cost Traps

> Set budgets, alerts and anomaly detection on day one, and learn the classic services that quietly drain student accounts. Free notes, key concepts, resources...

Canonical: https://www.internhack.in/roadmaps/tracks/cloud-engineer/billing-safety
Last updated: 2026-11-28

Set budgets, alerts and anomaly detection on day one, and learn the classic services that quietly drain student accounts.

Beginner · about 2 hours · difficulty 1/5

Learn first: [Creating and Securing Your AWS Account](https://www.internhack.in/roadmaps/tracks/cloud-engineer/account-setup)

Every year students post screenshots of surprise AWS bills of thousands or lakhs of rupees. Almost all of them were avoidable with ten minutes of setup.

### Set these up now

- **AWS Budgets**: create a monthly cost budget (for example 5 USD) with email alerts at 50, 80 and 100 percent of actual and forecasted spend. The zero-spend budget template alerts you on the first cent.
- **Cost Anomaly Detection**: free, emails you when spend suddenly jumps.
- **Billing preferences**: enable free tier usage alerts and receive invoices by email.
- **IAM access to billing**: allow your admin identity to see the Billing console.

### Classic cost traps

- **NAT Gateway**: hourly charge plus per-GB processing, even when idle.
- **Public IPv4 addresses**: AWS charges per hour for every public IPv4, including idle Elastic IPs.
- **Load balancers, RDS, EKS control planes and OpenSearch domains** bill hourly while they exist, used or not.
- **Data transfer out** to the internet and between AZs.
- **Forgotten regions**: resources left in us-east-1 from a tutorial.
- **Leaked access keys** used to launch crypto-mining instances.

### Habits that keep you safe

- Tag everything with project and owner.
- Tear down labs the same day; prefer Infrastructure as Code so destroy is one command.
- Check **Cost Explorer** and the Bills page weekly.

### Pitfalls

- Budgets only alert; they do not stop spending unless you configure budget actions.
- Billing data lags by several hours, so an alert can arrive after the damage.

You are ready to move on when you have a working budget with email alerts and can name five services that bill even when idle.

## Key concepts

- **AWS Budgets and alerts**
- **Zero-spend budget**
- **Cost Anomaly Detection**
- **Cost Explorer**
- **Idle resources that still bill**
- **Data transfer charges**
- **Budget actions**: Automatically apply a restrictive policy when a budget is hit

## Mini project

Create a zero-spend budget and a 5 USD monthly budget with alerts at 80 and 100 percent, enable Cost Anomaly Detection, and turn on free tier usage alerts. Screenshot the setup for your notes. This costs nothing; make sure you launch no resources.

## Check yourself

You finished a VPC tutorial and terminated the EC2 instance, but the bill keeps growing. What two resources would you check first?

## Free resources

- [AWS Budgets](https://aws.amazon.com/aws-cost-management/aws-budgets/) (AWS)
- [AWS Cost Management documentation](https://docs.aws.amazon.com/cost-management/latest/userguide/what-is-costmanagement.html) (AWS)
- [AWS Free Tier](https://aws.amazon.com/free/) (AWS)
- [The Open Guide to AWS: Billing](https://github.com/open-guides/og-aws) (open-guides)

Previous: [Creating and Securing Your AWS Account](https://www.internhack.in/roadmaps/tracks/cloud-engineer/account-setup) · Next: [AWS CLI, CloudShell and SDKs](https://www.internhack.in/roadmaps/tracks/cloud-engineer/aws-cli)

## More in AWS Account Setup and Billing Safety

- [Creating and Securing Your AWS Account](https://www.internhack.in/roadmaps/tracks/cloud-engineer/account-setup)
- [Billing Safety: Budgets, Alerts and Cost Traps](https://www.internhack.in/roadmaps/tracks/cloud-engineer/billing-safety)
- [AWS CLI, CloudShell and SDKs](https://www.internhack.in/roadmaps/tracks/cloud-engineer/aws-cli)

## Related

- [Roadmaps](https://www.internhack.in/roadmaps)
- [Cloud Engineer (AWS) Roadmap](https://www.internhack.in/roadmaps/tracks/cloud-engineer)
