Earlier quoted context omitted.
They'd rather refund small guys for mistakes than give big guys an easy limit to set.
I guess big guys don't want they service to suddenly stop, so they probably would not use this... But it's just a guess
I got pwned by my cloud costs
571–580 of 657 posts
Re: I got pwned by my cloud costs
#572These stories almost always boil down to this fundamental conflict of what you want for a personal project vs a business. (though in this case yes, Troy Hunt's HIBP is larger than a lot of startup businesses) In a business setting, you want your service to stay up, at the cost of spike in costs if accidents or mistakes happen. In a personal project, you want there to be hard limit on cost, and your service to go down…
> In a business setting, you want your service to stay up, at the cost of spike in costs if accidents or mistakes happen. No you don’t. This is absolutely not a given. Being a “business” doesn’t mean you suddenly have unlimited budget. The vast majority of businesses are not “web scale” and are better off taking an availability outage than suddenly handling 1,000,000x the normal volume of traffic.
If you are selling you product via your web site and you're suddenly on TV with millions watching and accessing your site, you definitely don't want the server to go downand autoscaling + a bit higher cost would be great.
Re: I got pwned by my cloud costs
#573Ah the old cloud provider switcheroo. Yip this is the way they make money. They make it easy to setup some gigantic hugely scalable website then hit you with a gigantic scaled up bill. AWS would do this as well. Team I'm in at the moment is in the early stages of cloud adoption but the company in total has fell hook line and sinker for AWS. When I mentioned the cost there is always an excuse. The main one being that…
That stackoverflow infra blog post is out of date. They use more than a single webserver now. For example: https://stackexchange.com/performance
A similar “scale” e-commerce site would be significantly more load, have more dynamic data, and just be overall harder to run.
Re: I got pwned by my cloud costs
#574I wonder if before cloud computing, has there ever been a successful product / service where it was accepted with just a shrug that the volatility of monthly costs means it could bankrupt you with next month's bill, because of complexities and opaqueness of the cost structure make it virtually impossible to predict and protect against extreme peaks in all parts of the setup. Even if you run a relatively opaque cost s…
I worked on both cloud computing and on premise project. Before cloud computing the risks were different: - much harder to scale. It was much more common to over provision and have machines and bandwidth being unused for years. - when we were hit with very high traffic due to a bug or something else, most of the time it would lead to customer outages. Based on the contract some times it requires to pay back because S…
But the overprovisioned server might still be a lot cheaper than the cloud bill. It can be totally reasonable to have a server running at 1-5% load 98% of the time if you really need the capacity for the remaining 2%.
Also, neither "scaling up" as in "re-deploying the same setup on a beefier instance" nor "scaling out" as in "let's expand to the US and have a server there" is too difficult if the setup is automated (Ansible).
Re: I got pwned by my cloud costs
#575Earlier quoted context omitted.
There's an argument to be made for quality of life for your employees. As someone who has transitioned from on-prem server management to mainly cloud work, my job happiness has skyrocketed. I haven't set foot in a data center in three years and I do not miss it one bit. Dealing with hardware failures, hardware vendors, confusing licensing, having to know SKUs, racking new cabinets, swapping hard drives, patching serv…
This reads like a software engineer being happy work caters lunch so he/she didn’t have to cook for the whole team anymore. Didn’t anyone discuss maybe hiring a cook?
Re: I got pwned by my cloud costs
#576Earlier quoted context omitted.
There are two parts to this. You are correct that RDS doesn't help you with picking the index strategy, or optimizing queries. I don't see that as running the DB though, that is how you interact with it once its running. What it does do it help you reliably run the DB server itself. Without any effort you can stand up a redundant, high availability deployment. With all of the data encrypted at rest. And configure nig…
> Without any effort you can stand up a redundant, high availability deployment. Yes, it is seductive. Sometimes worth it. But realize you'll be paying monthly in perpetuity for the convenience of that one-time setup which could've been done a a few days, give or take. > all of those features cost us less than 8 hours of my time each year I'm surprised! Our RDS costs are about 10 engineering hours per month (120 eng/…
Re: I got pwned by my cloud costs
#577Earlier quoted context omitted.
> In a business setting, you want your service to stay up, at the cost of spike in costs if accidents or mistakes happen. No you don’t. This is absolutely not a given. Being a “business” doesn’t mean you suddenly have unlimited budget. The vast majority of businesses are not “web scale” and are better off taking an availability outage than suddenly handling 1,000,000x the normal volume of traffic.
I'd say that it definitely depends on the business. If you are selling you product via your web site and you're suddenly on TV with millions watching and accessing your site, you definitely don't want the server to go downand autoscaling + a bit higher cost would be great.
Re: I got pwned by my cloud costs
#578Earlier quoted context omitted.
You are not allowed to use Lightsail once you use more professional services on AWS atleast per ToS
Interesting. In this example where the parent comment discusses using a proxy from AWS to Linode/Hetzner to Cloudflare, then I'd go with someone in the Bandwidth Alliance, which would include Linode and Vultr.
Re: I got pwned by my cloud costs
#579Don't put Cloudflare in front of a Cloud egress bill. i.e. don't do this: Azure|Amazon > Cloudflare Always use your own proxy where the egress is well within your free tier, i.e. do this: Azure|Amazon > Hetzner|Linode > Cloudflare Why? Because Cloudflare cache is a massively multi-tenant LRU cache and whilst hot files will be cached well (and with Cloudflare Tiered Cache even better - but this itself is a cost) anyth…
Why not use the CDN of the cloud provider you are on? Azure Storage > Azure CDN
Re: I got pwned by my cloud costs
#580Don't put Cloudflare in front of a Cloud egress bill. i.e. don't do this: Azure|Amazon > Cloudflare Always use your own proxy where the egress is well within your free tier, i.e. do this: Azure|Amazon > Hetzner|Linode > Cloudflare Why? Because Cloudflare cache is a massively multi-tenant LRU cache and whilst hot files will be cached well (and with Cloudflare Tiered Cache even better - but this itself is a cost) anyth…
see https://blog.cloudflare.com/introducing-r2-object-storage/
From the Cloudflare blog, it seems R2 would've handled this exact situation - auto-migration of cloud S3-like-storage objects - download from cloud-storage just once and cache in R2 for Cloudflare to serve.