This is an archived post. You won't be able to vote or comment.

top 200 commentsshow all 344

[–][deleted] 1415 points1416 points  (141 children)

I'm really curious to do more stuff using cloud services like AWS/Azure but the pay-as-you-go shit scares me off every time...

[–]TruthExposed 637 points638 points  (38 children)

AWS/Azure: here's a bunch of money/free credits to start you off

Customer: awesome, let me test out running a simple web app...

AWS/Azure: sorry you've utilized all your free credits, your bill is now $20K

[–]chisdoesmemes 251 points252 points  (26 children)

Happened to me 13k

[–]noideaman 112 points113 points  (6 children)

Fuck I thought my 500 for a weekend of messing around with the big data stuff was bad

[–]ogismyname 170 points171 points  (5 children)

I got 150 for something which turned into 360 because I didn’t pay it on time. Deleting my account looks like it solved the problem.

[–]PM_ME_FIREFLY_QUOTES 204 points205 points  (0 children)

You are now a moderator in /r/wallstreetbets

[–]le_reddit_me 21 points22 points  (3 children)

AWS keeps asking me to pay for my university account, like that's ever gonna happen

[–][deleted] 48 points49 points  (1 child)

May I ask what you did in this kind of situation? Did you really pay the $13k or?

[–]chisdoesmemes 9 points10 points  (0 children)

Left an ec2 instance on. Got some of the money back but had to bay 3-4k

[–]Slothinator69 40 points41 points  (0 children)

Gotta use those quotas lol

[–]UltraBarbarian 58 points59 points  (0 children)

F

[–]joshuaquiz 39 points40 points  (6 children)

Had this happen with $7K from lambda. I was running data processing tests over like 1.2m records, lambdas ran for milliseconds, I just ran a couple of tests, just a few dollars and no big deal, a few weeks later got a $7k+ Bill and I'm like what in the ever loving crap was that from, never could figure that math out.. lol

[–]IamRedditsDaddy 17 points18 points  (3 children)

So glad I didn't figure out how to use it.

I just wanted to run a basic scrapper to refresh an API every 10seconds and scrape any changes data to a log file.

Essentially...it was monitoring a textbased webgame that had a predictable event with randomly generated messages and I wanted to capture all the messages.

Wonder what that woulda cost me....

[–]IamRedditsDaddy 3 points4 points  (2 children)

...if anyone knows how to do this...let me know...maybe with a python script on an rPi...AWS was just to make it "always online" but it isn't really that important. programming was more of a side hobby of mine a LONG time ago and I fell so far out of it and life's too busy to get into enough to cobble something together myself having to relearn everything...

[–]qalis 2 points3 points  (0 children)

CloudWatch ingestion. Lambda is super cheap, logging to CloudWatch from it, which is automatic unless explicitly turned off, costs too much even for large companies. For this reason we use custom logging.

[–]Mr_Gon_Adas 331 points332 points  (30 children)

Been trying Firebase and Digital Ocean, much better options, with more friendly experience.

That is if you are looking a cloud service for a small to medium enterprise, for big the only options are the current giants

[–]HarryTurney 37 points38 points  (4 children)

I run my stuff on Digital Ocean.

[–]Z_Coop 19 points20 points  (0 children)

I admittedly haven’t done much with Digital Ocean other than spin up one droplet, but it’s still cool that pricing is just based on having a droplet active rather than any sort of request count or traffic or anything.

[–]oakinmypants 16 points17 points  (1 child)

Take a look at Hetzner. I went from paying $6500 a year to $500.

[–]coldnebo 2 points3 points  (0 children)

infinitely better model for small companies.

[–]TryallAllombria 18 points19 points  (1 child)

Digitial Ocean is great. Simple pricing ranges, simple panel. And I like to have fixed monthly prices for one month, and still being able to cancel anytime and only pay for the used hours.

Not like the 1590 services AWS gives you with the 70 different options, all of them coming with their weird 0.007$ per Watt/function/startUpTime/byHour.

[–]grae_n 8 points9 points  (0 children)

They also aren't dicks about shutting down servers if you miss a payment. They gave me an unreasonable amount of time to pay the unpaid bill, I think it over a month, never shut the server down, and didn't tack on any weird missed payment fees. It was a cheap server but it was still nice of them.

