News for hackers. Stuff that matters.
Re:The Cloud by freehunter on Wednesday August 07, 2019 @06:08PM (#20639683)
Man I wish HN had a downvote option for articles that are just not worth reading.

"Don't go to the cloud, just buy your own servers" completely ignores the reason anyone rents cloud servers in the first place. If I could easily say "I need exactly this much capacity, no more no less, with no unexpected scaling needs and no code/infrastructure changes" then I'd be sitting pretty. Now for a show of hands, how many companies does this describe?

And of those companies that raised their hand, how many can say "I'm fine with just having a server in Germany" who will then go on to say "and I don't need a CDN to serve customers in other regions"?

>keep running live/live setup...This is very critical

Oh I didn't know it was that easy. If all you have to do to keep a server running is say "stay running, it's very critical" then of course no one needs any managed services. Outages are solved forever.

Completely worthless advice from a text file written by... I'm sorry who is this person and what authority do they have?

Re:The Cloud by nostrademons on Wednesday August 07, 2019 @06:32PM (#20639907)
I wouldn't go so far as the author when recommending tech stacks for startups or hobby projects. The main benefit of cloud providers is that you don't have to learn and pay attention to all the stuff he lists, and you can focus on building the software you want to build.

But I do think he's performing a useful service in highlighting just how much you're paying for not having to hire a devops or sysadmin person. 10x performance differentials have been replicated not just by him but in other benchmarks. I remember seeing a chart when I was still working at Google and GCP was being justified that showed a graph of hard disk prices vs. S3 rates - since inception (2007-2012 at this time), S3 rates had gone down by a factor of about 2-3x, but price/GB of physical hard disk space had gone down by ~100x. Amazon is hiding all of this improvement in the physical hardware behind vCPUs and opaque billing, and it becomes pure profit to them.

I'm surprised more mid-size companies - those with AWS bills in the 6-figure-per-month range - don't leave the cloud, get physical hardware, and pay some sysadmins. At that level you could easily afford them, and you probably can get old Linux greybeards cheap now that everyone thinks the job description is obsolete.

Re:The Cloud by Slartie on Wednesday August 07, 2019 @06:45PM (#20640001)
> I'm surprised more mid-size companies - those with AWS bills in the 6-figure-per-month range - don't leave the cloud, get physical hardware, and pay some sysadmins.

I'm not surprised at all: that's thanks to the beauty of lock-in effects. Especially all those cloud-specific managed services make it really hard to switch, and even if you are treating the cloud as a pure VM platform, it is considerable work and risk to switch to a self-managed bare metal setup.

Basically, if you don't start bare-metal (incurring having to assemble the necessary know-how to do so) you will have a hard time to get clean from the cloud drug later on, when you think you're ready to afford having the know-how. I think this aspect has been a main driver behind the linked article.

Re:The Cloud by rzzzt on Wednesday August 07, 2019 @07:22PM (#20640267)
This is why I'd really like to see projects like Eucalyptus take off, along with (possibly) some standardization of "infrastructure API": https://www.eucalyptus.cloud/index.html
Re:The Cloud by derefr on Wednesday August 07, 2019 @06:50PM (#20640034)
S3 isn’t a hard disk; that’s EBS. S3 is ~17 copies on object-level-mirrored hard disks (allowing a choice of different mirrors per object, preventing overloading and rebuild degradation) attached to a lifecycle event queue, a load-balanced webserver cluster, and an async tape archive.

S3 costs pretty much what that infrastructure costs to run yourself.

But certainly, go ahead and run a Riak CS cluster (plus those other things) on top of some Herzberg servers, and try to outcompete S3 on price. I—and many others—will be waiting. :)

Re:The Cloud by paulddraper on Wednesday August 07, 2019 @07:09PM (#20640164)
The cost of S3 is pretty dang cheap for advertised 99.99% available, 99.999999999% durable storage: $0.02/GB/month.

And that's ignoring the Glacier storage class (which probably didn't show up on that historical graph), which is a fifth of that.

Re:The Cloud by votepaunchy on Wednesday August 07, 2019 @08:02PM (#20640520)
> And that's ignoring the Glacier storage class, which is a fifth of that.

And Glacier Deep Archive is a further fourth of that.

Re:The Cloud by cobbzilla on Wednesday August 07, 2019 @07:25PM (#20640294)
Bandwidth prices vary widely and some are bad, so the “all in” price can be hard to figure. It’s definitely cheap to let your data just sit there. Move it anywhere — it might get expensive.
Re:The Cloud by paulddraper on Wednesday August 07, 2019 @07:35PM (#20640355)
AWS charges $5 per million write requests, $0.40 per million read requests. Inbound bandwidth is free; outbound bandwidth ranges from free (within same AWS region) to $0.05/GB for public internet at scale.

The latter number can be pricey. But, irrelevant with respect to the failing costs of hard drives.

Re:The Cloud by dekhn on Thursday August 08, 2019 @10:48AM (#20645075)
BTW, I use a wonderful tool called goofys that lets you mount S3 buckets as local volumes. There are a number of constraints (can open for read, or write a file once) but it works well for a wide range of legacy applications.
Re:The Cloud by rsync on Thursday August 08, 2019 @11:25AM (#20645405)
"BTW, I use a wonderful tool called goofys that lets you mount S3 buckets as local volumes."

You may be interested in the 'rclone' tool which does all of these things, and more, with all of the cloud providers:

https://rclone.org/

Re:The Cloud by acdha on Thursday August 08, 2019 @11:28AM (#20645424)
You might want to highlight that rclone has FUSE support – you have to scroll down the page a bit to learn that your comment wasn't comparing unlike things:

https://rclone.org/commands/rclone_mount/

Re:The Cloud by dekhn on Thursday August 08, 2019 @11:46AM (#20645573)
Does it work better than goofys?
Re:The Cloud by jasode on Wednesday August 07, 2019 @06:59PM (#20640095)
>The main benefit of cloud providers is that you don't have to learn and pay attention to all the stuff he lists, [...] I'm surprised more mid-size companies - those with AWS bills in the 6-figure-per-month range - don't leave the cloud, get physical hardware, and pay some sysadmins.

$12 million/year for cloud seems like a high enough threshold to go internal but I'm not even sure that's enough money to sway executives away from cloud.

The main issue is that internal IT departments at corporations have slow service from the IT staff compared to AWS/GCP/Azure and its engineers. Corporate IT departments typically don't treat their coworkers in other departments as internal customers. Instead, they treat them as adversaries and a nuisance.

That's why at non-tech corporations, the first group that experimented with the new AWS cloud service were the development teams. They got fed up with IT service backlogs waiting for new dev/sandbox/text servers. They got tired of waiting for IT to requisition a server and then install the os, db, etc. If the programming manager then asked IT to install an Oracle update, the IT department might say "well, Susan our db admin is on vacation till next Monday so we'll get to it then." Those kinds of inter-department interactions were frustrating to the internal customers of the IT department. With AWS, the programmers got their sandbox servers in spun up minutes instead of weeks or months. Once the dev teams were sold, the more risk-averse and mission-critical production workloads eventually moved to AWS too.

The author of this article doesn't seem to understand the dysfunctional relationship between internal IT and their coworkers they serve. It's more about responsiveness and iteration speed of the AWS/GCP/Azure employees' vs the IT employees than expensive AWS EC2 compute power vs cheaper internal racks of cpu.

E.g. The Guardian pays AWS more for cpu+diskspace+network than what they can build on their own. That's the raw hardware costs. But it doesn't matter because Guardian's internal IT staff with an internal cloud stack just can't match AWS: https://www.computerworld.com/article/3427004/the-guardian-g...

To me, it totally makes sense for Dropbox to migrate off of AWS to save money. They're a tech company and have the engineering culture to do it. A lot of non-tech companies (like The Guardian) don't.

Re:The Cloud by zrm on Wednesday August 07, 2019 @07:34PM (#20640348)
> With AWS, the programmers got their sandbox servers in spun up minutes instead of weeks or months.

That's how it starts but not how it ends.

Once you move everything to the cloud, the same IT staff get put in charge of it. Because they have a requirement from somewhere up high to make sure everything has antivirus on it, and there is a Windows domain for the desktops so the servers need to be in it too, and they want to have a test environment with specific versions of specific software matching the ones in production which means you have to use the corporate VM images instead of the AWS ones and have IT go through their VM provisioning checklist for each new instance, etc.

And some of those reasons are bad and some of them aren't, but either way they exist, so if you want to provision something from AWS now it has to go through IT who takes just as long as they ever did to do what amounts to the same thing as before only now it's more expensive.

Re:The Cloud by johngalt on Wednesday August 07, 2019 @08:43PM (#20640768)
Counterpoint from someone who did developer support back in the pre-cloud days.

Even pre-virtualization, I could instantiate servers very rapidly with network based imaging. With pre-staged templates of various os/program combinations. Applied them to both lab and production deployment. So that Dev, QA, and Prod could all work from the same base images. With versioning of the images based on patch level.

Then I would subsequently get blamed for every program error by the dev team. With no other justification than "it worked in the lab. Fix your server!" Running a packet analyzer, I would often find things like queries trying to go to a lab db server rather than prod. Or a dependency on an out of date/unpatched/vulnerable version of some supporting software that the development team would then attempt to pressure into production rather than update their code.

For every obstinate sysadmin you've encountered, there is an ops pro who has received a ticket with nothing but a list of compiler errors combined with 'pls fix asap'.

Re:The Cloud by clhodapp on Wednesday August 07, 2019 @07:12PM (#20640187)
>Corporate IT groups typically don't treat their non-IT coworkers as customers. Instead, they treat them as adversaries and a nuisance.

One deep problem with the "internal customer" model is that you don't get a larger budget when you serve your "internal customers" better.

Re:The Cloud by GFischer on Thursday August 08, 2019 @06:04PM (#20649319)
I have replicated the performance differentials (for Azure), and they definitely suck.

But people are REALLY REALLY expensive (not only the ongoing costs, but hiring, firing and overhead), and Cloud has another huge advantage: accounting tricks (which help a lot to said midsize firms).

Literally one of the first things they teach you at the Azure training is the difference between CapEx and OpEx: https://docs.microsoft.com/en-us/learn/paths/azure-fundament...

Re:The Cloud by ianmobbs on Thursday August 08, 2019 @08:03PM (#20650179)
Re:The Cloud by spydum on Wednesday August 07, 2019 @06:43PM (#20639986)
because saying your business is built for and in the cloud gets you investors and street cred. further, if you are having a bad quarter, you can squeeze your infra to lower opex. If you built all onprem, you had to invest capex heavily upfront, and you can't slow down your opex very much in the bad times.
Re:The Cloud by wyclif on Thursday August 08, 2019 @12:43AM (#20641910)
I know the CW is that sysadmin/devops is being automated away, and a lot of people think programming is about automating all the things (or at least as much as you can), but doesn't what you're saying prove that they aren't obsolete for large-scale providers?
Re:The Cloud by jumpman500 on Wednesday August 07, 2019 @06:28PM (#20639874)
I think you’re right. But I think you and the OP are probably coming from different perspectives. Yes if you have frequent scaling issues you probably need the cloud. But a lot of companies shouldn’t have ever have scaling issues and are buying into the cloud to be hip. Just like Hadoop and other big data technologies they didn’t need in 2014.

Ya just gotta know your business needs.

Re:The Cloud by notatoad on Wednesday August 07, 2019 @06:52PM (#20640045)
But how many companies are never going to have scaling issues, and also have the resources to hire a good in-house sysadmin to manage their servers? And sure, maybe you have somebody on staff who can handle the sysadmin duties now, but what if they leave? Do you still have the resources to maintain your own servers?

The author's advice is good for basically one scenario: a personal hobby project run by somebody who already knows they would prefer to run their own servers instead of use a cloud host.

Re:The Cloud by jumpman500 on Wednesday August 07, 2019 @08:47PM (#20640793)
> But how many companies are never going to have scaling issues, and also have the resources to hire a good in-house sysadmin to manage their servers?

The ones that know how hire good people. If a company can’t hold on to talent then they’ll probably fail eventually. Cloud won’t fix bad management.

Re:The Cloud by eridius on Thursday August 08, 2019 @04:02AM (#20642679)
You need good people before you can hire good people. If you don't already have any sysadmins on your staff, how are you supposed to identify the good sysadmin candidates from the bad ones?
Re:The Cloud by jumpman500 on Thursday August 08, 2019 @08:29AM (#20643857)
Interviews and recommendations from other talented people in your company. Nothing is gonna be perfect. Not ever company is gonna succeed.
Re:The Cloud by chovy on Wednesday August 07, 2019 @06:53PM (#20640050)
I agree, this guy looks like he's referring to startups with less than 1M views/month. You can get a $20 vps with scaling for that kind of traffic.
Re:The Cloud by intc on Wednesday August 07, 2019 @10:31PM (#20641301)
> Man I wish HN had a downvote option for articles that are just not worth reading.

I have to strongly disagree with this sentiment. Thoughts which are against mainstream deserve to be visible and thus open for debate.

My company for example decided to go with our own production hardware. I'm not saying it's easy. But it's doable. And very educational. =)

One has to remember that running your systems on 3rd party cloud provider will not strip you from responsibility and/or software maintenance cycle which usually presents most of the "human workload". Their nines are not yours.

According to my experience with two reliable machines (redundant PSU's etc) one can create a very reliable service platform. Using correct kind of management tools of course is essential. RAID disk system and a reliable backup arrangement are essential too.

We used Ganeti (https://en.wikipedia.org/wiki/Ganeti) in our 1st generation setup. The next generation will use our own manager (Deux).

Re:The Cloud by JMTQp8lwXL on Wednesday August 07, 2019 @06:15PM (#20639743)
A $200 DIY hardware cost (equivalent cloud price quoted as $5000 in the article) suggests that, for $4800/mo, you too can do Dev Ops yourself. For a lot of people, that proposition is a hard pass. You want enterprise-grade backups. If your availability drops, your business will lose credibility.

Also, good luck finding a Dev Ops engineer for $57,600 a year.

Re:The Cloud by gbuk2013 on Wednesday August 07, 2019 @06:48PM (#20640012)
Good luck finding a Cloud Engineer for that money to manage your cloud-based infrastructure. ;) Because it’s not going to manage itself, not if you are doing anything remotely complex. And even if you are not doing complex things, DYI is only for techies, cloud or not.
Re:The Cloud by stickfigure on Wednesday August 07, 2019 @06:59PM (#20640087)
That depends on your definition of 'cloud'. If your app fits into existing PaaS models (Google App Engine, Heroku, et al) then you can dispense with the ops/devops team entirely. Yeah, they're expensive, but nowhere near as expensive as hiring.
Re:The Cloud by derefr on Wednesday August 07, 2019 @07:00PM (#20640098)
You’ll have infrastructure deployment engineers no matter what you do. But you’ll only need infra ops staff (as opposed to application ops staff) if you’re running your own infra.

There’s nobody you pay, in your own company, to sit around watching S3 or Lambda or SQS for degradation. That ops service is part of AWS’s job that you pay for through each service’s fee structure.

Re:The Cloud by gbuk2013 on Wednesday August 07, 2019 @07:08PM (#20640155)
Except, TFA talks about renting a server rather than running your own infrastructure. ;) Sure, with AWS there is less work to do (if you have the skills to set it up in the first place, or it’s £££ time) but TFA is right in that you get much worse performance per £.
Re:The Cloud by ElFitz on Wednesday August 07, 2019 @06:22PM (#20639829)
Not even really 57,600$. Over here, a person costs their company 1.5x the salary written in their contract (and nearly 2x their "take-home" salary). And most developed countries have something similar (more or less).

So the salary we're really talking about actually is less than 40k a year.

Good luck ^^'

Re:The Cloud by ht85 on Wednesday August 07, 2019 @08:17PM (#20640628)
Comparing it to a full time job is not really fair.

From my experience, doing sysadmin for a single server only takes time initially. You might spend a couple weeks full time to get everything going, but 6 months in it's probably only a couple hours a week.

Re:The Cloud by ryandrake on Wednesday August 07, 2019 @06:21PM (#20639816)
I’m glad HN doesn’t have downvoting for articles. It’s probably one of the reasons we still have such a good diverse range of article topics, including controversial ones.

Add downvoting and the article queue would quickly become the same groupthink-swamp that the comments section has become.

One of the nice things about HN is you can still find articles that are against the grain and have topics that challenge the comments section’s “one correct opinion”.

Re:The Cloud by symmitchry on Wednesday August 07, 2019 @06:52PM (#20640044)
Incredibly ironic that your perfectly useful & reasonable reply is being downvoted.
Re:The Cloud by segmondy on Wednesday August 07, 2019 @07:35PM (#20640351)
The internet worked pretty well without Cloud. I reckon a good 90% of the businesses out there don't need cloud, and all that crap about capacity. The issue is that admin cost is very expensive. To get your own network pipe, have someone wire it up, setup your routers, firewall, do backups, etc. That costs tons of money. So even for a small business that can run fine of a raspberry pi, the knowledge to run onprem is so expensive that it's cheaper for them to pay $1000 a month and go to the cloud than pay network/sysadmin $50k a year.
Re:The Cloud by x0x0 on Wednesday August 07, 2019 @06:39PM (#20639960)
I would bet the vast vast majority of aws customers are not there because of the dynamic resource scaling. Rather, they're there because aws has become the default system provider. At least for the sfbay startup.

I agree, they are very expensive for what you get at any even modest scale. (Except for s3 which is absolutely amazing). However, if you want to run your own stuff, you're buying into knowing the details of how it works. eg you better understand what vacuum is for pg, and how it interacts with availability, and be willing to create backups, etc. AWS does do real work; it's just expensive.

Re:The Cloud by themattress on Wednesday August 07, 2019 @08:32PM (#20640716)
At one of my previous gigs there was a big push to get out of the colo and into the cloud, part of which because of perceived “cost savings” vs running our own hardware. I think most of it was “everyone else is moving to AWS”.

All I know is we never had a $30,000 “oopsie” in the data center because a dev left a bunch of stuff running they should have shut down.

Re:The Cloud by tfha on Wednesday August 07, 2019 @07:02PM (#20640113)
There are many aspects of our business that are in the cloud today that I am confident do not have scaling challenges, would be just fine running out of a single VPS.

We aren't going to suddenly have 20x employees one day, a lot of our infrastructure is highly predicable and stable in load and demand.

Some things need instant scaling, sure. But not everything that's in the cloud does.

Re:The Cloud by manigandham on Wednesday August 07, 2019 @09:14PM (#20640962)
Scaling is not the only thing a cloud offers. And you can get a single VM from any cloud.
Re:The Cloud by adito on Wednesday August 07, 2019 @10:57PM (#20641439)
> Completely worthless advice from a text file written by... I'm sorry who is this person and what authority do they have?

I know you hate their opinion, but also attacking the character is kinda unnecessary. Can we just not?

Re:The Cloud by rolph on Wednesday August 07, 2019 @11:53PM (#20641698)
the OP is the person who wrote the blog. or zulgan on HN
Re:The Cloud by rolph on Wednesday August 07, 2019 @11:38PM (#20641634)
RE: >> I'm sorry who is this person<<

https://github.com/jackdoe/txt.black/#start-of-content

https://txt.black/~jack/

In other words this is the OP "zulgan"

user: zulgan created: July 11, 2018 karma: 530 about: https://scrambled-eggs.xyz https://baxx.dev https://github.com/jackdoe

Re:The Cloud by ay on Wednesday August 07, 2019 @08:54PM (#20640833)
Their point (in my interpretation) is with bare metal you can get more capacity than you need, for cheaper.

With some cloudflare-ing you could quite easily get away with a single origin server in Germany, too. The latency from a rails app is probably higher anyway.

My anecdata with hetzner - 1.5 decades of lightly used servers for hobby project. One power supply failure resolved in a day. They have some quirks, but.

If you truly have to scale out, sure, cloud is great (sort of). But you can engineer your solution to take the benefit of both, you win.

Re:The Cloud by m463 on Wednesday August 07, 2019 @07:04PM (#20640127)
Some people buy cars, some people lease them, some people rent them, some people uber.

I think there are valid reasons for each viewpoint.

Re:The Cloud by sandino on Wednesday August 07, 2019 @06:30PM (#20639895)
I'm sorry who is this person and what authority do they have?

His "homepage" is a raw directory dump with a high-contrast black background (the preferred color scheme of 10x engineers).

Isn't that enough authority for you?

BTW if anyone knows of more nuanced explorations of Cloud v. DIY tradeoffs -- we all know there's a tipping point in favor of the latter, somewhere -- please do share.

Re:The Cloud by freehunter on Wednesday August 07, 2019 @06:48PM (#20640016)
>more nuanced explorations of Cloud v. DIY tradeoffs

100% agree. This article goes so far as to be farcical, but that doesn't mean there isn't something worthwhile to be had in the conversation... as long as that conversation was framed appropriately. Especially around cloud value-adds like managed databases and Lambda and security technologies like CloudWatch/Trail.

I'm the sole (part-time) dev-ops resource for a very small company and we (by which I mean I) DIY just about everything running on a small VPS on DigitalOcean. I run my own database and manage my own dokku and user access etc. I use S3 and have dipped my toes into Lambda but I always wonder if I'm missing out on something not using cloud technologies more heavily.

I would absolutely love an analysis of what cloud technology companies SHOULD be using and at which point they become or are no longer worthwhile in favor of an alternative.

Re:The Cloud by macspoofing on Wednesday August 07, 2019 @06:20PM (#20639810)
>Now for a show of hands, how many companies does this describe?

Honestly? Lots.

Re:The Cloud by freehunter on Wednesday August 07, 2019 @06:29PM (#20639883)
Luckily my comment did not end there and I continued with several more rebuttals.