4 ms·
in that they may seem convenient or "auto scale" but the price premium is tremendous, especially at scale. How do they compare with paying for that capacity ove
by scarface74 8y ago
in that they may seem convenient or "auto scale" but the price premium is tremendous, especially at scale. How do they compare with paying for that capacity over EBS?
Like a lot of things dealing with autoscaling - lambda, Fargate (serverless Docker), serverless Aurora - autoscaling saves money when your demand is really spikey and even then you have to do a cost comparison.
For Linux instances, you get per second (or minute?) billing so the cost of bringing instances up and down isn't that expensive. For Windows instances, you are always billed by the hour.
*
[2] Not that it matters much if one is limited to 10Gb/s or even 40Gb/s (if you can get it) EBS volumes.
*
The fastest throughput that I am aware of with EBS is 500MB/sec without doing RAID (https://aws.amazon.com/about-aws/whats-new/2017/12/amazon-ebs-provisioned-iops-ssd--io1--volumes-now-support-32-000-iops-and-500-mbs-per-volume/ https://aws.amazon.com/about-aws/whats-new/2017/12/amazon-eb...)
Of course instance storage is faster (https://gist.github.com/ktheory/3c3616fca42a3716346b https://gist.github.com/ktheory/3c3616fca42a3716346b), but is that a thing people do for databases?
- mmt 8y ago> autoscaling saves money when your demand is really spikey Indeed. I've found the spikiness ratio (if that coined term makes sense) to be 2x-10x for AWS in general, and I was wondering if you (or anyone else) had a sense of how much that increased for these more premium services. > and even then you have to do a cost comparison. I have rarely seen this done, and, when I've talked to people attempting it, the common complaint is that AWS doesn't make it easy. > The fastest throughput that I am aware of with EBS is 500MB/sec without doing RAID Yes, per volume. I was, perhaps, too terse in my footnote. I was referring to the maximum throughput per EC2 node. Considering 40Gb/s would be saturated by about 10 of these, that's not very much. Real hardware can handle quite a bit more than 10 such SSDs attached. > Of course instance storage is faster (https://gist.github.com/ktheory/3c3616fca42a3716346b https://gist.github.com/ktheory/3c3616fca42a3716346b), but is that a thing people do for databases? I would hope so, but probably not in general practice, as it would require too much specialized knowledge. The main problems are that it's ephemeral and very limited in quantity. The impact of the former is reduced by the latter, of course.
- scarface74 8y agoI was wondering if you (or anyone else) had a sense of how much that increased for these more premium services. I’m first and foremost a developer, I play the role of the “resident certified AWS Architect” when necessary. But the only time I concern myself with cost is when the CTO - who is also pretty knowledgeable about AWS - calls me into his office to complain....
- mmt 8y agoI'm confident that situation is far from unusual, and it's my theory as to why AWS is so wildly succussful. For all the lip service given to "you have to do a cost comparison", it doesn't happen in practice.
- scarface74 8y agoI don't see AWS saving money over a well run self hosted data center as far as computer resource costs. The issue is, there are relatively few people that can run a data center well compared to the number of people who need servers to run thier business. The cost of hiring people to manage local servers is higher. For a small company, you can get away with one or two devs who also have AWS training and outsourcing your heavy lifting to an APN that charges around 10% of your monthly AWS cost. They usually outsource the grunt work overseas or do "rural sourcing" if regulations don't allow overseas access to the data. Also, you don't spend as much up front. If you are running a well run business. Your expenses on AWS should scale a lot slower than your revenue.
- mmt 8y ago> The issue is, there are relatively few people that can run a data center well compared to the number of people who need servers to run thier business. I don't think that's true, other than as a result of a self-fulfilling prophecy. > The cost of hiring people to manage local servers is higher. That, there, is the falsehood at the root of the prophecy. I keep reading comments on HN of the form "and then we'll have to hire 5 sysadmins for those 200 physical servers" but they're invariably from people who have done nothing of the sort. From personal experience, the incremental effort for dealing with the physical part takes up around a quarter of a full-time Ops person's time at that scale [1]. Even at high salaries, that's less than any cloud premium. Perhaps more importantly, the vast majority of those skills aren't difficult and could easily be imparted onto a lower-cost employee. Of course, the idea of providing mentorship or career paths for junior employees is anathema in today's environment, especially in smaller companies. None of the other Ops labor costs go away, and, judging by salary ranges in SFBA job postings, AWS-expert Ops folks are 10-15% more expensive. > Also, you don't spend as much up front. I routinely hear and read this argument, as well, but, given the huge price premium of AWS [2], it doesn't withstand scrutiny. If the price premium is 6x [3], that means paying the equivalent of the "up front" cost to AWS in 6 months. It might just feel emotionally easier to have it spread out over half a year rather than having to write a big check all at once. All that said, I wouldn't advocate an early startup (or other small company) doing anything but cloud or VPS. > Your expenses on AWS should scale a lot slower than your revenue. The issue is, there are relatively few people that can run AWS well compared to the number of people who use AWS to run their business. [1] and tends to scale very sub-linearly, often logarithmically if there's low diversity in model/configuration, with number of servers [2] GCP has slightly better pricing and some VPS providers are remarkably better, but I posit cost (up front or not) is never a real consideration and so these aren't even brought up in conversation [3] For various workloads, my analyses have fallen in the range 2x-10x, assuming 3 year contracts, 3 years of use out of the hardware, and zero residual value. Yes, that's all-inclusive, even of my own labor. 6x for just the hardware (up front) portion is about right for typical workloads.