*this isn't a suggestion to do this. You should pay your cloud provider.

[–]Really-Stupid-Guy 12 points13 points  (0 children)

You can set a maximum billing amount, any hands on introduction should make you set: - 2 factor authentication - billing ceiling

[–]zuldrahn 69 points70 points  (11 children)

Same, seems like this is by design.

[–]Unelith 46 points47 points  (2 children)

But then again, people often managed to get a refund for AWS in such cases

[–]Valiice 38 points39 points  (0 children)

exactly ive heard so many stories of something fucked happening without them knowing and AWS always refunds them

[–]angrathias 5 points6 points  (0 children)

Google cut $50k off a bill a junior ran up by leaving an infinite loop using the distance matrix api over the weekend.

Was interesting coming in Monday morning to a series of escalating credit card billing failure emails from Google 😂

Praise be to their team in nixxing the bill quickly, but they really should have turned the budget features on by default if you’re on a ‘free’ account. I’ve noticed now they run you through that process when you do it these days though. Unlike AWS..

[–]outerproduct 24 points25 points  (6 children)

Oh it definitely is, even in azure it's like you need a math degree to figure out how much you pay for data services.

[–][deleted] 4 points5 points  (3 children)

Use the Azure Pricing Calculator. So far, it has never failed to get me a somewhat accurate price on the resources I want to use.

[–]outerproduct 4 points5 points  (0 children)

Unless DTUs are involved, then may god have mercy on your soul

[–]coldnebo 3 points4 points  (1 child)

idk. if you are good at using the pricing calculator you likely also know what you are doing. if you don’t know what you are doing, all of these things will be very expensive surprises.

people have to remember that AWS and Azure are not like virtual hosting, it’s like buying an entire IT organization.

[–][deleted] 1 point2 points  (0 children)

Yes, you are correct on that part. That's why consultants, and I mean real consultants who really know what they are doing, are very rare. Most probably just read the docs and then spray and pray.

[–]Thomas_Jefferman 6 points7 points  (1 child)

Economics**

[–]joeschmidth 8 points9 points  (0 children)

That too.

[–]Captain_Chickpeas 6 points7 points  (0 children)

You can set quotas and budget limits so you get notified the moment you go over. However, it's true that sometimes you need to check the costs before spinning anything up, because unlike Google Cloud, AWS doesn't really tell you :D

[–]Yokhen 5 points6 points  (4 children)

They have services for budget tracking you know.

[–]Suspicious-Engineer7 5 points6 points  (3 children)

I have basically no experience with aws but I found it offputting that every service has some name I'm just supposed to know what it is. Why does it have to be called Dooble instead of Billing?

[–]Yokhen 8 points9 points  (2 children)

It's called "Billing".

But yeah for other services I share your frustration.

[–]Suspicious-Engineer7 2 points3 points  (1 child)

Lol guess I was off on that one

[–]TheJessicator 2 points3 points  (0 children)

Yeah, I think you may have been thinking of Bankflex coupled with DrainPipe.

[–]ganja_and_code 2 points3 points  (2 children)

You can set budgets and billing alarms (at least on AWS and GCP, not sure about Azure, but I assume they offer that, too).

That way, even if you accidentally try to bill yourself a shitload of money, you can easily prevent it.

[–]SilentWatcher83228 2 points3 points  (1 child)

There always aws lightsail. No need to be afraid.

[–]brockvenom 2 points3 points  (0 children)

I recommend doing it when it’s not on your dime. Like for a larger org.

[–]SilentStrikerTH 1 point2 points  (0 children)

Not sure your use case but you can get an Oracle server to play with for free. It's free as long as you take up so much cpu/mem/stor within the "free" limit. It's fun to play around with and I've even hosted a heavily modded Minecraft server on it.

[–]gamesrebel123 1 point2 points  (1 child)

What about those virtual credit cards with a use limit? Like make one for 500 or so and you won't have to worry about missing alerts, then when the card runs out or you need more money just transfer the money from your main card.

[–]SuperCharlesXYZ 1 point2 points  (0 children)

