hackx
Backend From Zero (34 / 35)

Teardown — no surprise bills

Please don't leave AWS running overnight "just in case." Kill things in this order — Elastic IPs are the sneaky charge.

StepDo this
1 · Elastic IPdisassociate, then release
2 · Instanceterminate
3 · SES SMTP userdelete the IAM user
4 · Key pairdelete in AWS + trash the local .pem
5 · DNSremove the api A record
6 · Neonpause or delete the project
7 · BillingCost Explorer + a $5 budget alarm
aws ec2 describe-addresses --region ap-south-1
aws ec2 disassociate-address --association-id assoc-…
aws ec2 release-address --allocation-id eipalloc-…
aws ec2 terminate-instances --instance-ids i-… --region ap-south-1

Free tier ends. Idle Elastic IPs still bill. Set the budget alarm once — future you will say thanks.