News for hackers. Stuff that matters.
Re:Ask HN: Is your company sticking to on-premise servers? Why? by RhodesianHunter on Wednesday May 06, 2020 @09:55PM (#23098808)
> Cloud is great if your workload is variable and erratic

Or if you're just constantly iterating on a large product with many engineers. Those engineers' salaries almost always outweigh all of your cloud costs and so making them productive is cost effective. Things like SNS/SQS/S3/VPC/ELB/etc. save you countless hours and often make up for the increased cloud costs with increased developer productivity.

Re:Ask HN: Is your company sticking to on-premise servers? Why? by dahfizz on Wednesday May 06, 2020 @10:26PM (#23099018)
> Those engineers' salaries almost always outweigh all of your cloud costs

I think there is a divide here. Most people in this thread that mention cost as an issue are running some serious gear, and that does not come cheap. Your parent is running 70 servers plus some serious networking equipment, which is easily a couple million dollars. And he said that a cloud provider would 10x that cost.

If all you need is a little VM to run a website, cloud hosting is cheap. If you are running real infrastructure, a couple hours of developer time will never out-weight the astronomical costs of cloud hosting.

Re:Ask HN: Is your company sticking to on-premise servers? Why? by kelnos on Wednesday May 06, 2020 @11:12PM (#23099295)
Not sure that's universally true. We have probably tens of thousands of EC2 instances in our infra right now. Just the cost alone to build out on-prem infra and migrate things over would likely wipe out a half-decade or more of cost savings. And in the meantime our shift in focus would hurt our market position.

If we'd started in the beginning (11 or 12 years ago) with our own infra, I imagine our recurring infra costs would be lower right now, but I also suspect that our 3-person founding team would have failed to produce an MVP before their initial time and money ran out.

If I were starting a company now, I'd probably do things in a more "platform agnostic" way such that a cloud->on-prem migration might be easier. But I still never expect it'd be easy.

Re:Ask HN: Is your company sticking to on-premise servers? Why? by pvorb on Thursday May 07, 2020 @02:00AM (#23100140)
If you implement things in a cloud agnostic way you can also save a lot by choosing a traditional webhoster/server hoster. If you want your product to be cloud agnostic, you lose almost every advantage of the cloud.

That's the whole problem why we haven't seen a competitive reduction in prices between cloud providers, yet.

Re:Ask HN: Is your company sticking to on-premise servers? Why? by Aeolun on Thursday May 07, 2020 @12:23AM (#23099704)
> If you are running real infrastructure, a couple hours of developer time will never out-weight the astronomical costs of cloud hosting.

Over time, buying things yourself will always win out on cloud architecture, or the cloud business would be bankrupt.

Re:Ask HN: Is your company sticking to on-premise servers? Why? by waterhouse on Thursday May 07, 2020 @01:08AM (#23099916)
It would be theoretically possible for cloud providers, specializing in what they do, to gain from economies of scale of various sorts (having their own large purpose-built datacenters, needing less total redundant equipment to have the same replacement speed, having local servers in all parts of the world, being able to use nighttime idle cycles in servers in one part of the world for daytime customers on the other side), which could theoretically yield savings greater than the profit margin that they charge.

Not saying this is what happens in practice.

Re:Ask HN: Is your company sticking to on-premise servers? Why? by worldsayshi on Thursday May 07, 2020 @06:13AM (#23101406)
To me the economics of scale is the whole point of cloud. If vendors don't deliver on that promise and makes it more expensive than hosting it yourself they have fundamentally failed and there's no reason, market wise or utility wise, for them to continue in the long run.
Re:Ask HN: Is your company sticking to on-premise servers? Why? by twic on Thursday May 07, 2020 @06:20AM (#23101432)
These economies could only put cloud ahead if they were larger than the provider's profit margin. If cloud saves 10% in costs but charges you 30% in markup, it costs you 20% more.

AWS's margin is 20-25% (eg [1]). Is AWS's cost of goods sold really 25% lower?

Admittedly this calculation is tricky, because it's not clear what to include. Does that figure for AWS's margin include R&D? Should it?

[1] https://www.forbes.com/sites/greatspeculations/2018/10/17/ho...

Re:Ask HN: Is your company sticking to on-premise servers? Why? by winter_blue on Thursday May 07, 2020 @03:26AM (#23100601)
If one could come up with an estimate of how many hours per year it would cost to maintain (plus initially setup cost), and multiple that by $75/hr (a reasonable rate for a good engineer), then you could estimate how much it all costs.

I'd wager a guess that a properly-configured server won't actually cost that much to maintain. Unless you're frequently updating the OS and other stuff - but that's a software issue. I don't expect the hardware will fail that frequently at all. If there's a HDD failure, a good RAID system (with tolerance for 3 or 4 disks failing simultaneously) will alert you to it, and you'd grab the spare HDD (you should have a few spares), and pop it in, and the RAID would recover from the failure. What other hardware components frequently fail? RAM? CPU? Not really.

The engineer who sets up the server should be someone who is a generalist, and a full-time employee who when not tending to the server, works on other stuff (like the product). Then you have someone on staff who is familiar with the system, and can fix something that goes wrong, without needing to ramp up on it first. I know a lot of programmers would love to set up a server. Any who enjoys buildings PCs (which many generalist programmers do) would probably love to have a one-month project where they pick parts and set up a powerful server.

Re:Ask HN: Is your company sticking to on-premise servers? Why? by sokoloff on Thursday May 07, 2020 @07:16AM (#23101725)
In quarantine, I’m doing exactly that, fooling about at home with old enterprise gear you can buy seemingly by the pound on EBay now. It’s super fun and I somewhat enjoy getting all the power management right, all the networking setup, and ultimately running Proxmox and a bunch of small containers and VMs for things like Minecraft servers and file storage.

In my day job and my side projects, I’m 100% paying for AWS for 99% of our workloads. I choose to let Amazon deal with all the staff issues and all the other, to use their words, undifferentiated heavy lifting.

There’s some scale point at which you have to ask the question whether you ought to be in the cloud, but IMO if you think a cloud provider is only 50% more than you could DIY, you should probably be in the cloud.

Re:Ask HN: Is your company sticking to on-premise servers? Why? by RhodesianHunter on Thursday May 07, 2020 @01:07AM (#23099914)
That reads as fairly dismissive to me.

Most people running serious gear have serious engineering payroll overhead.

Sure, some folks are managing something fairly static like game servers, but many of us work for bigco with two dozen products and massive teams.

Even with thousands of ec2 instances we continue to move our on-prem infrastructure to the cloud because developer productivity saves us big money in the long run.

Re:Ask HN: Is your company sticking to on-premise servers? Why? by kortilla on Thursday May 07, 2020 @05:39AM (#23101250)
Does it actually save or does it just encourage waste by the developers and poor system design?

I’ve heard stories of companies having each PR spin up something like 20 ec2 instances to build up a whole deployment. A CICD design like that used to be a fireable offense. Now people see that and assume it’s saving them money because it would have bottlenecked before.

Re:Ask HN: Is your company sticking to on-premise servers? Why? by jameshart on Thursday May 07, 2020 @09:21AM (#23102657)
That’s a pretty extreme example of CI infrastructure, but okay... so what?

20 t2 mediums costs under a dollar an hour at list rates, and if you’re using a lot of AWS infrastructure can cost a lot less.

How much is the confidence that that PR will not break master worth to you? How many hours of engineer code review time would it take to achieve that same level of confidence in your build that spinning up 20 ec2 instances and running regression tests wins? How much would a failed deployment into production cost you, per minute?

Before you assume that it’s wasteful for any organization to throw cloud at a problem, realize there are many orgs for which a few hundred dollars of cloud compute spend per production release is an entirely reasonable trade off, not a firing offense.

Re:Ask HN: Is your company sticking to on-premise servers? Why? by kortilla on Thursday May 07, 2020 @01:34PM (#23105686)
> How much is the confidence that that PR will not break master worth to you?

That’s exactly the mental trap I’m talking about. Requiring 20 instances to try to mirror production instead of getting better testing in place is a sign of testing immaturity.

I have significantly less confidence in the products that use this testing strategy because it really means they don’t have much in place for testing infrastructure to stub things out, inject failures, etc.

And it’s not t2 mediums. It’s whatever is specced for production because we’re such good engineers that we want to test in a production like env, right?

> Before you assume that it’s wasteful for any organization to throw cloud at a problem, realize there are many orgs for which a few hundred dollars of cloud compute spend per production release

That’s not even close. It’s hundreds of dollars a day leading up to thousands per release with larger teams.

Re:Ask HN: Is your company sticking to on-premise servers? Why? by troupe on Thursday May 07, 2020 @09:14AM (#23102570)
So I've setup processes like you described where every PR would spin up 20 ec2 instances, run a huge number of parallel testing, and then shut itself down. The savings associated with developers getting feedback on a full regression test of the system in 20 minutes vs. 400 minutes was significant.
Re:Ask HN: Is your company sticking to on-premise servers? Why? by kortilla on Thursday May 07, 2020 @01:36PM (#23105708)
That’s parallelizing, which is not what I’m talking about. I’m talking about pointlessly building up huge environments that “match production”.
Re:Ask HN: Is your company sticking to on-premise servers? Why? by sokoloff on Thursday May 07, 2020 @07:09AM (#23101694)
If it spins those EC2 instances up, runs for a hour of “waste” and then turns off (or the alternate cluster turns off when no longer in use), it very likely is saving money. It might be saving money in that very moment; it might be saving money invisibly when “time to patch the servers again” is a complete non-event for staff time.
Re:Ask HN: Is your company sticking to on-premise servers? Why? by twic on Thursday May 07, 2020 @06:21AM (#23101438)
If you have ten thousand EC2 instances, you also have serious engineering payroll overhead.
Re:Ask HN: Is your company sticking to on-premise servers? Why? by C1sc0cat on Thursday May 07, 2020 @04:54AM (#23101059)
In that case Use Linode and not AWS - I ported a little POC system I had built to Linode and it cost 10x to run it on AWS.

Though I id get a understanding of the basics of AWS out of it probably not the best use of the share holders money

Re:Ask HN: Is your company sticking to on-premise servers? Why? by YarickR2 on Wednesday May 06, 2020 @10:22PM (#23098991)
No they don't . Things you mentioned are very easy to deploy on-premises, and they won't take more than one man month to deploy and maintain.
Re:Ask HN: Is your company sticking to on-premise servers? Why? by kelnos on Wednesday May 06, 2020 @11:06PM (#23099261)
That's an incredibly naive assessment and is absolutely not true in practice, except for perhaps for some orgs where the stars just happen to align to make that a reality. Most places heavily build "cloud" into their frameworks, tooling, hiring, and, well, everything. Even just swapping out a single hosted/managed component (as my company did a few years ago, replacing Kinesis with Kafka) can require a lot of up-front work[0] and on-going maintenance.

[0] Especially if you're already in production with the thing you want to replace, and want to transition without downtime for your customers.

Re:Ask HN: Is your company sticking to on-premise servers? Why? by RhodesianHunter on Thursday May 07, 2020 @01:13AM (#23099935)
I love that you think mature products that took teams of highly skilled people at Amazon years to refine can just be slapped together in a month in your colo.

What a joke.

Re:Ask HN: Is your company sticking to on-premise servers? Why? by pmlnr on Thursday May 07, 2020 @06:35AM (#23101516)
Riiight, because you don't need people to keep the cloud stuff configured and working /s