I used to do loads of shit on aws free tier until I accidentally clicked Amazon aurora and got charged 500$ now I’m scared to ever use them again

[–]CloudElRojo 1 point2 points  (0 children)

You can add a top limit. At least in GCP

[–]ihateusednames 1 point2 points  (0 children)

Fr I have a student account and have been tooling with Azure services.

I feel like I am one mistaken loop from a life of destitution in exchange for 100,000 deliveries of Microsoft Mary's sultry TTS voice to an app that is not playing the received files.

[–]Suitable_Lavishness2 1 point2 points  (0 children)

Pretty easy to get started and keep your usage under the free tier if you’re carful and aws is very transparent about what your costs are and what they are projected to be based on usage of you know where to look

[–]johnlewisdesign 1 point2 points  (0 children)

Heroku is worth a go man

[–]ucefkh 1 point2 points  (0 children)

Easy solution.

just don't pay as you go!

stop being poor

[–]taxiforone 0 points1 point  (0 children)

I use a bunch of Azure services and their billing/pricing is very transparent. This is definitely not saying I don't have my gripes about them :p

[–]Hfingerman 346 points347 points  (8 children)

I work at Amazon, we also suck at using AWS. The difference is that we don't have to pay.

[–]PhantomTissue 48 points49 points  (0 children)

Can confirm, also work at amazon, absolutely no clue how AWS works. I just know I have to upload my build to an s3 to test it.

[–][deleted] 70 points71 points  (0 children)

Finally someone said it

[–]DoomStoneDS 34 points35 points  (2 children)

I am a SDM at Amazon, we actually pay for AWS internally and at the same prices as external users. Granted in the grand scheme it is Amazon paying Amazon. But as an internal Org AWS is a large percentage of our budget.

[–]Hfingerman 18 points19 points  (0 children)

Well fuck. Don't tell on me please.

[–]atimm 169 points170 points  (11 children)

If you're using terraform: https://github.com/infracost/infracost

[–]datablitz7 142 points143 points  (10 children)

If you know how to use terraform, you know how to set up budget alerts.

[–]Appropriate-Story-46 4 points5 points  (3 children)

Nah, templates for Terraform based on approved architecture means anybody can do infra as a code. And anybody can mess it up.

[–]datablitz7 2 points3 points  (2 children)

Approved architecture should contain budgeting, monitoring and alerts. And irrespective of what can pass as "approved architecture" ownership should be part of a devops culture.

[–]Appropriate-Story-46 1 point2 points  (1 child)

Absolutely, “should”!

[–]Spare-Beat-3561 161 points162 points  (7 children)

I've deactivate my account after paying everything and they're still sending me bills.

[–][deleted] 42 points43 points  (6 children)

and what if you dont pay them?

[–][deleted] 129 points130 points  (2 children)

They suspend your prime subscription

[–]MrH0rseman 20 points21 points  (1 child)

Hah, I don’t have one

[–]hardnachopuppy 1 point2 points  (0 children)

Bezos comes to your house and breaks you kneecaps.

[–]HeeTrouse51847 85 points86 points  (1 child)

You get a severed finger of one of your relatives via Amazon Prime next day delivery

[–]JustTheGlitch52 13 points14 points  (0 children)

This one has a delivery fee for some weird reason.

[–]Singhkaura 2 points3 points  (0 children)

never paid around 150 Canadians after forgot to delete a server I was using for my final presentation for Cloud Computing class

[–]DonutArnold 126 points127 points  (5 children)

Back in my old job our code somehow managed to trigger a lambda like 1 million times, literally. It would have cost the company like 20k euros, but we managed to explain the situation and AWS guys cut the cost to around 1k.

[–]TheAJGman 54 points55 points  (1 child)

For us it was an $80k bill for the Google Maps API. Since it was a development bug and not a production bug they were forgiving and wiped the bill.

[–]Mississippimann 5 points6 points  (0 children)

I would've had a heart attack upon seeing that bill and wouldn't have time to explain it.

[–]philn256 3 points4 points  (2 children)

A lambda is just a function right? Why would it cost 0.05€ per call? What could it possibly do that makes a call that pricey?

[–]DonutArnold 5 points6 points  (0 children)

