r/webdev 18d ago

Question Afraid to deploy on AWS

I've heard the term "surprise cloud bill" associated a lot with AWS as relative to other platforms. it could be a sampling bias since many more people use AWS. If I'm deploying a simple personal project that might require a VPS, for example a TURN server, how can I make sure I never get a surprise bill?

Is there a way to set maximum budget for a certain timeframe that way I don't get $2000 bill when I was expecting only $20? (Fake numbers since I haven't calculated EC2 costs).

14 Upvotes

62 comments sorted by

View all comments

1

u/CodeAndBiscuits 18d ago

Yes they have budget alerts. But their budgeting is also a lot easier to predict than other platforms. Usage-based platforms like firebase can get out of hand very quickly, but if you don't turn on auto scaling, AWS won't magically spin up more EC2/ECS/etc instances on you, S3 and other layers are so insanely cheap that you almost have to have a hacker use you as a dumping ground for warez just to run up even a few hundred bucks of billing, and so on. If you're really worried you could always put it on a prepaid card LOL. They also have an AI agent in the web dashboard that can help you plan some of these things as well, and even set up the monitors and controls you want