Live data from Hacker News

I got pwned by my cloud costs

troyhunt.com

41–50 of 657 posts

Re: I got pwned by my cloud costs

#41
As soon as I saw "17GB file" i thought "that's what torrents are for". Otherwise one mistake and... Well this happens.

Or someone maliciously bypasses CF cache e.g. by parameters.

Cloud just is not suitable for any kind of volume egress. It's a death trap. Like going on vacation with data roaming enabled.

Re: I got pwned by my cloud costs

#42

Have you contacted Azure? On one hand you owe the money “fair and square”, but on the other if I were them I’d waive an unexpected $10k bill to a good faith actor that was incurred without any proactive notification by Azure.

> Secondly, there's cost alerts. I really should have had this in place much earlier as it helps guard against any resource in Azure suddenly driving up the cost.

He did not enable alerts.

Re: I got pwned by my cloud costs

#43
post #16

It is worth mentioning that the alert itself costs money. So if you're evaluating the alert every 5 minutes on the past 24h of data it can burn a small but surprising amount of money. From TFA it looks like that would be 10 cents per "time series". Or what I translate it to, is 10 cents every 5 minutes (*I think, but I havent used Azure in some time*). $1.20/hour, $28.80/day, almost $900/month. Not too hard to drop t…

This is something to be mindful of when using datadog synthetics monitors as well - if you have a short interval, or many locations being tested from they can become expensive quickly

Re: I got pwned by my cloud costs

#44
post #38
post #16

It is worth mentioning that the alert itself costs money. So if you're evaluating the alert every 5 minutes on the past 24h of data it can burn a small but surprising amount of money. From TFA it looks like that would be 10 cents per "time series". Or what I translate it to, is 10 cents every 5 minutes (*I think, but I havent used Azure in some time*). $1.20/hour, $28.80/day, almost $900/month. Not too hard to drop t…

A time-series represents a "thing you're monitoring" – in this instance, it's aggregate egress, so $0.10 per month, regardless of the evaluation period. Monitoring CPU? Another $0.10 per month. Memory? Another $0.10. Thankfully, not $900.

I meant to emphasize frequency, not eval period. Apologies. That said I took a look at the pricing docs and didnt see frequency mentioned, so hopefully I am in the wrong about the price.

As an aside, their (Azure's) pricing docs are written in the same fishy way their technical docs are written (my opinion only)...

Re: I got pwned by my cloud costs

#45

Have you contacted Azure? On one hand you owe the money “fair and square”, but on the other if I were them I’d waive an unexpected $10k bill to a good faith actor that was incurred without any proactive notification by Azure.

I had this happen to me once on Digital Ocean, and I contacted them - they were rather understanding that the bill I had was clearly "atypical for my account and not intended" and refunded it.

Re: I got pwned by my cloud costs

#46
post #16

It is worth mentioning that the alert itself costs money. So if you're evaluating the alert every 5 minutes on the past 24h of data it can burn a small but surprising amount of money. From TFA it looks like that would be 10 cents per "time series". Or what I translate it to, is 10 cents every 5 minutes (*I think, but I havent used Azure in some time*). $1.20/hour, $28.80/day, almost $900/month. Not too hard to drop t…

Shameless plug: https://CloudAlarm.in (in beta), sends you real alerts usually faster than azure with multiple reminders. It does this daily unless you tell it to shut up for the month for the given exceed. I call it real alerts because it doesn't wait for consumption threshold to reach the way Azure cost alerts do; as soon as it detects that your current cost * remaining days > the budget amount, it'll send you an alert [1].

The alert emails are way more meaningful (with projected amount in subject for example) unlike generic ones from Azure Alerts, so you see a real alert and prompted to take immediate action.

1: https://cloudalarm.in/Home/Docs/#how-is-budget-alarm-differe...

Re: I got pwned by my cloud costs

#47
One thing I hate about the cloud providers is that there isn't an option to set a maximum cost. I would prefer to plug the cable of my side project than just receive an email saying me that next bill is going to be over my cost. I understand not everyone would like to do that, but I would like to have that option.

Re: I got pwned by my cloud costs

#48
post #37
post #14

Earlier quoted context omitted.

Get a VPS from linode for $5 a month and it costs $5 a month.

Sure that's what i am doing. A beefy dedicated machine with no bandwidth pricing. But that also means i need to do everything by my own. I don't get any of the worry-free services of AWS.

Like the $10k/day bills? Odd definition of 'worry free'

Re: I got pwned by my cloud costs

#49
post #14

Earlier quoted context omitted.

Get a VPS from linode for $5 a month and it costs $5 a month.

They have transfer limits and an associated overage fee iirc. I can still see this sort of thing happening if that is the case.

My understanding is you hit your bandwidth cap and that's it, no more bandwidth.

(edit) looks like that's not the case, I'm sure I used to have to buy a second instance a few years ago if I did want to use more bandwidth that was allocated

Re: I got pwned by my cloud costs

#50
post #37
post #14

Earlier quoted context omitted.

Get a VPS from linode for $5 a month and it costs $5 a month.

Sure that's what i am doing. A beefy dedicated machine with no bandwidth pricing. But that also means i need to do everything by my own. I don't get any of the worry-free services of AWS.

How is surprise billing not a worry?
Post reply on HN