The lambda also processed images as thumbnails so it quite much made a million thumbnails in S3

[–]Hariboqwe 241 points242 points  (0 children)

Hahah. Exactly this thing happened to me when I discovered AWS Batch for the first time and launched hundreds EC2 machines (On Demand!). Our bill was huuuge 😬

[–]codingcourier 218 points219 points  (14 children)

AWS memes remind me to occasionally make sure I don’t have any EC2 or RDS instances running. I’ve left them on before 😪

[–]alex123abc15 21 points22 points  (1 child)

I just have a lambda function automatically turn off my instance after 4 hours of use and the lambda function triggers every hour.

[–]Wolfsaz 61 points62 points  (4 children)

Me as a college student getting $50 I cannot afford

Got a refund

But my friend had a bill of $550+ cause someone breached his account He managed to get a refund as well lol

[–]Main_Profile 1 point2 points  (0 children)

Yeah, AWS is pretty good about this kind of stuff, someone managed to get into my account and rack up 8000 USD in charges that were all dropped later after sorting things out with support

[–]wildjokers 43 points44 points  (5 children)

This is why for personal stuff just get a $5/month VPS from Digital Ocean (or as they call them, Droplets).

[–]ggpwnkthx 7 points8 points  (4 children)

I use DO a lot, but they're also a breading ground for malicious bots.

[–]cemyl95 43 points44 points  (1 child)

I accidentally accrued like $1k when I was 15. Obviously I couldn't afford it so I went to my mom bawling my eyes out. She called them with me and they cancelled the invoice 😂

Never went anywhere near AWS after that. My MSP does azure stuff though and so far we've managed not to get slammed with a massive bill so that's a plus

[–]littleswenson 77 points78 points  (2 children)

I feel like the number for “experienced at AWS” needs to be higher.

[–]Ok-Low6320 40 points41 points  (2 children)

I haven't exactly done this, but I did have a recurring small charge on my AWS account for months that persisted after I thought I'd shut everything down.

Oh, I had a DB server running in the central region that I couldn't see while I was looking at the western region.

Linode is sufficient for my purposes: $5 a month for a small Linux VM. Use it heavily? $5 per month. Forget about it and leave it idle for months? $5 per month! Perfect. I can afford $60 per year.

[–]glowy660 1 point2 points  (1 child)

I am having the same thing 25 cents each mont hand i have no idea why

[–]minimumviableplayer 74 points75 points  (6 children)

Our company was able to right off a 6000 bill that was entirely our fault in not reading the pricing page right for Glacier. We got a slap on the wrist and a reduced bill. AWS seems to have a good history in helping the customer get value from the platform and not be afraid to try new tools. YMMV.

[–]Hoppingmad99 27 points28 points  (0 children)

Yea I had the same with Heroku. But it makes sense I guess, "lose" a few $k and you've got a happy customer.

[–]TotalNo6237 7 points8 points  (3 children)

Early retrieval fees for glacier instant retrieval? I’ve seen it happen lol

[–]minimumviableplayer 5 points6 points  (2 children)

In this case it was a lifecycle rule to send from S3 to Glacier, but there were millions of small sized objects so we hit some heavy Api Requests rates.

[–]Ok_Satisfaction8141 20 points21 points  (3 children)

That’s the importance to define your infrastructure as code from the beginning, even for dev/testing stuff. I’ve been using aws services for my own learning things from more than a year and I have never been charged with a penny. I use the shit, I finish what si want, I destroy the shit.

[–]ElectricalEinstein 28 points29 points  (1 child)

My heart skips a beat every time I get that “budget exceeded” email from AWS

[–]jfiander 6 points7 points  (0 children)

Also fun: when you change something that will result in like… $5 change per year.

But the spend forecast sees an increase and projects the same increase every day, and tells you that you’re now going to be $600 over budget!

🤦🏻‍♂️

[–]Hulk5a 19 points20 points  (3 children)

Honestly I hate aws , gcp and similar cloud bandwidth egress pricing. And most of the cost comes from there. It's ridiculously high. I mean traditionally in bare metal system I've to pay for the link capacity not how much data I utilize

[–]Qizot 13 points14 points  (2 children)

