The time I made a cloud accident and got away with it
I once provisioned IOPS for an RDS instance using gp3 storage. I thought more is better, what could go wrong?
A month later: $600 gone. 🔥
Luckily, it burned through free credits, not my bank account. That’s when I really learned how AWS storage tiers work.
- gp3 gives you baseline performance, but provisioned IOPS costs extra.
- More IOPS != smarter setup, you pay for every provisioned IOPS, used or not.
- And RDS doesn’t care if you’re testing or in production, it does not discriminate when it charges you.
Since then I started using Docker for local development and testing. Life got simpler, faster, and cheaper.
A local database is one file and one command. Same engine, same version as the one in the cloud, a volume so the data survives restarts, and when you’re done, docker compose down and it costs nothing. No storage tiers, no IOPS, no bill at the end of the month.
services: db: image: postgres:17 environment: POSTGRES_USER: app POSTGRES_PASSWORD: app POSTGRES_DB: app ports: - '5432:5432' volumes: - db-data:/var/lib/postgresql/data
volumes: db-data:And when something really has to be tested in the cloud, set up an AWS Budgets alert before you create anything else. It emails you when your actual or forecasted spend crosses an amount you pick, so you find out in a few days, not when the month closes.
The cloud gives you infinite scale, and infinite ways to accidentally donate money.