News for hackers. Stuff that matters.
Re:I got pwned by my cloud costs by lpcvoid on Monday January 24, 2022 @04:03AM (#30055054)
Can somebody explain to me why I wouldn't just rent a 40 EUR dedicated server from Hetzner with unlimited traffic and gigabit uplink? His 600GB/day is way less than what you get over a gigabit link within a day. Sure, sudden bursts would perhaps "throttle" at a gigabit, but according to his article that was only the cloudflare proxy anyhow, so no pain in having that take a few seconds longer.

As far as I am concerned, I just don't understand why people use cloud services.

Re:I got pwned by my cloud costs by technion on Monday January 24, 2022 @04:11AM (#30055100)
He is a Microsoft MVP. A title that is given for being a "community evangelist" of Microsoft. You wouldn't get that throwing it on a Heztner machine.

Edit: Consider this article, and Geoff's statement about Azure credits.

https://www.theregister.com/2021/04/21/microsoft_revokes_mvp...

Re:I got pwned by my cloud costs by fs111 on Monday January 24, 2022 @04:16AM (#30055133)
Sounds like a pretty expensive privilege.

How is using cloudflare okay in this then? Cloudflare is also not Azure

Re:I got pwned by my cloud costs by windexh8er on Monday January 24, 2022 @08:44AM (#30057472)
The simple answer here is that Troy was using Cloudflare to offset costs he knew he would incur with Azure. He states verbatim:

"Firstly, I always knew bandwidth on Azure was expensive and I should have been monitoring it better, particularly on the storage account serving the most data."

...and he didn't have simple monitors in place to alert him of uncommon billing spikes.

I get your point, if he's not OK with using Hetzner how is Cloudflare any better? It's not. But the reality is Cloud operations are a fine dance of weaving services together to realize all of the heavily advertised savings. I'd argue that a lot of Troy's projects that use all of the cloud native functions could have also been implemented on much more standard stacks and, likely, been just as cost and performance effective. But that's not going to get him the advertising for Microsoft.

Re:I got pwned by my cloud costs by bbarnett on Monday January 24, 2022 @09:00AM (#30057608)
There are no savings with cloud, weaving or not.

You want to waste money? Hire a car, with a driver, when you need it.

Want to save money. Learn to drive.

You always pay more for outsourcing stuff, a lot more, than doing it yourself.

You can buy 1000x the processing power, by buying baremetal. You can get 100,000x more bandwith for cost, when not using the cloud.

People think baremetal is hard. It isn't. It does take knowledge.

Re:I got pwned by my cloud costs by dylan604 on Monday January 24, 2022 @10:09AM (#30058518)
>You want to waste money? Hire a car, with a driver, when you need it.

> Want to save money. Learn to drive.

Oh please. As if learning to drive is the end of expenses. If you finance a car, you have monthly payments. If you don't, then you have periodic recurring maintenance bills. You always have fuel charges. You always have insurance charges. You periodically have parking charges.

I know how to drive, but do not own a car. From time to time, I hire a car, but it no where gets close to costing me the amount of owning a car would.

Re:I got pwned by my cloud costs by neffy on Monday January 24, 2022 @11:10AM (#30059444)
This is probably true in the states where it is insanely cheap to rent cars, but not necessarily everywhere. And even there...

... I run a junker. That is to say a car that will go the dump as soon as it requires any significant expenditure, and the combination saving of not having to finance it, and most years minimal or no repairs, and only needing third party insurance makes it significantly cheaper than renting.

Re:I got pwned by my cloud costs by jatone on Monday January 24, 2022 @11:30AM (#30059862)
depends on how frequently you need a car. I drive maybe 3 times a year. that's ~2k in gas/rent fees. that's less than insurance assuming each rental is for a week. never mind the cost of actually buying the car.

in practice I spend maybe 1k every year for cars. primarily for vacation. which owning a car wouldn't absolve me from spending.

Re:I got pwned by my cloud costs by minusf on Monday January 24, 2022 @10:26AM (#30058792)
very well put, i also rent cars because i rarely need them.

but i think where this analogy breaks down is that if i run a service, no matter how many users, peaky or not, at least 1 server always needs to be on, not "from time to time".

Re:I got pwned by my cloud costs by usrbinbash on Monday January 24, 2022 @10:00AM (#30058377)
> People think baremetal is hard. It isn't. It does take knowledge.

This.

I always wonder how much of the "clouds" success (economic, that is) would have materialized, if the marketing term never got traction, and everyone just called it what it really is: "renting someone elses hardware without physical access, and less, if any, control over how the stack works from the metal up".

In the good 'ol days, when people wanted to put a service online, they rented the racks at a colo, and either stuffed their own hardware in or, worst case, used rented hardware.

Did that require some basic familiarity with hardware? Yes it did. Did people need to know how to setup, configure and administrate a LAMP stack? Sure. Was it guarded against sudden loadspikes by god-knows-how-many layers of abstraction? Nope.

But it worked, and surprise, in 99% of cases, it was perfectly fine if a website ran at sub-optimal speed for a few hours, or went down every now and then.

And the dirty little secret is: It still does, and it still is.

Re:I got pwned by my cloud costs by abakker on Monday January 24, 2022 @10:10AM (#30058533)
No, no. The costs cloud saves are in staffing and opportunity costs. Everyone knows that it is more expensive than a comparable server, but...it is easy, standard, and available. If you want to a) not have real estate capex, b) not worry about the core ops part of your applications, and c) used to outsource infrastructure to a managed service provider anyway, then Cloud is a viable value prop. Plus, the more of the services you use, the more you app stack becomes "standard" parts with glue code. This is maybe an improvement at the large enterprise scale where home-built apps don't have a reputation for being future proof.
Re:I got pwned by my cloud costs by laurent92 on Monday January 24, 2022 @10:52AM (#30059138)
And better credibility when you say “Our vulnerability was on AWS and configuration is hard, but at least we had the default VPC config” rather than “We maintained our own stack and being sysadmin is hard, and the port was exposed on the web.”
Re:I got pwned by my cloud costs by Nextgrid on Monday January 24, 2022 @08:19PM (#30066624)
Modern cloud services such as S3 or let's say MongoDB seem to have a lot more security footguns than old-school bare-metal. An S3 bucket misconfiguration exposes your data to everyone even if there was never a reason for that data to ever be exposed to the outside world. On a bare-metal, chuck it in a directory outside your web root and someone will have to actually breach the server before they can steal the data.
Re:I got pwned by my cloud costs by usrbinbash on Monday January 24, 2022 @12:19PM (#30060704)
> but...it is easy, standard, and available.

So is a LAMP stack on a dedicated machine.

> Plus, the more of the services you use,

The thing is, most webapps don't use a lot of services. Backend-Logic in whateverlanguage, a database, and a webserver. Maybe hooked up to some CRM system. That's it for 99/100 webservices.

Yes, the services cloud providers offer are amazing, they are complex, and it is natural for developers to be fascinated by complex things (I know it is for me). But it's important to realize when simple is simply enough.

Re:I got pwned by my cloud costs by ryanjkirk on Monday January 24, 2022 @11:30AM (#30059861)
You're correct on staffing savings, but not on Ops savings.

I delved into this pretty thoroughly last month - https://medium.com/@rykrk/everything-is-just-build-vs-buy-d7...

Re:I got pwned by my cloud costs by dylan604 on Monday January 24, 2022 @10:14AM (#30058596)
Except in what minute of my day am I supposed to take off the hat I'm currently wearing to put on my IT Server Room hat? I don't have time to wrangle this stuff any more. I have multiple clients, I have side hustles, I have what's left of a social life after pandemic, I have family obligations. There are only so many hours in a day. If my time become more effecient by throwing a bit of money at the problem, then it is worth it to pay "experts" at something to relieve me of the burden.
Re:I got pwned by my cloud costs by 7steps2much on Monday January 24, 2022 @10:36AM (#30058905)
There is a difference between freelancers/one person companies and big cooperations though.

Honestly, the question you need to ask in regards to cloud is a relatively simple one: Can I hire a sysadmin for cheaper than using the cloud?

The answer to that, once you start using enough resources, is more often than not yes.

Sure, it takes a while to get to that point, but eventually you will reach break even and it would be cheaper to do it yourself/have your employee do it.

Re:I got pwned by my cloud costs by dylan604 on Monday January 24, 2022 @12:03PM (#30060454)
Yes, but these threads of "in house is cheaper than cloud" never qualify at what size company, at what revenue being generated, etc before their version of an answer is true.

I have been on both sides. Large media production companies with very large amounts of fast and redundant storage located on-prem. These range from local attached RAIDs to large shared SAN pools. Their clients also tend to be the types that sue the crap out of you if any of their content is seen by people outside their control. Switching to cloud solutions was (still is) a huge uphill battle. However, the cloud storage needs are no where near the same (not editing content from s3), but storing approved masters for distribution totally makes sense for cloud. Now that the content is in the cloud, why not perform actions on that content in the cloud. Faster deployment, better equipment, blah blah. Next thing you know your entire workflow past editorial is in the cloud. You start to analyze your expenses and compare them to on-prem amortized expenses and you see that it could be cheaper on-prem. Also, take into consideration how long it takes to bring up that new data center. You also have to look at bandwidth expenses. Bandwidth to a new site not directly on the backbone tends to be expensive for non-residential connections. The additional power expenses of that new equipment plus the cooling is also a new expense. Power redundancy you ask? $$$ Now, you need that sysadmin and possibly a small team. At that point, you go back to your cloud rep, and renegotiate fees. You have now created an entirely new department at your company on managing the on-prem.

Re:I got pwned by my cloud costs by chasd00 on Monday January 24, 2022 @12:22PM (#30060744)
even worse, i bet a lot are in the situation of "i have cloud AND i need to hire a system administrator".
Re:I got pwned by my cloud costs by dylan604 on Monday January 24, 2022 @01:37PM (#30061889)
this is something easily left out of discussions. it doesn't matter if the equipment is in the cloud or on-prem. someone still needs to be able to manage it all. whether they phsically install new hardware or push a button on a UI to bring up a new machine, it is still needed to be done and managed.
Re:I got pwned by my cloud costs by never_a-pickle on Monday January 24, 2022 @09:20AM (#30057852)
Re: Cloud. Not all cloud scenarios are the same. If the cost is amortized over a long time (theoretically infinite, well that's the plan) then the immediate convenience can outweigh the cost/opportunity cost. For example if you used Backblaze to backup one personal computer at the cost of $6/mo, if you have a lot of data that becomes a huge source of savings compared to managing the backups yourself. At that price the ROI versus other methods like building a trueNAS may not be within a decade, and I'd argue the storage enthusiasts have probably refreshed all their drives within that time and the ROI would never come even if Backblaze doubled their prices. What you do get is that self hosting becomes a hobby, and that's what I feel it is for most people.

Hiring a personal car is more expensive because you are hiring a personal employee.

That said, I still argue for personal autonomy alone learning to do the thing is better in general, but I don't think it's because it's cheaper in all scenarios. And to your point some or maybe even most cloud services are more expensive relative to their self hosted versions.

Re:I got pwned by my cloud costs by mbreese on Monday January 24, 2022 @09:25AM (#30057914)
There are savings, but they require work to realize.

Let's use your driving example (because car examples are always great!)...

>You want to waste money? Hire a car, with a driver, when you need it.

>Want to save money. Learn to drive.

This is true. You can save more money if you need to drive often if you own a car. But there are two scenarios that it still makes sense to rent.

1) What if you need a car in a different city? You just flew from JFK to SFO. You already have a car in NYC, but need one in SF. You're not going to buy a car in SF that you'll need to sell in a week. Sure, if you're going to be there longer, you might consider it, but then you're still carrying the costs of two cars.

2) Sometimes you need a truck. Maybe you have an IKEA run to make to get a bunch of desks, or stop at the hardware store for a few dozen bags of mulch, or ... But sometimes you just need a truck to get the job done. You could just buy a truck and be done with it. But trucks can be more expensive than a compact car, and they definitely have higher fuel costs. In this case, you'd probably be better off with a fuel efficient (or electric) compact car and rent a truck only when you need it.

This is how you save money with the cloud. But you definitely don't save money when you effectively rent a truck to drive to work everyday (even if you are in construction). There is a cost to renting -- it is more expensive on a per-use basis than it is if you buy. Cloud servers are more expensive than bare metal -- if you're constantly using them. It is only cheaper when you stop paying for the parts you don't need. And that also takes expertise.

Once, at a new job, I inherited a cloud server. It was costing us a ton of money per month and running 24/7 because the person who set it up never turned it off. After 3 months of those costs, they could have bought a new server with no other renting. They paid for a cloud server for three reasons: 1) they had no experience with hardware, 2) it was a pain to setup local hosting, and 3) it was faster to get running without waiting for a vendor to build a server, deliver it to the datacenter, etc... These were real impediments to the first person and the cloud server helped to get them moving. They just didn't have the longer term view of what their decision was going to cost in the long term.

The first thing I did was order a new server and make friends with our datacenter ops people. And now the only thing we really use the cloud for is archival (write-once, read-never) storage. If we ever really need these data, it will be super expensive. But, if that ends up happening, we'd be happy to pay the cloud tax.

Re:I got pwned by my cloud costs by dahfizz on Monday January 24, 2022 @10:04AM (#30058452)
> This is how you save money with the cloud. But you definitely don't save money when you effectively rent a truck to drive to work everyday

Isn't that exactly how companies use the cloud? Sure, there are contrived examples where the cloud is cheaper than self hosting. But the common case is that companies "use the cloud" by putting 100% of their infrastructure and hosted products in the cloud. That's what is meant when you say "X uses the cloud".

Re:I got pwned by my cloud costs by Clubber on Monday January 24, 2022 @09:35AM (#30058045)
I think you're taking his analogy further than he intended then are arguing against your version of his analogy.

Cloud was made for people who don't have the time, talent or desire to build and manage it in-house. You pay a premium for that convenience and that premium scales with your business growth via IT resource needs. I think that's what he was getting at in his analogy.

Re:I got pwned by my cloud costs by mugsie on Monday January 24, 2022 @09:37AM (#30058074)
sure - but then also think about the use case - he is using a storage account, which means that inclusive in the cost is

a - replication (within region / AZ at least) b - 0 software to maintain (no need to frantically patch apache / SSL / whatever) c - super quick set up / management / logs / etc

So, yes, bare metal is (on a cpu cycle to cpu cycle / GB RAM/HDD/Bandwidth) level cheaper, but TCO can be waaaaaayyy higher.

Re:I got pwned by my cloud costs by ryanjkirk on Monday January 24, 2022 @11:45AM (#30060133)
Yes, TCO can be higher, depending where you are on the curve of capex, amortization, and staffing costs. Don't forget you still need at least Developers, DevOps, and Security. If you're inefficient at cloud, spinning up ec2s left and right, using a lot of egress, storing a lot of hot/live data, your total cost is much higher, and will easily be more than the salary of that one sysadmin, or team of systems engineers, you would pay to maintain the colo space.

You have to do a lot of things right to get that Cloud Value, as the author of this blog post has shown. You have to do a lot of things right to get value out of on-prem bare metal as well, but those things are generally well-known, standardized, have less moving parts, and people with decades of experience and knowledge of best practices. The opposite of the current cloud landscape.

TCO is not a straight line.

Re:I got pwned by my cloud costs by phkahler on Monday January 24, 2022 @11:21AM (#30059663)
It's the "weaving" part that has non-specific cost. If you have skill at weaving together pieces of the cloud in an optimal way, you can save money. Just like if you have skill in putting together your own infrastructure you can save money. I can see spending money on services, but I don't understand why people invest brain capacity on vendor-specific solutions.
Re:I got pwned by my cloud costs by Nextgrid on Monday January 24, 2022 @08:21PM (#30066645)
How much extra time & development effort does it take to weave the services the right way to realize those savings, as opposed to doing it the simpler, old-school way on bare-metal?

In my bare-metal-hosted projects I can afford to do a lot of things that would be a major no-no in the cloud because I have so much hardware resources I can save development time doing things inefficiently and still come out ahead in terms of costs.

Re:I got pwned by my cloud costs by StefanKarpinski on Monday January 24, 2022 @11:53AM (#30060260)
This is such a bad and US-centric example: for anyone who lives in a place where it is easy to get around without a car, hiring a car only when you need it is a no-brainer financially and owning a car is a totally waste of money.
Re:I got pwned by my cloud costs by bo1024 on Monday January 24, 2022 @10:03AM (#30058428)
No, there are economies of scale. For $5/month I can get. dedicated IP address in the cloud. For me to get one myself I’d probably have to buy real estate somewhere just for starters.
Re:I got pwned by my cloud costs by l30n4da5 on Monday January 24, 2022 @10:05AM (#30058473)
> The simple answer here is that Troy was using Cloudflare to offset costs he knew he would incur with Azure.

I haven't checked, but are the prices for Azure CDN relatively competitive with Cloudflare? I think you'd probably get similar savings going that route, and it would all be Azure.

Re:I got pwned by my cloud costs by patrec on Monday January 24, 2022 @07:00AM (#30056565)
> Sounds like a pretty expensive privilege.

I'd be suprised if his Microsoft Regional Director and MVP status isn't worth much more than 4 figures to him.

Those seeking to initiate engagements with Troy might care more about the fact that he pops up on HN and other high profile tech outlets frequently and the visibility of Have I Been Pwned, but the Regional Director status probably helps a lot with getting some of these engagements signed off.

He probably also receives significant subsidies from Microsoft as well.

Re:I got pwned by my cloud costs by NicoJuicy on Monday January 24, 2022 @06:16AM (#30056137)
Cloudflare is a partner of Azure ( or vice versa).

= Azure has an integration to use cloudflare for the cdn.

https://www.cloudflare.com/multi-cloud/azure/

Re:I got pwned by my cloud costs by ketanip on Monday January 24, 2022 @10:47AM (#30059064)
Cloudflare Bandwidth Alliance.
Re:I got pwned by my cloud costs by dachryn on Monday January 24, 2022 @05:13AM (#30055612)
Azure is integrated with Cloudflare, if you chose to do so.

They also offer Azure CDN, as a competing product. But I don't know if anybody takes it serious or not

Re:I got pwned by my cloud costs by nunez on Monday January 24, 2022 @10:18AM (#30058656)
Azure CDN is fronted by Akamai; lots of retailers use it, but it's not as big as cloudfront afaik
Re:I got pwned by my cloud costs by jaywalk on Monday January 24, 2022 @11:06AM (#30059356)
There's also Verizon and Microsoft's own CDN. Personally, I use Verizon because Akamai doesn't support wildcard purge.
Re:I got pwned by my cloud costs by Hamuko on Monday January 24, 2022 @04:34AM (#30055269)
>Sounds like a pretty expensive privilege.

Well, it might also come with contacts in the billing department.

Re:I got pwned by my cloud costs by jsiepkes on Monday January 24, 2022 @04:40AM (#30055311)
Apparantly you also get 13K a year in credits (mentioned in the article):

> I'm going to miss the $13,000 USD (yes) a year in free azure credits. Just remember this amount of money when you are reading content about "how good azure is" and "what the latest and greatest is" from influencers and community leaders here on social media...

Re:I got pwned by my cloud costs by FpUser on Monday January 24, 2022 @09:30AM (#30057974)
The company I know got $200K in credits as their sweet initial deal. They were fully intent to stay inside that limit or close to it.

Next thing I see them being slapped with $700K bill and managers running like headless chickens all over development floor and yelling to turn off every VM, hard drive, database / whatever either resources.

Re:I got pwned by my cloud costs by rcarmo on Monday January 24, 2022 @04:25AM (#30055216)
There are plenty of people using both, it's a good combination.
Re:I got pwned by my cloud costs by dewey on Monday January 24, 2022 @04:40AM (#30055305)
The point is about Cloudflare not being from Microsoft / Azure which is the company he's evangelising for.
Re:I got pwned by my cloud costs by stavros on Monday January 24, 2022 @04:45AM (#30055351)
But you can't use CloudFlare instead of Azure, so it's within scope for him.
Re:I got pwned by my cloud costs by gwd on Monday January 24, 2022 @05:01AM (#30055502)
And moreover, from what it sounds like, you can't use Azure without Cloudflare either (unless you have a lot of cash you want to burn). Microsoft will get a lot more business from someone advertising their "Azure with Cloudflare" setup than they will from someone advertising their "Azure without Cloudflare" setup.

(Edit: fix spelling)

Re:I got pwned by my cloud costs by rwmj on Monday January 24, 2022 @06:59AM (#30056546)
Presumably MSFT don't have a competing product. It's like asking why he's hosting it on Intel processors.
Re:I got pwned by my cloud costs by csours on Monday January 24, 2022 @04:43AM (#30055338)
I don't think Azure offers a Cloudflare alternative, and I'm not sure they ever would - Cloudflare is too good and too cheap to compete against.
Re:I got pwned by my cloud costs by audiometry on Monday January 24, 2022 @04:45AM (#30055358)
It's not that good. I'm constantly getting "Access Blocked" to various websites by Cloudflare trying to protect them....from me reading them.
Re:I got pwned by my cloud costs by capableweb on Monday January 24, 2022 @06:16AM (#30056143)
From the operators point of view, Cloudflare is cheap and often used when you don't understand that "premium bandwidth" or whatever they call it these days, are just bandwidth you pay way too much for.

From the users point of view, Cloudflare will frequently stop you from accessing things and introduces more single points of failure in the internet infrastructure. But on the good side, they have pretty good edge endpoints so your browsing might be a bit faster, when they allow you to browse.

Re:I got pwned by my cloud costs by can16358p on Monday January 24, 2022 @06:58AM (#30056539)
Same here. I live in Turkey and Cloudflare just block many websites' access from here. I can't access some sites just because I'm from an IP range from Turkey. I can jump onto my VPN, but still, not convenient.
Re:I got pwned by my cloud costs by sumedh on Monday January 24, 2022 @07:15AM (#30056715)
Some websites configure their own rules in CF to block traffic from certain countries.
Re:I got pwned by my cloud costs by marcosdumay on Monday January 24, 2022 @12:26PM (#30060821)
I don't get the "Access Blocked" often, what I do get is the "We are verifying your browser" page that often just keeps looping there and completely block my access.
Re:I got pwned by my cloud costs by yetihehe on Monday January 24, 2022 @06:12AM (#30056112)
I never do. Maybe you or something on your computer or network is the problem?
Re:I got pwned by my cloud costs by capableweb on Monday January 24, 2022 @06:18AM (#30056150)
Usually it's because they live in a different country than what people consider the "Western World" or something like that. When I'm in Europe, I don't see that page very often, unless in Eastern Europe. But if I'm in Asia, Africa or Central/South America, then I encounter that page all the time.
Re:I got pwned by my cloud costs by Godel_unicode on Monday January 24, 2022 @11:40AM (#30060047)
Fwiw, this is an option that many people configure for themselves in cloudflare. Some security people love recommending using IP geo-blocking as a good tactic for hardening systems.
Re:I got pwned by my cloud costs by can16358p on Monday January 24, 2022 @06:59AM (#30056547)
Nope. Just being in some country (in my case Turkey) is perfectly enought to be geoblocked.
Re:I got pwned by my cloud costs by raxxorrax on Monday January 24, 2022 @06:48AM (#30056438)
If you configured your client to hide enough information, Cloudflare tends to believe you are a threat. VPN users probably have that problem a lot more.
Re:I got pwned by my cloud costs by can16358p on Monday January 24, 2022 @07:00AM (#30056561)
You don't have to hide any information. I don't hide any information and still get blocked because of the country I reside in.
Re:I got pwned by my cloud costs by jtbayly on Monday January 24, 2022 @08:29AM (#30057327)
Yeah, but even if you’re in an “acceptable” country you get blocked if you care about privacy. The point is that CF often blocks people.
Re:I got pwned by my cloud costs by zelphirkalt on Monday January 24, 2022 @07:01AM (#30056581)
And so Cloudflare becomes an enemy of privacy?
Re:I got pwned by my cloud costs by humpydumpy on Monday January 24, 2022 @09:36AM (#30058065)
exactly. I care about privacy, and I do see that page often. Sometimes it helps to send a non-empty useragent string, or to enable javascript. Most of the time I just close the tab.
Re:I got pwned by my cloud costs by pdimitar on Monday January 24, 2022 @09:24AM (#30057899)
Grooming influential people to promote your corp and then bullying them when they didn't turn out to be just parroting your marketing slogans. Classic corporations.
Re:I got pwned by my cloud costs by kingcharles on Monday January 24, 2022 @11:37AM (#30059994)
Huh. As an MVP myself (of DRM lol) I have to agree that was a poor astroturfing idea of Microsoft's. Although one employee != Microsoft. In all my MVP years Microsoft has never asked me to do anything like that. They've sent me to cool parties and events, but never asked for me to do anything as a result.
Re:I got pwned by my cloud costs by nunez on Monday January 24, 2022 @10:05AM (#30058467)
Lol I KNEW IT! An independent consultant blogging about awesome things in Azure? #doubt

Seriously, yeah, if he's an MVP, he'll be fine.

[dead]
Re:I got pwned by my cloud costs by elorant on Monday January 24, 2022 @04:33AM (#30055265)
MVP can mean a lot of things depending on the context. In this case it means Most Valuable Professional.
[dead]
Re:I got pwned by my cloud costs by viraptor on Monday January 24, 2022 @06:29AM (#30056242)
That's really extreme. How about: Keep in mind that any review may be paid for? FWIW, he complained a lot about Ubiquiti issues on his podcast, so it's not like he can't say bad things about them. (as in half an episode about the controller dropping his configuration or something like that)

> selling on stolen password data [...] that he will never talk about

How do you know about it then? That's really a [citation needed] quote.

[dead]
Re:I got pwned by my cloud costs by viraptor on Monday January 24, 2022 @06:53AM (#30056491)
I was quoting you. But I'm sure you could figure out the meaning anyway: what's the source for that information that you claim he keeps a secret.

Partially it even works the other way - FBI and others are feeding data into hibp https://www.troyhunt.com/open-source-pwned-passwords-with-fb...

Re:I got pwned by my cloud costs by southerntofu on Monday January 24, 2022 @06:55AM (#30056506)
Just did the calc and 600GB/day is about 55Mbit/s. That's really not a lot and if there's not too much computation server-side you could serve this from a raspberry pi at home (provided you have good uplink). But that's assuming you keep the CloudFlare cache of course, or as author mentioned himself, advertising only torrents for the multi-gig files.

I really don't understand the cloud craze. Everything is more complex to debug, more expensive, and more shitty in all the possible ways you can imagine. I mean i was not exactly a fan of the VPS craze 10-15 years ago, but at least it wouldn't automatically ruin your bank account whenever you got a little traffic.

Kudos to the author for having so much money (thousands in one month?!) to waste. I wish i did too :)

Re:I got pwned by my cloud costs by brodouevencode on Monday January 24, 2022 @08:20AM (#30057242)
> Everything is more complex to debug, more expensive, and more shitty in all the possible ways you can imagine.

Coming from traditional infrastructure and development methods, you're mostly right. Part of the expectation of the cloud is that you do things _their way_. And even then each cloud provider does things a little differently. However, if you're willing to subscribe to the <insert provider> way of doing things it (and you'll have to trust me here) makes many things easier. Here's a short list:

* networking setup is free/cheap/doesn't require a Cisco cert. you can trust a developer to set things up.

* object storage is so much easier than any file hosting scheme you can come up with

* the path from container-on-a-host to container-in-a-cluster to container-in-{serverless,k8s} is extremely straightforward

* I turn all my dev/test servers off at night and they don't cost me a thing

* consumption based compute will result in a much cheaper solution than a VPS or colo (admittedly there are many assumptions baked into this)

* some core services (like sqs, sns on Amazon) are extremely cheap and have provably reduced development time because you're not having to build these abstractions yourself.

This all being said I'm not advocating an all-in approach without thinking it through, but to do so where it's easy and makes sense.

EDIT: clarity

Re:I got pwned by my cloud costs by api on Monday January 24, 2022 @09:18AM (#30057829)
> networking setup is free/cheap/doesn't require a Cisco cert. you can trust a developer to set things up.

Bare metal hosts set up the network for you. You may need to know how to configure a local network interface. Even if you actually rack and stack many colos will give you a drop with network set up. You don't need to do what you describe unless you are building your own DC.

> object storage is so much easier than any file hosting scheme you can come up with

That matters if your data volume is truly massive. Only a small percentage have this problem. Also AWS inbound is free so you could upload big data to AWS and warehouse it there if you wanted. Not using big cloud for everything doesn't mean you can't use it for anything.

> the path from container-on-a-host to container-in-a-cluster to container-in-{serverless,k8s} is extremely straightforward

This is the one spot where admittedly you will have to spend more in administration. You'll need to either run your own k8s or Nomad or adopt a different configuration, and you may have to think about it a bit more.

> I turn all my dev/test servers off at night and they don't cost me a thing

You could still do this. Just host live somewhere else. You could also test on a local VM, which is what we do. Obviously that depends on how big your app is.

> consumption based compute will result in a much cheaper solution than a VPS or colo (admittedly there are many assumptions baked into this)

You only see the savings if they are passed onto you. What we've seen is that Moore's Law savings have not been passed on by cloud providers. Look at what you can get at a bare metal host compared to how much the same compute costs in cloud. Years ago the difference would not have been so large.

Bandwidth costs in cloud are insane, and most use asymmetric pricing where inbound bandwidth is free. This is known as "roach motel pricing" for a reason. Data goes in, but it doesn't come out.

> some core services (like sqs, sns on Amazon) are extremely cheap and have provably reduced development time because you're not having to build these abstractions yourself.

Fair, but they make their money back elsewhere. Those are lures to get you locked in so you now have to pay their crazy compute and bandwidth egress charges.

Here's an example. There are more.

https://www.datapacket.com

Re:I got pwned by my cloud costs by pdimitar on Monday January 24, 2022 @10:06AM (#30058479)
Haven't even heard of DataPacket, thanks for the link!

And yeah I agree about the "some services are super low cost so you get hooked" thing. Always been my impression of Amazon: they look for what they can apply scale savings on (usually object storage, it seems) and make it cheap and then over-charge for almost everything else.

Re:I got pwned by my cloud costs by jollybean on Monday January 24, 2022 @10:53AM (#30059148)
That's not really it.

The funny business in Amazon's pricing is their Egress Bandwidth, everything is rational.

You're looking at the pricing from a 'cost plus' perspective which is not generally how things are priced.

AWS core use case is IT departments being able to offload all of their infra.

It's a massive, massive advantage. It's so, so much easier and more flexible to use AWS that there is no comparison. It's a 'no brainer' from a cost perspective, which is why, cost usually isn't a barrier with AWS.

Cost only becomes a primary issue when the margin of AWS services is reflected in the cost of the product itself, i.e. when you are hosting a lot of content.

So if you are Phizer, and your IT department uses AWS, the cost is irrelevant.

If you are Dropbox, selling storage for $X/Gigabyte, and your competitors are reducing their prices and you're giving all of your margin to AWS, then you have to do something, i.e. 'make your own infra'.

Re:I got pwned by my cloud costs by pdimitar on Monday January 24, 2022 @01:33PM (#30061834)
I mean OK but I've been in big corps and they end up hiring a ton of DevOps that basically specialize in AWS.

Is that still cheaper? When you have 30+ very well-paid dedicated DevOps specialists? Maybe it is, I am just skeptical while looking at it as an outsider and without solid data.

Re:I got pwned by my cloud costs by api on Monday January 24, 2022 @10:26AM (#30058784)
AWS is the new Oracle.
Re:I got pwned by my cloud costs by ketanip on Monday January 24, 2022 @10:50AM (#30059116)
Datapacket shows Discord on their customer list, I didn't know discord used VPS / Bare Metal or is it like they just tried it once and Datapacket struck their name to their landing page ?
Re:I got pwned by my cloud costs by mwcampbell on Monday January 24, 2022 @04:35PM (#30064385)
Have you used DataPacket? If so, how's their uptime? Do they have any sort of automated failover so your service doesn't go down if something happens to a single box or rack?
Re:I got pwned by my cloud costs by api on Monday January 24, 2022 @08:26PM (#30066674)
ZeroTier has stuff at DataPacket. It never goes down. We've had 1 year plus uptimes and the network is rock solid.
Re:I got pwned by my cloud costs by Nextgrid on Monday January 24, 2022 @08:25PM (#30066668)
> I turn all my dev/test servers off at night and they don't cost me a thing

I bet it still costs you more than my Hetzner one despite me not having to care about turning it on or off. I mean it's great that the cloud gives you this flexibility but you wouldn't need it to begin with if it wasn't so expensive.

Re:I got pwned by my cloud costs by Spooky23 on Monday January 24, 2022 @08:12AM (#30057148)
When you are growing, it’s a no brainer. When you are at steady state it depends.

As a case in point, I worked in standing up a critical system in a large enterprise a few years ago. We spent about $12M on compute, storage, networking, etc. At operational state, it was about 40% cheaper than AWS. The problem is, it all sat there for 6-18 months filling up before we fully hit that state.

With a cloud provider, you pay a high unit cost but if you engineer intelligently your costs should move with utilization. Except for government, most entities generally want to see opex move with revenue and prefer to minimize capex where possible.

Re:I got pwned by my cloud costs by Symbiote on Monday January 24, 2022 @11:01AM (#30059287)
You're an order of magnitude larger than what I work on, but on our last big project we purchased and installed half in the first year, then the remaining half 18 months later.
Re:I got pwned by my cloud costs by Spooky23 on Monday January 24, 2022 @11:56AM (#30060316)
Keep in mind that size tends to lower intelligence! ;)
Re:I got pwned by my cloud costs by SkipperCat on Monday January 24, 2022 @07:43AM (#30056932)
The cloud is great for scaling. The lead time for new servers deployed in a data center is weeks compared to seconds in the cloud. Plus there's no sunk cost in the cloud - you can turn it off when done and it evaporates.

Also, the cloud offers managed software as a service. You don't have to manage your own HA DB cluster or PubSub. It's all just there and it works. That can save you a lot on technical labor costs.

But yes, I do agree with your point. If you don't know what you're doing, you can nuke your budget super quick.

Re:I got pwned by my cloud costs by olavgg on Monday January 24, 2022 @08:40AM (#30057423)
The cloud is great for scaling indeed, but a cheap Intel V4 server with 44 cores from Ebay for $2000 can handle a shit ton of traffic too.

If I were building a new business, I would use both cloud and colo. But I do understand that everyone don't have that luxury.

Re:I got pwned by my cloud costs by immibis on Monday January 24, 2022 @07:49AM (#30056980)
The technical ability to scale is a bit meaningless if you can't afford it.
Re:I got pwned by my cloud costs by alexpotato on Monday January 24, 2022 @08:24AM (#30057275)
Then that becomes part of your business + technology planning conversations:

"This is the cost of scaling, this is the cost of owning our own infra, how does that fit into our budgeting and requirements?"

Re:I got pwned by my cloud costs by eropple on Monday January 24, 2022 @10:26AM (#30058780)
"If you can't afford it" is doing a lot of assuming and a lot of heavy lifting in that statement. Whether or not you can afford it depends strongly on your scaling bounds (how much you need to scale) and how you've chosen to implement it.

There are plenty of tools and systems that can present a sufficiently linear cost relationship to load and usage that, should your COGS versus revenue make sense, the marginal cost of increased cloud resources a no-brainer--especially versus always-paid-for hardware. If you don't have such a linear relationship you're as much in the position of deciding whether the project is viable as you are anything else.

Re:I got pwned by my cloud costs by carlivar on Monday January 24, 2022 @09:09AM (#30057700)
If you have a large environment to build in a certain region, the cloud lead time is months also. We have to give our cloud provider months notice before building in a region. But we have a pretty serious and profitable workload. Your statement is correct for the 90% of companies with relatively small infrastructure needs.
Re:I got pwned by my cloud costs by Nextgrid on Monday January 24, 2022 @08:28PM (#30066691)
> The lead time for new servers deployed in a data center is weeks compared to seconds in the cloud.

The lead time for Hetzner or OVH is measured in minutes and is appropriate for the majority of use cases. Old-school providers like these used to run the entire internet before the cloud craze started.

Colocation & own datacenter is not a good choice for most startups. Seems like a lot of people here miss a step and only go from one extreme to the other. There's a middle-ground of renting bare-metal that gives you amazing price/performance with none of the drawbacks of colocation or running your own DC.

Re:I got pwned by my cloud costs by moreira on Monday January 24, 2022 @08:34AM (#30057368)
> If you don't know what you're doing, you can nuke your budget super quick.

And even if you do, which I think you’ll agree Troy Hunt does.

Re:I got pwned by my cloud costs by jollybean on Monday January 24, 2022 @10:49AM (#30059088)
"I really don't understand the cloud craze"

The opposite, I don't understand why anyone would ever put up a server if they didn't have to.

It's not 'processing power' that's going to be the 'big cost' for most projects.

It's headcount and salary.

If you can materially improve the operating ability of your company, then a few $K in cloud fees is dirt cheap.

I used to work at a 'tech company' that made a physical product and our IT was abysmal. We had to wait weeks for our sysadmins to order blades, get things set up, there were outages etc..

If a project is definitely going to be 'a few linux servers and never more' - even then it would be cheaper and more reasonable to use virtual instances.

The time to 'roll your own' is when the infra. operating costs are a material part of your business.

For example, 'Dropbox' invariably had to roll their own infra, that was inevitable.

Similarly others.

That said - as this article indicates, it's easy to 'over do it' and end up in ridiculous amounts of complexity.

The Amazon IAM security model has always been bizarre and confusing, and the number of AWS services is mind-boggling.

But the core case of EC2+S3 +Networking, and then maybe a couple of other enhanced services for special case works fine.

I also object to what I think is a vast overuse of Cloudflare, I just don't believe that in most scenarios needing to have content at the edge really changes the experience that much.

Re:I got pwned by my cloud costs by Nextgrid on Monday January 24, 2022 @08:29PM (#30066697)
> It's headcount and salary.

This only really applies to fully-managed services such as Heroku. Every other cloud still needs a DevOps person according to my experience in many companies.

Re:I got pwned by my cloud costs by jollybean on Tuesday January 25, 2022 @01:52PM (#30076191)
Yes, but one cloud devops can do what 10x what sysadmins, hardware and network engineers can do.

Just security alone, in terms of managing access to all of those resources, various forms of backup, across regions ... it's just out of reach for most organizations.

Re:I got pwned by my cloud costs by sockpuppet69 on Monday January 24, 2022 @09:44AM (#30058147)
> 600GB/day is about 55Mbit/s

In what universe? This frictionless perfect vacuum where traffic comes in a wholly predictable consistent continuum?

Re:I got pwned by my cloud costs by southerntofu on Tuesday January 25, 2022 @02:13PM (#30076534)
Good point, it's just an average. And to be fair i checked the numbers in the article it seemed closer to 3.2TB/day which is closer to 300Mbit/s. But what i meant is a home fiber connection can deal with that. Although consumer ISPs don't have good bandwidth over all routes (it's good to Youtube/Amazon but ridiculously slow to some other consumer ISPs). If you don't want to serve from home, i'm sure many entities would be happy to donate disk space and bandwidth to help a project like this, setting up a mirror list like we have for distro repositories.

Also, we may be taking the problem the wrong way around: do these multigig files need to be accessed by everyone from a web browser? No, it's a dump file used by specific people in specific circumstances. Then why are we using HTTP for this in the first place? In this case, only publishing over Bittorrent/IPFS makes sense and many people will happily seed, pushing costs toward 0 for the publisher (and very close to 0 if you only push to a first circle of mirrors who can then push to more mirrors, some of which can be declared webseeds in your torrent).

Re:I got pwned by my cloud costs by oblio on Monday January 24, 2022 @08:23AM (#30057265)
You're not the target audience.

Startups growing fast are the secondary audience.

The primary audience is large enterprises where their internal IT costs <<more>> than the cloud costs. Plus internal IT provides those resources after 6 months...

Re:I got pwned by my cloud costs by Retric on Monday January 24, 2022 @07:58AM (#30057042)
Most people that use cloud computing aren’t stuck with the bills the companies they work for are.

As to difficulty, they “solve” organizational problems by avoiding sticker shock when someone wants 100+k in equip that’s often a huge number of hoops to jump through and possibly months of delays, a giant bill every month and nobody a complains about the electric bill etc.

Re:I got pwned by my cloud costs by chasd00 on Monday January 24, 2022 @12:51PM (#30061194)
> Most people that use cloud computing aren’t stuck with the bills the companies they work for are.

you can rest assured that even the largest company will come looking for the person responsible for increasing an expense by that large of a percentage. So maybe it doesn't come out of your personal checking account but you will certainly pay for it.

Re:I got pwned by my cloud costs by Retric on Monday January 24, 2022 @01:28PM (#30061754)
That’s assuming it’s a large increase in the bill for no reason.

It’s easy to justify having a larger bill with more traffic. “A retail store isn’t going to complain that they need to buy more stock after selling more stuff that’s just a cost of doing business.” Meanwhile it can be hard to justify a capital expenditure just because traffic increased.

Re:I got pwned by my cloud costs by rr808 on Monday January 24, 2022 @10:39AM (#30058945)
> 600GB/day is about 55Mbit/s. not really it was minimal traffic then sudden bursts of gigabytes. Of course throttling the big spikes would actually have been a good idea in hindsight to give an early warning.
Re:I got pwned by my cloud costs by TheIronMark on Monday January 24, 2022 @11:04AM (#30059333)
> but at least it wouldn't automatically ruin your bank account whenever you got a little traffic.

This only happens when consumers fail to set budget alerts. Troy could have saved himself $10k with 15min worth of work.

Re:I got pwned by my cloud costs by hnbad on Monday January 24, 2022 @04:32AM (#30055257)
I think it is an irresponsible fad that people use cloud services for hobby projects (and despite its wide popularity I'm calling HIBP a hobby project since he's running it on the side for free) unless they have solid cloud ops experience from their day job.

Cloud providers love it when people do this and are famously easy to talk to when you get an unexpected invoice high enough to require remortgaging your house to even begin addressing it, but I think unless you're working on a side hustle that inherently will need to run in the cloud regardless of scale or are experimenting with cloud technologies in an explicitly time boxed toy project, using cloud services is the financial equivalent of handing a hobbyist craftsperson one of these chainsaw angle grinder attachments that even professionals find hard to keep from bouncing into your body.

If you do want to use cloud services for anything you pay out of your own pocket, the first consideration should be cost management and monitoring. Your employer might have big enough pockets to shrug off a runaway compute instance you forgot about for a month, but that can quickly translate into money that can be anything from inconvenient to life altering if it comes out of your personal budget.

Or just stick with the free tier and make sure everything simply shuts down if you run out. Sure, a "bandwidth exceeded" error page might not get you as many upvotes on HN, Reddit or social media, but it also won't impair your finances.

Re:I got pwned by my cloud costs by pcthrowaway on Monday January 24, 2022 @06:59AM (#30056544)
I don't know what the alternative is. Run a home server and pay an ISP $$$ for unusually high upload bandwidth/throughput? 99/100 times running it in the cloud is going to be cheaper, easier, and more resilient.

Of course, the delayed sticker shock is a problem.. I think Google cloud actually lets you create a budget that turns services off if they go over, so there's a solution here if you run a hobby project that you suspect might take off and cost you more than it's worth.

Re:I got pwned by my cloud costs by marcan_42 on Monday January 24, 2022 @07:30AM (#30056832)
I've variously paid $5-$30 a month for a VPS/dedicated server to host all my random side projects over almost two decades, including websites for other people, email, etc; there's probably two dozen or more sites running on my Hetzner dedicated server, with storage and CPU and RAM to more than spare. And not once had to worry about extra fees or weird billing issues. Bandwidth has grown from 100Mbps to 1Gbps and I've never had traffic issues.
Re:I got pwned by my cloud costs by pcthrowaway on Monday January 24, 2022 @07:33AM (#30056854)
And this is a cloud service is it not?
Re:I got pwned by my cloud costs by marcan_42 on Monday January 24, 2022 @07:34AM (#30056861)
A dedicated server isn't usually considered a "cloud" service. It's a physical server allocated to you, with unmetered bandwidth and local disk.
Re:I got pwned by my cloud costs by pcthrowaway on Monday January 24, 2022 @08:06AM (#30057095)
Where do you get bare metal servers for that cheap? I assumed by VPS you were talking about a VM
Re:I got pwned by my cloud costs by marcan_42 on Monday January 24, 2022 @08:50AM (#30057517)
The VPS was a VM, but I moved from that to dedicated a long time ago.

Hetzner has nice dedicated servers for €33/mo:

https://www.hetzner.com/sb

I'm on an older one that just got bumped up to €29/mo due to increasing electricity prices; it was €21/mo until now, and I can't blame them for that one. The specs are E3-1245 V2 / 16GB / 2x3T, there's over 45 vhosts on it across ~25 wwwroots plus other random services, and CPU usage is basically nothing. The cores are really there just to handle bursty stuff. Most random side projects and small websites don't need almost any resources on modern hardware.

Previously I was on a Scaleway Dedibox, which go as low as €15/mo right now. It was €10 at one point even.

https://www.scaleway.com/en/dedibox/start/start-2-s-sata/

Re:I got pwned by my cloud costs by TacticalCoder on Monday January 24, 2022 @09:13AM (#30057754)
> and pay an ISP $$$ for unusually high upload bandwidth/throughput?

But the ISPs I know do not bill $$$ if you use the max bandwidth (max bandwith they did advertize to you btw) for a sustained amount of time: they'll just start throttling you.

Anyway GP ain't asking about "cloud vs hosting at home" but about "cloud vs dedicated server(s)".

Re:I got pwned by my cloud costs by papito on Monday January 24, 2022 @07:13AM (#30056689)
My cloud costs for my micro instance are about $12 a month. Multiple domains on there. I don't use RDS, ElasticCache, not even load balancers. If you want to keep the costs reasonable, you must roll that stuff on your own, which is totally possible (and free), and in fact kind of fun as a learning experience.
Re:I got pwned by my cloud costs by bennyp101 on Monday January 24, 2022 @04:18AM (#30055149)
Because it's not cool, and won't make your CV sparkle.

I'm sure there becomes a point where cost of (hardware + maintenance + staffing) > (cloud + staffing), in which case sure crack on. But like you, I'll stick to a rented server for my stuff.

Re:I got pwned by my cloud costs by omegalulw on Monday January 24, 2022 @04:45AM (#30055355)
The direction is opposite IMO. As you grow bigger on prem starts making a lot more sense.
Re:I got pwned by my cloud costs by adrianN on Monday January 24, 2022 @05:33AM (#30055790)
There is a size where on prem would be much cheaper on paper, but internal red tape for access to internal resources is such that teams are unnecessarily slowed down. For example I once worked at a place where it took several months to get an additional on-prem box to speed up our CI pipeline. Of course you can also add that amount of red tape to a cloud solution, but in my experience it's easier to get approval for an additional EC2 box.
Re:I got pwned by my cloud costs by Aeolun on Monday January 24, 2022 @06:07AM (#30056075)
We used to have an internal (and external) cloudfoundry instance. That was pretty nice as far as on-prem deployment options.

It’s just a shame they were permanently out of database servers with SSD storage, and for some reason couldn’t provision more for over a year.

Re:I got pwned by my cloud costs by carlivar on Monday January 24, 2022 @09:12AM (#30057746)
Yes, this is the awkward phase of on-prem. Some companies stay there forever. Good companies will continue innovating and treat the time to resolution of your request as a KPI to reduce down to days, minutes, or even seconds.
Re:I got pwned by my cloud costs by Symbiote on Monday January 24, 2022 @07:44AM (#30056939)
On-prem and AWS/GCS/Azure aren't the only options.

There are smaller cloud providers, rented VMs, rented dedicated servers and rented colocation space.

Re:I got pwned by my cloud costs by oblio on Monday January 24, 2022 @08:24AM (#30057273)
For larger companies, frequently they are. You need to use already approved vendors.
Re:I got pwned by my cloud costs by octoberfranklin on Monday January 24, 2022 @05:00AM (#30055485)
I think the case is for big companies that have a hard time attracting IT talent. Like, not in an even remotely IT-related industry, and their headquarters is in a city with no significant tech community. Places that scream "working here will not improve your resume".

I'm a major cloud skeptic, but there's a certain class of giant enterprisey companies that are never going to be able to attract good IT talent, and if they "just throw money" at the hiring problem they'll be innundated with slick imposters.

I think cloudy stuff lets those companies outsource a large chunk of something they'll never be good at. The cavalcade of Microsoft/Cisco certifications were an earlier decade's attempt at solving the same problem.

Re:I got pwned by my cloud costs by dx034 on Monday January 24, 2022 @05:19AM (#30055660)
I believe renting dedicated servers is often overlooked. You pay someone else to install hardware, ensure network connections and be on-site for hardware swaps etc but still have the maximum degree of flexibility.

Even larger companies can work well with that model, traffic also tends to be cheap enough that you can spread across different vendors to avoid lock-in. And in that case, your sysadmins can sit wherever they want, no need to be physically close to the servers.

Also, as there's much less knowledge to be a dedicated server provider, competition is strong and prices are comparably low.

Re:I got pwned by my cloud costs by vidarh on Monday January 24, 2022 @07:25AM (#30056791)
Many providers will now also bring up dedicated servers for you so fast, or offer you API based provisioning of single-tenant VMs or similar that it's really rare that the difference relative to cloud providers becomes much of an issue.

I used to spin up dedicated servers and then put an overlay network + a simple set of tools to spin up containers on them years before Kubernetes etc. was a thing, and we'd have a "global" (we had VMs in Asia, dedicated servers in Germany and colocated own servers in the UK) unified deployment mechanism that let me spin up containers wherever with a one-liner. Having a few extra dedicated servers with spare capacity standing by still made the whole system far cheaper than e.g. AWS, even if you attributed my entire salary towards it (I spent nowhere near all my time keeping that running).

It's easy enough to find consultants that can set up systems like this that abstracts away the dedicated hosting providers so you can mix and match and move with ease - especially today with options like Kubernetes.

If I was to go back to doing consulting I'd probably look at finding a way of packaging this kind of offering up behind lots of marketing speak and offer some sort of "abstract" hybrid private cloud layer on top of a choice of dedicated hosting providers to make that kind of hosting palatable to execs who refuse to believe the cost saving potential because they've never dived into the actual numbers (oh, the amount of time I've spent building out spreadsheets with precise cost models that'd get promptly ignored because someones had heard from a friend that company X swore vendor Y was cheap and believed it blindly)

Re:I got pwned by my cloud costs by pooper on Monday January 24, 2022 @05:33AM (#30055799)
I don't have first hand knowledge but my understanding is large companies have procurement departments and they get over half off sticker price for Azure. My guess is this is why the sticker price needs to be overinflated because people in procurement need to show that they are doing their jobs.

Also it is a major pain point getting anything done with IT operations.

Like the Oracle database server that half the department relies on stops responding on a Friday morning and it takes all day to determine the hard disk is full and fix it. I had never before worked at a company where this happened multiple times.

Or operations saying they were unable to restore a windows server hosting a database server and now everyone has to scramble to update their connection strings because operations somehow cannot use the same domain name for the new machine.

Re:I got pwned by my cloud costs by vidarh on Monday January 24, 2022 @07:36AM (#30056873)
It's true there are huge rebates to be had if you're big enough, which is one thing smaller companies should bear in mind when they look at big company X using cloud provider Y as justification for thinking Y must be cheap.

If you're Netflix, cloud is probably not that much more expensive than owning your own servers. Maybe even cheaper. But you're not getting Netflix prices.

But even if you're small fry you should however start regularly talking to your provider and go through a regular cost-cutting exercise and talk to them about how you're looking at provider Z and have been asked to cost out managed servers and on prem options.... You won't need to get very big before that starts paying off.

If your competition is doing this and you're not, and hosting costs starts becoming a big part of your cost base, you won't be able to compete.

Long term I think we're going to see disruption here to the point of startups failing because of competitors copying their idea but being better at driving down hosting costs by not being afraid of going to dedicated hosting or hybrid solutions (hybrids are my favourite - if your stack can be deployed semi-transparently both on dedicated servers and cloud you can go much closer to the wire on your dedicated servers by being prepared to spin up cloud instances to take care of spikes; ironically having the ability to spin up cloud instances makes relying on cloud services even less cost-effective)

I'd also expect to see more "hybrid" cloud offerings with companies offering you operations-as-a-service by giving you a virtual cloud type interface where they don't actually own a cloud service themselves but helps you abstract away cheaper hosting providers. You can already find plenty of people who'll e.g. run Kubernetes setups for you, so taking the step to do more cost-optimization on the backend is natural (and I'm sure there are people who'd do this for you today - if I was still doing contracting I certainly would be offering that - and maybe someone is already wrapping it up as a service offering; I haven't kept up on that market)

Re:I got pwned by my cloud costs by llampx on Monday January 24, 2022 @07:01AM (#30056580)
> I think the case is for big companies that have a hard time attracting IT talent.

Companies that have made a name for themselves by outsourcing to the cheapest IT contractor that will promise them the moon and fill the seats with barely warm bodies? I was one of those bodies so I know exactly why they can't attract talent - they don't bother, and don't reward it. They treat IT as a cost center and are surprised when they get disrupted. The only good options in those companies are to work on the business side or worst case as a project/product/program manager interfacing with the warm fungible contractor bodies.

Many Enterprises are only alive because of inertia and goodwill from earlier decades.

Re:I got pwned by my cloud costs by k8sToGo on Monday January 24, 2022 @06:32AM (#30056270)
No thanks. In our case we would then need to hire DBA etc. I prefer to have as many managed (in this case by AWS) services as possible.
Re:I got pwned by my cloud costs by vidarh on Monday January 24, 2022 @07:13AM (#30056692)
Once you scale you'll need DBAs anyway to do things AWS won't do for you,or developers with the same skills, like figuring out why your developers are writing queries that kills the production database because they didn't test with data sufficiently similar etc.. I used to manage about 100 Postgres instances alongside ca ~1000 VMs total spread across colocated servers and managed hosting in several countries. The time I spent spent on the type of DBA tasks that e.g. AWS RDS automates away from you was measured in minutes per month after I'd spent a few days automating backups and log shipping and failover.

I kept being asked to price out a migration to AWS, and we kept coming up with 2x-3x the cost. Part of the reason was that we could pick and choose servers that fit our workload in a way we couldn't with AWS, and partly the absolutely insane bandwidth prices AWS offered.

I use AWS. I like AWS for the convenience. But it's a luxury that is ok when you're either small or really high margin, and you're paying massively over the odds for that luxury.

The reason these services get away with being so expensive is that people massively overestimate the complexity and don't bother actually getting quotes from people or companies to manage these services for them. When I was doing consulting my biggest challenge in offering up alternatives to AWS was that people were so convinced AWS was cheap that even when presenting them with hard data they often didn't believe it. For me it was a mixed bag - I tended to make more money off the clients who stayed on AWS as they usually needed more help to keep an AWS setup running than those I migrated to managed hosting setups, despite paying more for the hosting too.

Re:I got pwned by my cloud costs by throw8932894 on Monday January 24, 2022 @05:37AM (#30055827)
Not really, on site makes sense for Facebook or Google. Or for extra privacy.

Mid-sized companies can get cracking deals (like 10% cost) on major cloud providers.

Re:I got pwned by my cloud costs by vidarh on Monday January 24, 2022 @07:43AM (#30056934)
On prem rarely makes sense any more other than at that kind of huge scale or for privacy, sure. But that's because dedicated hosting operates on really thin margins and has become really cheap. You have to get to massive scale before cloud providers will give you big enough discount to start approaching the kind of costs you can get that way with a decently engineered system. Not least because cloud providers themselves provides a weapon: Set up your system so it can scale up using a cloud provider to handle traffic spikes and you can load those dedicated servers much more heavily than you could otherwise risk.

The biggest issue, though, is how few people are aware they can negotiate with their cloud provider. I've seen so many places just pay the sticker price without even trying to get discounts.

(Conversely, I once got a contract to do zero-downtime migrations first from AWS to Google Cloud and then to Hetzner so a startup could launch on AWS and spend the huge amount of free credits they'd been given there, then migrate to Google Cloud to do the same, and then finally move to Hetzner once they had to actually start paying; relative to what they'd have to start paying if they'd stayed on either AWS or Google after their credits ran out the cost of having me do the extra setup to handle that was covered with ~2-3 months of their savings)

Re:I got pwned by my cloud costs by pid-1 on Monday January 24, 2022 @05:47AM (#30055912)
I have a few dozens of personal projects on AWS using APIGW, Lambda, CloudFront, Dynamo DB and S3.

Their monthly cost is something between 0 and a few cents.

Stuff like Hertzner is fine, but if you know your way around AWS you realize have massive cost savings. Prob the same for Azure.

Finally, in many places 40 EUR for a pet project is actually a lot of money.

Re:I got pwned by my cloud costs by welterde on Monday January 24, 2022 @06:01AM (#30056011)
Probably would run just fine on a <= 4 euro/month virtual machine too. Of course it doesn't quite scale to zero like APIGW,lambda,etc. but on the other hand you can be fairly confident to not pay more if your pet project suddenly lands on the front page of HN.
Re:I got pwned by my cloud costs by viraptor on Monday January 24, 2022 @06:35AM (#30056294)
Keep in mind that the "<= 4 euro/month virtual machine" has maybe 256MB of RAM available and running anything beyond nginx + a web server which needs to be cycled every few days due to memory fragmentation can become challenging. I've tried this many times, but it's just not worth the extra hassle. And I want a vpn, monitoring and database even on the toy project server as a minimum in reality.
Re:I got pwned by my cloud costs by welterde on Monday January 24, 2022 @06:47AM (#30056430)
Maybe 5+ years ago. These days ~4€/month gets you 2GB of RAM, SSD storage and plenty of bandwidth.

Hetzner has such a VPS offering (2GB RAM/20GB nvme SSD/20TB bandwidth), netcup has one for ~3€, contabo has 8GB/50GB nvme/32TB for 6€/month and there are plenty of smaller companies around the world offering similar deals (usually somewhat less included bandwidth outside europe though).

Re:I got pwned by my cloud costs by viraptor on Monday January 24, 2022 @07:00AM (#30056554)
It does look like I'm behind on pricing changes. Sounds like it's time to move away from vultr.
Re:I got pwned by my cloud costs by codethief on Monday January 24, 2022 @06:47AM (#30056418)
> Keep in mind that the "<= 4 euro/month virtual machine" has maybe 256MB of RAM available

For ~4€/month (depending on your country), Hetzner offers "Hetzner Cloud" servers with 2GB of RAM, see https://www.hetzner.com/cloud?country=us

Re:I got pwned by my cloud costs by nrabulinski on Monday January 24, 2022 @06:52AM (#30056484)
A stardust instance on scaleway comes to less than 2 EUR per month and it has 1G of RAM and runs a toy project or even a small personal infra just fine :)

EDIT: Personally I pay 9-10 EUR per month to Scaleway for a 2G RAM and 2 CPU VPS, private docker repo and S3-compatible storage which holds data and some backups, which run both my personal services and some toy projects when needed. I am not affiliated with them in any way

Re:I got pwned by my cloud costs by COM2323 on Monday January 24, 2022 @10:43AM (#30059023)
Contabo has €5 VPS with 4 cores, 8 GB RAM and 200GB SSD. The one I have runs multiple Valhaim servers that are constanly hammering the CPU, some .NET webs etc. and it's fine.
Re:I got pwned by my cloud costs by xfer on Monday January 24, 2022 @07:07AM (#30056632)
Re:I got pwned by my cloud costs by pid-1 on Monday January 24, 2022 @07:02AM (#30056588)
No it wouldn't, because I infrequently need burst (bigger lambdas).

As for costs, setting up billing and usage alarms on AWS is absolutely trivial.

Finally, using stuff like S3 or dynamo for storage gives me a peace of mind I will never have when managing my own servers.

Re:I got pwned by my cloud costs by welterde on Monday January 24, 2022 @07:24AM (#30056786)
Out of curiosity, what are the lambdas doing that requires more than 2-4 GB of RAM?
Re:I got pwned by my cloud costs by llampx on Monday January 24, 2022 @07:03AM (#30056598)
> Finally, in many places 40 EUR for a pet project is actually a lot of money.

Doesn't change the equation, unless you set up all your PAYG cloud infrastructure and never use it.

Re:I got pwned by my cloud costs by fuzzy2 on Monday January 24, 2022 @04:23AM (#30055195)
That dedicated server you have to manage (ensure security, install the software you need, keep it updated and secure etc). It’s not for everyone.

Also, as you can see in a screenshot on TFA: Some services are simply dirt cheap. The storage account and its various “sub-services” is such a thing. It’s hard to compete with dedicated hardware here.

Depending on your dedicated hosting provider, the traffic cost trap exists, too. Hetzner is a bit of a special case.

Re:I got pwned by my cloud costs by ghughes on Monday January 24, 2022 @04:54AM (#30055431)
> ensure security, install the software you need, keep it updated and secure etc

These things are now trivial enough that it doesn't make sense to pay 10x the cost of bare metal for a cloud provider to solve them for you unless you have a crazy amount of runway or absolutely no idea what you're doing.

Re:I got pwned by my cloud costs by snovv_crash on Monday January 24, 2022 @08:46AM (#30057492)
Or unless your traffic is so low that the marginal cost differences are something you can swallow.

I've been running something on AppEngine for 10 years and it costs me less than $1 a month. Not sure I could find a cheaper VPS.

On the other hand, I also manage a Mediawiki install, and a cheap Hetzner VPS works great for this.

Re:I got pwned by my cloud costs by sildur on Monday January 24, 2022 @05:09AM (#30055571)
> That dedicated server you have to manage (ensure security, install the software you need, keep it updated and secure etc). It’s not for everyone.

apt install unattended-upgrades. And Hetzner's firewall.

Re:I got pwned by my cloud costs by dx034 on Monday January 24, 2022 @05:23AM (#30055694)
And cloudflare tunnel which allows you to block even ports 80 and 443. The only attack vector is then through ssh but with passwords disabled I wouldn't worry too much about that.
Re:I got pwned by my cloud costs by speedgoose on Monday January 24, 2022 @05:38AM (#30055837)
By the way, unattended-upgrades is enabled by default nowadays.
Re:I got pwned by my cloud costs by dx034 on Monday January 24, 2022 @04:55AM (#30055441)
Most cloud users will have a VM somewhere which you also have to manage.
Re:I got pwned by my cloud costs by stickfigure on Monday January 24, 2022 @06:13AM (#30056117)
Not at all. GCP, AWS, and Digital Ocean all have PaaS/serverless systems that eliminate the concept of VM (from your perspective). I haven't managed a production VM in many years.
Re:I got pwned by my cloud costs by PetahNZ on Monday January 24, 2022 @07:20AM (#30056758)
Even Elastic Beanstalk, which is just EC2 instances have a checkbox for automatic 0 down time updates.
Re:I got pwned by my cloud costs by Nextgrid on Monday January 24, 2022 @08:32PM (#30066717)
Debian and derivatives have unattended-upgrades too.
Re:I got pwned by my cloud costs by creshal on Monday January 24, 2022 @04:28AM (#30055238)
> That dedicated server you have to manage (ensure security, install the software you need, keep it updated and secure etc). It’s not for everyone.

Hetzner also offers managed servers where all this is taken care of, for relatively fair prices.

Re:I got pwned by my cloud costs by sourcecodeplz on Monday January 24, 2022 @05:56AM (#30055981)
Basically the $40 server becomes $80 when managed by them.
Re:I got pwned by my cloud costs by KingOfCoders on Monday January 24, 2022 @06:06AM (#30056063)
You can use their cloud offering $4/month, 20TB traffic.
Re:I got pwned by my cloud costs by FpUser on Monday January 24, 2022 @09:47AM (#30058207)
>"That dedicated server you have to manage (ensure security, install the software you need, keep it updated and secure etc). It’s not for everyone."

Typical FUD. On modern servers and the type of software it occupies very little time. You'd spend more managing your cloud architecture.

Re:I got pwned by my cloud costs by BlueTemplar on Monday January 24, 2022 @12:39PM (#30061009)
Arguably Hetzner is a cloud operator too. I guess it's a spectrum...
Re:I got pwned by my cloud costs by bluedino on Monday January 24, 2022 @09:25AM (#30057913)
I wonder if the disk on a $40 Hetzner server would be fast/big enough for him. All the searching and storing of massive password hash collections.

He has a writeup here on how he gets costs down in a big way: https://www.troyhunt.com/serverless-to-the-max-doing-big-thi...

Re:I got pwned by my cloud costs by pdimitar on Monday January 24, 2022 @09:44AM (#30058158)
I tried to scan through the linked article (and OP) but couldn't quite figure out Troy's storage requirements. Are they really massive?

The sum of the GB figured shown in the OP doesn't even amount to 200GB AFAICT. But even if it's something like 10TB that's still not super expensive on many hosting providers.

Re:I got pwned by my cloud costs by bluedino on Monday January 24, 2022 @12:50PM (#30061172)
The post wasn't relating to data but more this quote:

> It's costing me 2.6c per day to support 141M monthly queries of 517M records.

Also, you might be able to store 1TB of data on a spinning disk with no problem but can you run the amount of queries he needs? Will you be able to run them as fast as you need? How much RAM would you need? etc.

Re:I got pwned by my cloud costs by 300bps on Monday January 24, 2022 @10:06AM (#30058477)
The math says it was 25 TB per day for a month.

($350 per day at .014 per GB)

Re:I got pwned by my cloud costs by pdimitar on Monday January 24, 2022 @10:08AM (#30058512)
Ah, you mean bandwidth. I meant how much actual storage at rest (HDD size).
Re:I got pwned by my cloud costs by tetha on Monday January 24, 2022 @07:14AM (#30056701)
It depends somewhat on the organizational skillset you have, in my opinion.

Current workplace is considering a fully self-hosted stack as a unique selling point for the customers and segments we're in. That means, we have storage and linux admins available, as well as tooling and know-how how to run this securely and efficiently. Thus, placing large and often downloaded files on our file stores at hetzner is very much a no-brainer, because it adds very little workload to the teams maintaining these stores and it's cheap.

However, this can be a daunting thing if you don't have this skillset in the org. It can be learned, but that's time spent not working on the product (and it's not trivial to learn good administrative practices from the hell that google results can be). At such a point, a cloud service just costs you less man-hours. And again - it wouldn't be much time for me, but it would be a lot of time if you had to figure all of that out on the fly. That's essentially why the saying goes that cloud services save you time, but cost money.

Re:I got pwned by my cloud costs by selestify on Monday January 24, 2022 @07:41AM (#30056916)
Where is a good place to learn good administrative practices?
Re:I got pwned by my cloud costs by cube00 on Monday January 24, 2022 @07:45AM (#30056944)
I found the RedHat Security and Hardening Guides useful for this.
Re:I got pwned by my cloud costs by zarzavat on Monday January 24, 2022 @04:20AM (#30055167)
> I just don't understand why people use cloud services.

1, when they need to adjust rapidly between different resource usage profiles, e.g. because they are growing rapidly and can't predict what the usage will be X days in advance

2. They have huge resource requirements and don't care to invest in their own infrastructure, but can negotiate lower rates with a cloud provider

3. When their resource usage is modest but profitability is high enough that cloud expenditure is a rounding error

Re:I got pwned by my cloud costs by tlamponi on Monday January 24, 2022 @04:40AM (#30055303)
> 1, when they need to adjust rapidly between different resource usage profiles, e.g. because they are growing rapidly and can't predict what the usage will be X days in advance

One can add new servers in minutes, removing has a bit more latency to it, but I'd figure with the huge price difference between rented and cloud you'll come out on top with the former in most case. Also, just use a clustering or orchestration layer in between, they range from very simple to setup and use (e.g., Proxmox VE), to quite complex but also very capable (OpenShift, kubernetes, ...).

> 2. They have huge resource requirements and don't care to invest in their own infrastructure, but can negotiate lower rates with a cloud provider

Using hetzner or other providers is not investing in their own infra, that's using (= renting) the providers infra and ability (peering, fast uplinks, datacenter perks like utility redundancy and staff on site). The second sentence may be true but probably not for most use cases that aren't huge yet, like the post here.

> 3. When their resource usage is modest but profitability is high enough that cloud expenditure is a rounding error

IFF, yes, and often infra costs are relatively low compared to salary costs, so that's definitively some optimization problem one should go through when deciding such things. Chances are that for most projects the profitability can be good but not magic money printing and infra costs are a non-negligible part that eats on their revenue, and then it's definitively worthwhile to think about avoiding the high premium most of those cloud offerings ask for.

Re:I got pwned by my cloud costs by presentation on Monday January 24, 2022 @05:38AM (#30055835)
> One can add new servers in minutes

With Vercel I don't ever think about adding servers at all, huge win.

> infra costs are relatively low compared to salary costs

Enterprise SaaS here, this is it. Any second my team spends not caring about infra is well worth it.

Re:I got pwned by my cloud costs by dmurray on Monday January 24, 2022 @04:33AM (#30055264)
4. When their resource usage used to be modest, so they got on cloud services for increased developer convenience, and now can't afford the switching costs even though their bills are expensive.
Re:I got pwned by my cloud costs by andi999 on Monday January 24, 2022 @05:53AM (#30055952)
Maybe one wants to mantain the application and not the server? Long time ago i booked a vps, install some bsd on it and thought i am good.

A month later a ntp security vulnerability was discovered, soon the server was put offline, some 'patch your things asap' not so nice emails came in. From that time my take is one should spend some time probably daily on an own server if one wants to mantain it.

Re:I got pwned by my cloud costs by pmlnr on Monday January 24, 2022 @06:35AM (#30056296)
Right, because a barebone docker hypervisor needs so much admining.
Re:I got pwned by my cloud costs by immibis on Monday January 24, 2022 @07:53AM (#30057016)
It runs NTP, does it not?
Re:I got pwned by my cloud costs by sdze on Monday January 24, 2022 @06:12AM (#30056114)
Aren't Azure Compute Nodes also "bare metal"?
Re:I got pwned by my cloud costs by capableweb on Monday January 24, 2022 @06:40AM (#30056343)
Based on a quick Google search for "Azure Compute Node":

> A node is an Azure virtual machine (VM) or cloud service VM

> The terms node and VM are used interchangeably occasionally

> Azure Batch creates and manages a pool of compute nodes (virtual machines)

> In an Azure Batch workflow, a compute node (or node) is a virtual machine that processes a portion of your application's workload

So no, seems Azure Compute Nodes are VMs, not bare metal.

Re:I got pwned by my cloud costs by andi999 on Monday January 24, 2022 @06:35AM (#30056297)
I dont know.
Re:I got pwned by my cloud costs by hardwaresofton on Monday January 24, 2022 @04:18AM (#30055150)
Well there’s a gap between the amount of convenience you get on the major clouds and one like Hetzner.

I’m a huge Hetzner fan, and their cloud offering is definitely growing but still isn’t as convenient and featureful as it could be (and they don’t share their roadmap currently so hard to tell what they’re working on next).

I’m trying to do something about it though, working on Nimbus Web Services[0]. In my mind all we need is something to bridge the managed services gap and make it very easy to set up the basic 3 tier app with some amount of scale/performance elasticity!

[0]: https://nimbusws.com

Re:I got pwned by my cloud costs by dx034 on Monday January 24, 2022 @04:54AM (#30055433)
But he could've put static files on a Hetzner server and still have his backend in Azure. That would've solved these issues and probably saved even more money.
Re:I got pwned by my cloud costs by hardwaresofton on Monday January 24, 2022 @05:12AM (#30055597)
Being able to run a relatively simple global cache with a cheap provider like Hetzner has the origin is also harder than it should have to be.
Re:I got pwned by my cloud costs by dx034 on Monday January 24, 2022 @05:22AM (#30055686)
How's that? Setting up a revers nginx proxy with cache takes probably less than an hour even if you've never done it (speaking from experience). And otherwise, if the files don't change that much just ssh in, copy them on the server and serve them via nginx and cloudflare tunnel?

I'm in no way a sysadmin and have set up these configurations manually in less than an hour for side projects. Cloudflare tunnel also allows you to lock down the server for everything but ssh with pubkey auth so the attack surface is really small.

Re:I got pwned by my cloud costs by hardwaresofton on Monday January 24, 2022 @05:59AM (#30056005)
Ah sorry I should have been clearer on this -- "global cache" === CDN. Hetzner does incur a performance latency (unless you use the brand new US DC of course, and your customer happens to be in the US). IIRC right now you can't mix US cloud servers and German ones in the same Load balancer (also a relatively new hetzner cloud feature) but of course you can do some DNS tricks and get the loads to be fast.

Actually hosting files is super easy (Caddy is awesome, NGINX is awesome), but it's even better when you don't have to set up the server at all, for example just turn on "HTTP access" on a object storage bucket for example. So this is another place Hetzner kind of falls short though they do have hosting options[0], so basically the ideal solution here would be to deploy a simple Hetzner app (caddy/nginx or the hosted options hetzner has), set up a cheap CDN (Bunny, Cloudflare, etc) in front of it, and save money that way. If the bill is still too high just take the penalty or bias towards one geo (germany/US).

I was less talking about the difficulty of getting a server up and more about the CDN bit of the issue to make loads blazing fast!

[0]: https://www.hetzner.com/webhosting what you want is latency reduction. Usually what sites like Vercel and others give you is way faster loading time by putting stu

Re:I got pwned by my cloud costs by zo1 on Monday January 24, 2022 @11:51AM (#30060236)
Not related to your comment 100%, but after reading your comment I went researching curiously. Ended up questioning "hey didn't ISPs used to cache content?" Only to discover that they don't anymore, because of HTTPS/SSL, the gift that keeps on giving and effectively warping the web.

So that leads me to my question for HN. Have we completely abandoned non-HTTPS, particularly perhaps for the use-case of server-side caching of HTTP content? Also, isn't this a valid use-case to not use HTTPS and to re-enable that sort of functionality at the network/ISP level?

Re:I got pwned by my cloud costs by Symbiote on Monday January 24, 2022 @08:08AM (#30057114)
If I understand this particular case correctly, the large files are just big data downloads of several GB each.

Latency isn't particularly relevant for this, and it probably isn't relevant for most hobby projects.

Re:I got pwned by my cloud costs by ashkulz on Monday January 24, 2022 @06:51AM (#30056470)
Why not use CloudFlare in front? That's what was being used anyway, as per the article.
Re:I got pwned by my cloud costs by hardwaresofton on Monday January 24, 2022 @07:05AM (#30056608)
> so basically the ideal solution here would be to deploy a simple Hetzner app (caddy/nginx or the hosted options hetzner has), set up a cheap CDN (Bunny, Cloudflare, etc) in front of it

I agree! Cloudflare probably won't be this cheap forever but like I said I think that's the optimal solution, with the option to cut over and take the latency penalty if costs are out of control.

Re:I got pwned by my cloud costs by Nextgrid on Monday January 24, 2022 @05:36AM (#30055819)
The usual answer you'll get is that it's not "infrastructure as code", is not highly available, etc... and while that's theoretically true, in practice modern hardware is reliable enough that I'll take the gamble (and the complexity of clouds and their control plane means that you may have more outages than what would be caused by hardware failures).
Re:I got pwned by my cloud costs by RamblingCTO on Monday January 24, 2022 @06:27AM (#30056227)
You can always set it up as such though. We're using k8s/terraform on hetzner cloud perfectly fine on like 30% of the AWS costs we had before that. Maintenance is minimal as well.
Re:I got pwned by my cloud costs by hrrsn on Monday January 24, 2022 @05:22AM (#30055685)

  apt install nginx
Re:I got pwned by my cloud costs by hardwaresofton on Monday January 24, 2022 @06:02AM (#30056024)
Apologies wasn't clear -- what I meant was the difficulty of setting up NGINX AND setting up a CDN to serve your content as fast as possible from multiple places is harder than it should be. They're both relatively simple tasks in this day and age but they're not connected/brain-dead-easy for a vendor like Hetzner.

Honestly, they're not even connected/brain-dead-easy for a vendor like AWS particularly -- you still have to click around a lot or write a bit of terraform/aws-cdk/etc when all you really want to do is throw a folder or zip file over the wall and point it at a domain.

There are tools like Ness[0] out there which look like a breath of fresh air but there needs to be more tools like that where the supported backends include a cloud like Hetzner/Leaseweb/OVH.

Re:I got pwned by my cloud costs by fbrncci on Monday January 24, 2022 @07:41AM (#30056918)
I have a pretty complicated architecture that would cost me about 20-35$ if it was hosted just on Digitalocean or Hetzner. Instead its AWS ...soon to be multicloud, and costs me about 140$/mo (which does vary). But it does allow me to experiment, write long articles and design some fun stuff; about which I blog on my own website. The blog has gotten me both clients on freelance projects and enough "cred" to start on new projects I don't have any resume experience on. That's the only reason that I personally use cloud services (of course, the reasons for SaaS/Enterprise clients are usually more valid than mine).
Re:I got pwned by my cloud costs by rhn_mk1 on Monday January 24, 2022 @07:45AM (#30056943)
What stops you from having a blog on Hetzner? That doesn't seem like it has anything to do with AWS whatsoever... or do they offer a blogging pltform?
Re:I got pwned by my cloud costs by fbrncci on Monday January 24, 2022 @08:05AM (#30057087)
I'm blogging about the experiments I am running with AWS hosted infrastructure. It could be hosted pretty much anywhere, a rpi would be enough. But I can't run those experiments on Hetzner, they simply don't offer as much options as AWS to run experiments.
Re:I got pwned by my cloud costs by immibis on Monday January 24, 2022 @07:50AM (#30056987)
Because the blog is about his experiments in AWS?

AWS is cool and all and has a bunch of interesting stuff, it's just expensive.

Re:I got pwned by my cloud costs by InsomniacL on Monday January 24, 2022 @07:33AM (#30056853)
- Patching - Remediation, Monitoring, day0 response

- Security Information and Event Management - exports, alerts, OS configuration

- OS/Application Hardening - Encryption, Password/keys rotation, CIS/other baselines, Drift Management

- Backup - Encryption, (don't forget your passwords/keys are changing), retention, data protection compliance, monitoring, alerting, test days

- High Availability - replication, synchronisation, monitoring, alerts, test days

This is just the tip of the ice berg, if you operate in an environment where Insurance, Reputation, Regulatory Compliance, certification, etc.. are important, then it's easy to see why PAAS solutions are desirable.

Re:I got pwned by my cloud costs by chillfox on Monday January 24, 2022 @09:17PM (#30067052)
Eh, if my bank goes down or gets compromised then I will hold it against them regardless of if they are self hosting or using the cloud.
Re:I got pwned by my cloud costs by InsomniacL on Tuesday January 25, 2022 @09:19AM (#30072025)
Exactly, and using a SQL PAAS solution for example, it will always be patched without the bank having the expense of doing it themselves.
Re:I got pwned by my cloud costs by rcarmo on Monday January 24, 2022 @04:23AM (#30055194)
Because they provide managed services that VPS hosters don't have or which would require the overhead of maintaining and patching servers, and many people just want to get on with their lives instead of worrying about OS exploits...
Re:I got pwned by my cloud costs by martin_a on Monday January 24, 2022 @05:03AM (#30055519)
That's why you take some kind of "managed hosting" where all of this is taken care of.
Re:I got pwned by my cloud costs by immibis on Monday January 24, 2022 @07:57AM (#30057040)
like AWS?
Re:I got pwned by my cloud costs by martin_a on Monday January 24, 2022 @08:19AM (#30057229)
More like sth. starting at 35 €/month for 20 TB of traffic. Hetzner has something like that, shared managed webhosting is even cheaper.
Re:I got pwned by my cloud costs by alpaca128 on Monday January 24, 2022 @07:08AM (#30056650)
But they do offer managed servers.
Re:I got pwned by my cloud costs by lazyant on Monday January 24, 2022 @10:50AM (#30059110)
If you only need a server, as in CPU, RAM, disk and bandwidth, with a more or less constant demand, then sure, a dedicated server is way cheaper than any cloud. You want to use cloud for the ecosystem of other services besides VM/instances, and especially to use them in an automated way. The other use case is elastic demand.
Re:I got pwned by my cloud costs by lvass on Monday January 24, 2022 @08:54AM (#30057567)
IIRC, hertzner "unlimited" traffic isn't quite unlimited. You have a few monthly TB depending on what you contracted, if you go over it there's massive speed reductions until you pay a fee.
Re:I got pwned by my cloud costs by FpUser on Monday January 24, 2022 @09:43AM (#30058137)
I do rent from Hetzner and OVH. Before signing contract I emailed them and asked if there are ANY limits / throttling beyond their unlimited 1gbs. They assured me in writing (email) that there are none. Some of my rented servers host giant 4K high video files and transferring those which happens all the time keeps that bandwidth pretty occupied. So far I did not see them impose any throttling. Not on my business anyways.
Re:I got pwned by my cloud costs by jerf on Monday January 24, 2022 @09:37AM (#30058081)
In this case, that arguably would have been preferable.

A lot of cloud cost objections would be solved if they defaulted to that instead of defaulted to just charging you the fees. That has its own tradeoffs, of course, but I find myself suspicious that the reason the clouds work this way isn't so much a cold and sober consideration of the aforementioned tradeoffs so much as "this way makes more money when we charge people lots of money they weren't expecting" and "this way makes lots of money when the people deploying the service are organizationally and fiscally disconnected from the people paying for it so they care and notice less".

Re:I got pwned by my cloud costs by xuki on Monday January 24, 2022 @09:34AM (#30058041)
It's truly unlimited now. I know someone who's pushing 1Gbps constantly (selling Plex access) and Hetzner have no issues with it.
Re:I got pwned by my cloud costs by jasode on Monday January 24, 2022 @07:28AM (#30056811)
>Can somebody explain to me why I wouldn't just rent a 40 EUR dedicated server from Hetzner [...] , I just don't understand why people use cloud services.

This recurring question of "why AWS/Azure instead of Hetzner/OVH ?" keeps happening because people are incorrectly comparing higher-level PaaS to lower-level IaaS without realizing it.

PaaS != IaaS are not equivalent. IaaS is not a direct drop-in replacement for PaaS to save money if the workload is using PaaS features that IaaS does not include.

The author Troy Hunt is using the higher-level Azure services like Table Storage (like AWS DynamoDB/SimpleDB) and Azure Functions (like AWS Lambda), and others. E.g. One of the article's hyperlinks talks about using Azure Functions.[1]

If he used Hetzner, he'd have to reinvent the Azure services stack with open-source projects (some of which are buggy and immature) and expend extra sysadmin/programming work for something that's not as integrated. The Azure/AWS stack includes many desirable housekeeping tools such as provisioning, monitoring, routing, etc which he'd also have to re-invent.

TLDR: People choose Azure/AWS because it has more features out of the box. You just have to figure out on a case-by-case basis if the PaaS value-add makes financial sense for your particular workload.

EDIT to downvoters: if Hetzner actually has built-in equivalents to AWS Lambda and DynamoDB, please reply with a correction because I don't want to spread misinformation.

[1] https://www.troyhunt.com/serverless-to-the-max-doing-big-thi...

Re:I got pwned by my cloud costs by forty on Monday January 24, 2022 @07:34AM (#30056858)
Yeah, it feels like someone saying "why don't you build your house yourself? Would be much cheaper". This is certainly true, but

- My house is probably going to be build much faster if it's built by professional house builder (even more true for services since it's available immediately)

- I have better things to do than building houses

Re:I got pwned by my cloud costs by marcosdumay on Monday January 24, 2022 @10:10AM (#30058541)
> people are incorrectly comparing higher-level PaaS to lower-level IaaS without realizing it.

Hum, no. People are asking what kind of value that platform adds that can justify all that risk.

And nobody is giving any clear answer, so I'll stand with my previous answer of "none".

Re:I got pwned by my cloud costs by unixhero on Monday January 24, 2022 @04:07AM (#30055075)
You are not wrong. Hetzner would be a good choice instead.
Re:I got pwned by my cloud costs by raxxorrax on Monday January 24, 2022 @06:46AM (#30056397)
> As far as I am concerned, I just don't understand why people use cloud services.

I use the credit card of my employer. For my own projects I use my own server for everything. Granted, it doesn't get much traffic.

Some offers from cloud providers are pretty good. If you want to scale to more (virtual) machines, it can be more easily done with the usual providers. I also expect Amazon to know more about firewall and reverse proxy configuration, it renews my certificates automatically and has rudimentary services for monitoring of server state. There is a certain convenience to it.

Would I recommend cloud based hosting? Absolutely not. You become dependent on the provider and prices are often steep. Even if you do not know much about server security, your unsecured s3 bucket will be far more exposed than your standard db installation on your own server. Better build expertise for systems you have full control over than to invest the time on the details of AWS which are more subjected to change.

Re:I got pwned by my cloud costs by that_guy_iain on Monday January 24, 2022 @04:18AM (#30055153)
> As far as I am concerned, I just don't understand why people use cloud services.

For companies the benefits are the abiltiy to get new servers at a click of a button and get rid of a server. For example, asking the ops team to setup a snapshot of a database for a few hours while I do something is super useful.

There is also the ability to use autoscale and other stuff to automagically scale your system to handle traffic peaks. With dedcicated servers you need to always have those resources available. It's attractive to managers that they're only paying for resources when they're using it.

There are also managed services like DynamoDb, Lambda, S3, etc that can make things easier and reduce your sysadmin work. And allow you to get up and running very quickly.

Obivously, a major downside is that the pricing is extremely vulnerable to spikes like this. I think we see an article like this every 3 months or so. This one is rather tame compared to some others that were 10x as much for a 24-hour period.

Re:I got pwned by my cloud costs by withinboredom on Monday January 24, 2022 @06:47AM (#30056428)
Hetzner dedicated server * 3 + k3s + vnet + longhorn + metallb = basically the cloud.

I can snapshot a database disk with a click of a button and restore the snapshot with yet another few clicks.

I have 1.5 TB of highly available disk space, 40 cores of full CPU power, 160 GB of RAM, & dynamically provisioned IPs for metallb. For only $130USD a month. For the same price in Azure, I had 6 CPU cores & 8 GB RAM.

Re:I got pwned by my cloud costs by that_guy_iain on Monday January 24, 2022 @07:31AM (#30056836)
You could do that.

But let's say need 4x vCPU: 72, Memory (GiB): 144 for 4 hours. Or you need that 12 hours a day but for the rest of the time you need 2 cpu and 4 GiB of memory.

You need to handle traffic spikes such as TV traffic.

Yes you could self-host a cloud env but you can't scale your resources the way you can with cloud.

Re:I got pwned by my cloud costs by christophilus on Monday January 24, 2022 @07:39AM (#30056897)
I’ve never worked anywhere where that was really necessary. Even when I worked at Microsoft, the services my team built needed to be big scale, high perf, etc… But they would have easily run on a fixed number of beefy machines even at our peak load for a fraction of the cost of Azure.
Re:I got pwned by my cloud costs by that_guy_iain on Monday January 24, 2022 @04:53PM (#30064597)
It really was necessary due to some silly people not listening to me 2-years ago and ignoring technical debt until it got to the point the service they sold with a 1.5 million penalty fee for failing to deliver was needed to be delivered and load tested.

And that is literally the largest AWS Elasticsearch cluster option. So clearly that will be deployed for multiple orginsations. Otherwise they wouldn't have created a default node that size.

Re:I got pwned by my cloud costs by withinboredom on Monday January 24, 2022 @07:52AM (#30056996)
> But let's say need 4x vCPU: 72, Memory (GiB): 144 for 4 hours.

I would probably send you back to where ever you came from and tell you to re-engineer that. Cloud or no cloud.

Re:I got pwned by my cloud costs by that_guy_iain on Monday January 24, 2022 @04:52PM (#30064581)
And you would be told that it needs to go live because of a customer contract and failure to deliver would be a 1.5 million euro penalty fee.

Sometimes you need to spend lots of money on tech debt. I think it's nuts that was required but it was.

Re:I got pwned by my cloud costs by christophilus on Monday January 24, 2022 @07:38AM (#30056890)
The German companies are really nuts. The cost to value ratio is through the roof. I’m a happy Netcup customer, and I honestly don’t know how they do it and make any profit at all.

I wish they’d bring those same prices to some US data centers.

Re:I got pwned by my cloud costs by immibis on Monday January 24, 2022 @07:57AM (#30057038)
I'm sure there are some big political flamewars to be had in this area regarding per capita productivity.
Re:I got pwned by my cloud costs by INTPenis on Monday January 24, 2022 @06:53AM (#30056497)
>As far as I am concerned, I just don't understand why people use cloud services.

Well that's the first issue. Many people have automated large parts of their infrastructure in this way so that distributing one huge file becomes part of that whole mess. The goal is of course to keep costs down to a minimum. You can actually do a lot with little money using cloud services.

But the careful balance is that you can easily miss little details. But how does that differ from any systems administration? The details are just in new areas that didn't exist 5-10 years ago.

And the details you miss are more likely to increase cost. And when you process a lot of traffic, you're popular, that can go real fast.

20 years ago in hosting we might get a porn stash on a hacked NT4 server that would draw bandwidth. And back then a whole company might have 100Mbit fiber so you'd notice.

Re:I got pwned by my cloud costs by PragmaticPulp on Monday January 24, 2022 @08:50AM (#30057520)
For such a (relatively) simple architecture: I agree. Easy dedicated server, make a point to watch security updates.

The reason to use cloud-style services is so you can focus on building the product quickly instead of building and maintaining architecture. But once the product is stable, a cost-reduction pass is in order.

Re:I got pwned by my cloud costs by dom96 on Monday January 24, 2022 @09:01AM (#30057612)
I don't understand why anyone would sign up for services that have an unknown future cost. This is exactly why I avoid Amazon's S3 and prefer something like Digital Ocean (or Hetzner). I would much rather have my service shut down than spend many thousands of dollars because some cache failed.
Re:I got pwned by my cloud costs by erwincoumans on Monday January 24, 2022 @09:21AM (#30057863)
Agreed, I've had large bills for cloud providers, forgetting to terminate a GPU instance, or didn't realize that having a disk image (even not running) costs money.

>> why anyone would sign up

It happens more often than you think: people sign up for credit cards and forget to pay the monthly bill in full. Sign up for a cell phone plan and get charged with large bills of international roaming. People sign up for monthly subscriptions, and exceed the usage limits.

Re:I got pwned by my cloud costs by api on Monday January 24, 2022 @09:12AM (#30057741)
The entire ecosystem has been herded into complex deployment patterns that make it labor intensive to manage infrastructure without using managed cloud services.
Re:I got pwned by my cloud costs by jenscow on Monday January 24, 2022 @10:55AM (#30059182)
> I just don't understand why people use cloud services.

To handle that day of getting 1 million customers, which you've been forever optimising for.

Any.. day.. now...

Re:I got pwned by my cloud costs by 300bps on Monday January 24, 2022 @07:55AM (#30057024)
Where did you get 600 GB per day? That only would’ve cost $8.40 per day. It looks like it was actually 25 TB per day which is over 40x what you said.

From the article:

This was about AU$350 a day for a month… priced at AU$0.014 per GB

A company could not stay in business if every one of their “unlimited 1 Gbps” customers for €40 per month actually used that bandwidth.

Re:I got pwned by my cloud costs by pmlnr on Monday January 24, 2022 @06:34AM (#30056283)
Hype, HIPPOs, FOMO, buzzword driven resume.
Re:I got pwned by my cloud costs by vbezhenar on Monday January 24, 2022 @09:50AM (#30058253)
Scalability, reliability, provided maintenance for every aspect (hardware, software, backups).
Re:I got pwned by my cloud costs by tester756 on Monday January 24, 2022 @04:13AM (#30055118)
I'm fan of cheap VPSes too, but I'd like to have things like metrics out of the box
Re:I got pwned by my cloud costs by tlamponi on Monday January 24, 2022 @04:22AM (#30055179)
€40 gives you a dedicated server, not just a VPS.

Getting metrics on that is not a hard problem, there are various projects that are relatively simple to set up.

If you want to make it easier manage resources, metrics out of the box, and avoid (hoster) lock-in then I'd use a hyper visor distro like Proxmox VE (disclaimer, am a dev there) or the like, and you can migrate (or backup/restore) VMs or Containers easily to other providers. That gives you a (relatively) simple web-interface to manage most things and also opens the possibility to just add a second or third dedicated host down the line to scale out, if those new hosts are in the same DC or have a good interconnect (latency wise) you could even cluster the nodes.

Re:I got pwned by my cloud costs by maccard on Monday January 24, 2022 @04:45AM (#30055350)
To make a fair comparison you need to consider the time cost for setting all of that other stuff up compared to having it out of the box. I'd an engineer on 100k takes a week to get it up and running then your vps cost 2k to set up and 40/month going forwards.
Re:I got pwned by my cloud costs by tlamponi on Monday January 24, 2022 @05:34AM (#30055804)
If an engineer needs that much time you have a serious technical debt for setup of your software or a inexperienced or inept engineer. The developer or at least operators need to be able to setup your software for more frequently for testing anyway, if they cannot do that rather quick you got other problems..

I can set up Proxmox VE as hyper visor, some container for each DBs, load balancer in front and some app in about an hour max from scratch, with good testing and some bells and whistles, and here I really do not want to brag or the like, as such operations are not my job to do at all, I only know because I do that occasionally for some tests and for some private infra I just maintain out of interest - so I really want to say, if some operation-dork can do that, the engineer you hired should be able to do it at least as quick.

But yes you're right in the general point, upfront setup and frequent maintenance is naturally something you need to price in. I just think that if you have that many different parts with complex coupling to induce such a huge maintenance effort required to keep your product running, the cloud offer may not really be your salvation and just delay the fall while costing all the more.

Re:I got pwned by my cloud costs by maccard on Monday January 24, 2022 @05:45AM (#30055898)
> If an engineer needs that much time you have a serious technical debt for setup of your software or a inexperienced or inept engineer.

Everyone does something for the first time once. Just because someone has not set up a hypervisor before doesn't mean they're inexperienced.

> I can set up Proxmox VE as hyper visor, some container for each DBs, load balancer in front and some app in about an hour max from scratch,

And I can spin up containers + load balancer on AWS in less than five minutes. That doesn't mean that it's just an easy thing to do. (although, this specific example is).

> upfront setup and frequent maintenance is naturally something you need to price in. <...> the cloud offer may not really be your salvation and just delay the fall while costing all the more.

Agreed 100% on both counts.

Re:I got pwned by my cloud costs by tester756 on Monday January 24, 2022 @06:55AM (#30056505)
>Just because someone has not set up a hypervisor before doesn't mean they're inexperienced.

Wait, what? If you never did something, then you're unexperienced, ain't you?

Re:I got pwned by my cloud costs by BenjiWiebe on Monday January 24, 2022 @09:59AM (#30058364)
You can be an experienced $job without having ever done $one-particular-thing-related-to-job.

Experienced != Knows 100% of things.

Re:I got pwned by my cloud costs by stickfigure on Monday January 24, 2022 @06:26AM (#30056220)
The difference with a PaaS/serverless system is that I don't need to hire you, or have someone on my team learn to be you.

I'm sorry, but all that stuff you describe doesn't bring any business value. My customers don't care what hypervisor I'm running, so I don't care either. PaaS means someone else deals with it, forever. The last time I had to employ an ops (or devops) person was 2007.

Re:I got pwned by my cloud costs by Aeolun on Monday January 24, 2022 @06:12AM (#30056115)
True, but setting things up on AWS isn’t free either.
Re:I got pwned by my cloud costs by maccard on Monday January 24, 2022 @06:53AM (#30056493)
That's true - if you want to make a fair comparison between the two you need to consider the costs of the setup on AWS vs the cost of setting it up on whatever your platform of choice is. For a small team with no/development only loads, then a $5 digital ocean droplet would likely work for them, maybe even 10 of them. It's not worth managing a VPS for deploying 5 containers when you can have DO do it for $25 behind a load balancer. For a small team with moderate load, the question is "is it worth spending X on setup to save Y but potentially spend Z on maintenance of the systems on Hetzner/whoever, vs spending A on setup, B on compute and C on maintenance". If the difference is < 6 months salary, you go with whatever your current team is comfortable with and reevaluate in a year.

For a large company, it's not about $ cost, it's about risk management and avoiding cost centers.

Re:I got pwned by my cloud costs by quambene on Monday January 24, 2022 @09:56AM (#30058328)
Good point. If you are using Linux on a daily basis, it's easier to set up a server than configuring AWS.
Re:I got pwned by my cloud costs by ihateolives on Monday January 24, 2022 @05:50AM (#30055925)
You'd have to figure out the setting up stuff just once though and then automate it. It's not like you have to go through this for every additional server you will add in the future or when you have to rebuild it.

Also, it doesn't take a week.

Re:I got pwned by my cloud costs by maccard on Monday January 24, 2022 @06:48AM (#30056432)
> You'd have to figure out the setting up stuff just once though and then automate it.

You're assuming that this is for recurringly set up infrastructure. Sometimes infra is set up once and maintained, othertimes it's set up and spun down. It's also not always automated. The time spent automating something like that might not be worth it in the medium to even long term.

> Also, it doesn't take a week.

The actual amount of time it takes doesn't matter; if it's a day or a month. what matters is costing the time spent on setting it up and maintaining it, and pricing that against AWS costs.

Re:I got pwned by my cloud costs by dx034 on Monday January 24, 2022 @04:56AM (#30055449)
You can use Hetzner's cloud. You get metrics and still have a lot of free traffic with very low cost above that.
Re:I got pwned by my cloud costs by 6510 on Monday January 24, 2022 @07:31AM (#30056841)
He should and did use torrents.
Re:I got pwned by my cloud costs by distantsounds on Monday January 24, 2022 @09:37AM (#30058077)
good luck getting a gigabit speeds from a hetzner box in any form of consistency
Re:I got pwned by my cloud costs by pbalau on Monday January 24, 2022 @08:24AM (#30057285)
Wouldn't riding a horse prevent that car crash?
Re:I got pwned by my cloud costs by kuschku on Monday January 24, 2022 @08:54AM (#30057562)
Luckily you can avoid both by just cycling everywhere. Lower CO2 output and lower cost, too.

I use rented dedicated servers for everything, and always travel by bicycle or transit. It's not as ridiculous as you make it seem.

Re:I got pwned by my cloud costs by pbalau on Monday January 24, 2022 @12:35PM (#30060942)
If I ride a bike from work to home, my fat ass will be terrible unhappy. If I ride a horse, the horse would be. I could drive, but driving in London is not fun. Luckily, there is a decent public transport system that fits my needs. The point is, there is a context for everything and it matters.

You might like installing and configuring software, I don't. I'm more than capable of doing so myself, but I'd rather build things on top of other things. I'd rather use a battle tested Secrets Manager and have db replication set up for me. I'm grateful to people that like doing these things I don't and I'm expressing my gratitude by contributing to their paychecks via my cloud bill.

To go back to my initial reply, if you change the context, eg the context is driving a car, you can't possible crash the car you are not driving. If the context is "get home after a few too many pints at the pub", then riding a horse is much better than driving a car (and crashing it). Context.

Re:I got pwned by my cloud costs by onlyrealcuzzo on Monday January 24, 2022 @08:30AM (#30057331)
Horse carriage accidents were surprisingly common and deadly for the low speeds they traveled at - but, I did enjoy the analogy [=
Re:I got pwned by my cloud costs by dt3ft on Monday January 24, 2022 @04:20AM (#30055166)
Not much to explain, you're absolutely right. Hetzner would have been a much wiser choice here, but advocating any cloud provider at this scale probably has its perks too or he wouldn't be burning his money. Then again, perks only go so long and at some point do come to an end, so this is why he may be writing about costs right now.

Take a look at their datacenter in Germany: https://www.youtube.com/watch?v=5eo8nz_niiM

Re:I got pwned by my cloud costs by octoberfranklin on Monday January 24, 2022 @05:12AM (#30055592)
Wow, that video is fascinating.

Love how they are totally not ashamed to kick off the video with their collection of 14,000 mini-tower desktop PCs. Not rackmounted. Mini-towers.

Also totally ultra-curious about the PS/2 kvm. All those machines are from an era when USB keyboards had been around a long time already. Wondering if this is a security measure...

Re:I got pwned by my cloud costs by closeparen on Monday January 24, 2022 @04:17AM (#30055146)
Perhaps for the same reason that the vast majority of the readers of this site don’t use Hetzner: they are not European and neither are their users.
Re:I got pwned by my cloud costs by lpcvoid on Monday January 24, 2022 @04:19AM (#30055162)
Hetzner is just an example - you can get cheap dedicated boxes with gigabit uplinks all over the world. And in this example it's not even important what latency the server has, since it was only feeding Cloudflares CDN with data.
Re:I got pwned by my cloud costs by closeparen on Monday January 24, 2022 @01:42PM (#30061978)
Can you? I have not actually been able to identify a cheap, reputable dedicated server provider in the US. Ten years ago there were a few.
Re:I got pwned by my cloud costs by hnbad on Monday January 24, 2022 @04:43AM (#30055333)
The reason Europeans tend to favor European service providers generally has to do with strong data protection guarantees and some level of protection against foreign surveillance. In practice a lot of European companies still use US services or at least services provided by US companies -- Troy Hunt is Australian and uses Azure from Microsoft, so this isn't just a thing Europeans do either.

I'd love to hear your reasoning why people who aren't European would prefer to avoid European service providers.

Re:I got pwned by my cloud costs by capableweb on Monday January 24, 2022 @06:21AM (#30056171)
> I'd love to hear your reasoning why people who aren't European would prefer to avoid European service providers.

I'm generally a Hetzner fan as well for global services, but I can see the point in avoiding Hetzner (for example) if all of your users are in the US, since Hetzner only offers dedicated servers located in Europe (Germany and Finland if I'm not mistaken). Generally you want users to hit servers that are close to them, so something like Vultr would be better if the scenario mentioned before applies.

Re:I got pwned by my cloud costs by andi999 on Monday January 24, 2022 @07:55AM (#30057027)
Exactly. Speed of light is too slow. Speed of light in cable is 200.000km/s, so if you are 10.000km away, your minimum ping time is 100ms (+server time).
Re:I got pwned by my cloud costs by NicoJuicy on Monday January 24, 2022 @06:51AM (#30056480)
https://www.hetzner.com/?country=us

They also have dc's in the US

Re:I got pwned by my cloud costs by capableweb on Monday January 24, 2022 @06:55AM (#30056504)
Are we talking about the same thing? I know Hetzner offers Cloud servers (VMs) in the US since recently, but I don't think they offer Dedicated Servers in the US (yet?).
Re:I got pwned by my cloud costs by NicoJuicy on Monday January 24, 2022 @09:52AM (#30058273)
You are correct.

I didn't realize it was limited to their cloud offering. Nice one!

Re:I got pwned by my cloud costs by pid-1 on Monday January 24, 2022 @05:41AM (#30055860)
When deploying pet projects I could not care less about privacy.
Re:I got pwned by my cloud costs by vitro on Monday January 24, 2022 @04:22AM (#30055191)
OVH then? They have similar offerings, unlimited traffic, multiple datacenters to pick from.
Re:I got pwned by my cloud costs by capableweb on Monday January 24, 2022 @06:19AM (#30056159)
I guess that's out of the question too if it's a problem that the company is European, since OVH is French.
Re:I got pwned by my cloud costs by NicoJuicy on Monday January 24, 2022 @06:50AM (#30056459)
Hetzner launched in the US by now