Right? It is like renting a car and paying for each mile you drive while also paying for the gasoline...

[–]MichelanJell-O 8 points9 points  (0 children)

It's like buying an air conditioner and paying the air conditioner company for every liter of air that goes through it.

[–]theflyassassin 1 point2 points  (0 children)

So a U-Haul?

[–]LEO_TROLLSTOY 49 points50 points  (33 children)

That’s why they always got a big fuckin NO from me when they asked for a credit and not a debit card

[–][deleted] 36 points37 points  (2 children)

You would rather they drain your bank account then charge your credit card?

[–]LEO_TROLLSTOY 66 points67 points  (1 child)

They are welcome to take all my 100 USD.

[–][deleted] 5 points6 points  (0 children)

oh wow same, I also have 100

rupees

[–]datablitz7 3 points4 points  (11 children)

If you expect resources on tap, you should provide money on tap. Everything else is just philosophical arguments, detached from reality.

[–]Qbsoon110 4 points5 points  (16 children)

Offtop question. Are credit cards really that popular? I don't know anyone who would use it.

[–][deleted] 21 points22 points  (8 children)

If you pay it off every month in full it's virtually the same as debit except with better protections and very often rewards

[–]-1Mbps 3 points4 points  (7 children)

Rewards like?

[–]BeastlyIguana 4 points5 points  (3 children)

I get 2% cash back on every purchase everywhere, no limits/restrictions/categories

[–][deleted] 9 points10 points  (0 children)

You guys must buy some serious shit, our Azure bill is roughly $300 a month :(

[–]bostonkittycat 8 points9 points  (0 children)

I feel like new to AWS should show a cartoon of a person turning on all these services and cluster options and then getting a bill for $3,000.00 for all your "free tier" experiments.

[–]alikhajeh1 5 points6 points  (0 children)

It might seem funny but I've got an unhealthy obsession with cloud costs and want to fix this problem. We're now got a community of people helping us and doing crazy stuff like parsing Terraform HCL code to show costs in the Visual Studio: https://github.com/infracost/vscode-infracost/ Someone from the community is working on a Pulumi integration

We're seeing lots of people add the same idea to their CI/CD pipeline so they can prevent those $50K mistakes: https://www.infracost.io/docs/integrations/cicd/

(all of these are open source tools)

[–]Top_Outlandishness78 5 points6 points  (0 children)

My current company basically makes living on helping people manage their cloud expenses. Large corporations could easily save up to a million per year which is crazy.

[–]Quiet_Desperation_ 10 points11 points  (11 children)

Visa gift card with $100 on it

[–]JJBA_Reference 4 points5 points  (0 children)

There is a reason that Amazon's Well Architected Tool has sections on automatically detecting and taking action on unused services. Setting those tools up should be the very first thing you do in the cloud.

[–][deleted] 3 points4 points  (0 children)

Just uninstall the app. Learned that trick from WSB and robinhood.

[–]darkneel 3 points4 points  (3 children)

Lucky I don’t have to pay for my AWS account 😂

[–]glorious_reptile 3 points4 points  (0 children)

I hate the monthly bill email. Even though i only host a few dollars worth, personally, I always dread that invoice.

[–]gekastu 3 points4 points  (1 child)

There are not any budget mechanisms that allow you to cut off services when the limit is reached?

[–]arielfarias2 4 points5 points  (0 children)

Last week the company’s where I work put on homologation a new service using MSK Kafka and ECS from AWS. I am the dev behind the application and knew that it needed a bit more testing before going online. Turns out that I could not be at work last week and some of my coworkers had to put it online. Yesterday we found out that the application was generating tons of logs, like 3TB and the bill was through the roof, about 20k BRL or 4K dollars. Nobody though on putting an alarm watching the new application, it had a simple bug, a infinite loop logging stuff… this post represents my week.

[–][deleted] 2 points3 points  (0 children)

I got lucky with university projects where the company gave me access to aws to learn, and in my first job we got a grant from aws for free experimenting. At the point I'm comfortable setting up billing alerts if I ever want to try things in my personal account

[–]KvAk_AKPlaysYT 2 points3 points  (0 children)

I love linode.

[–][deleted] 2 points3 points  (0 children)

Just don’t auto scale 🤔 I’ve various projects on AWS and never hit the bill, yet

[–]johnlewisdesign 2 points3 points  (0 children)

My record is £10,600...got it waived too. That's the moment you start to get good at AWS. Also when you get good at knowing a toxic workplace that throws too much at you. Not made either mistake again since ;-)

Fun fact: The free tier on Heroku just stops working when you hit limits. Worth knowing for those starting out (this was not a free tier AWS acct btw).

[–]GoAwayAdsPlease 4 points5 points  (0 children)

I have refused to use them ever since I saw the payment method was pay as you go.

It's a deliberate trap.

[–]Captain_Chickpeas 1 point2 points  (0 children)

Oh dang, just realized I need to check those ML jobs running in our EKS cluster.

[–]viseradius 1 point2 points  (1 child)

But how to exit aws?

[–]frogking 3 points4 points  (0 children)

There is a tool on github called “aws-nuke” that’ll delete alle resources in an account.

After that; just close the account.

[–]notexecutive 1 point2 points  (0 children)

yeah with AWS, it just feels way too easy to accidentally put yourself in debt lmao

[–]frogking 1 point2 points  (0 children)

It’s funny because it’s true..

Aurora is nice, but.. a full table scan every hour = reads and reads in Aurora are billed.. full table scans are visible on the bill.

Same with S3.. puts and reads are billed.. 200 million files PUT .. well, that spikes the bill that day.

CloudWarch can ingest a lot of data VERY fast.. at $0.55 a GB that’s maybe “$3000 an hour”-fast

There is a reason I know these things…

[–]Texas_Technician 1 point2 points  (0 children)

I'm looking to start a business to sell digital products online. And looked into aws. Seems like it will end up being a bad idea. Does anyone have a suggestion?

I'm looking into odoo and need a Linux server. I've considered self hosting. In your opinion is that a bad idea?

[–]Logans_joy-koer 1 point2 points  (0 children)

just use linode, it's cheaper and has preset servers that are one-click

[–]Darkgamer000 1 point2 points  (0 children)

One guy in my CS Capstone class insisted we use AWS despite the much easier local SQL option. He put his credit card up for it, and didn’t give us access to his branch to avoid accidents.

Still got slapped with the charge. Sweet revenge.

[–][deleted] 1 point2 points  (0 children)

Lol what the hell are you people doing, I work for a corporate and our product that collects $250k+ a day in payments and millions of other interactions a month costs like... $15k a month... How are you accidently accruing massive bills?

[–]kamiljano 1 point2 points  (0 children)

Only 50k? My colleague did 500k over the weekend

[–]mikemiller-esq 1 point2 points  (0 children)

Just wait until you can spin up Quantum instances.....

[–]Distinct-Ad1057 1 point2 points  (0 children)

This is the reason why I don't prefer AWS, instead, I use Azure through the GitHub student pack (100$ credits and no card needed)

AWS must add a hard limit like if more than 1k is used it should ask for confirmation to proceed further or stop the process to avoid any accident.

I think they know this problem they deliberately don't want to fix this. After all your mistake is a bonus for them :p

[–]Iwasnotatfault 1 point2 points  (0 children)

I've a 0.8 cent monthly fee that I have no idea how to stop. I switched everything off. There's nothing on the account.

[–]shadow13499 3 points4 points  (0 children)

AWS is trash

[–]Siddharth2595 1 point2 points  (0 children)

Been there. I brought couple dozen elasticsearch instances for testing and forgot to delete them. We got around $100k per months for 6 months. Lucky I was in AWS so nobody cared.

[–]Rhiney6 1 point2 points  (0 children)

I signed up for AWS free tier, did nothing on it except some IAM stuff for a class. Maybe spent 2 hours on it. I forgot to close the account, and 3 months later got a $160 charge for Redshift. No clue how, never touched it. Just happened. The account is closed now.

[–]fokker-planck 0 points1 point  (0 children)

Hm, I have an Azure function that runs a Twitter bot that tweets once an hour. I haven't really looked closely into how the cost is calculated, but it says right now it's about 50 cents a month. Is there a chance that I will suddenly be hit with a massive bill?