Which is less expensive: Amazon or self-hosted?
gigaom.com
gigaom.com
He also neglects to weigh in ordinary web hosting with dedicated servers... 131 (based on the alleged equality between vps and dedicated) $300 boxes hosted by someone else with 2x or more cpu, 2x the required bandwidth and all that dedicated disk io for a full $30,000 per month less than AWS, $20,000 per month less than the calculated self hosting (which includes amortized cost of buying the servers), and outsources the physical maintenance of those servers. Not to mention regular old big VPSs at xyzhostingcompany.
After everything it reaches the very predictable ending that AWS is worth it if your requirements are variable.
Its overpriced and underpowered. Linode, RackSpace, and many other VPS providers perform better and are a much better value.
To me where it makes sense to go with a dedicated or self-hosted solution is when you start needing servers with lots of RAM, because all of the VPS providers will gouge you when you need RAM. They will charge much more per month for the server than the cost of the extra RAM chips and CPU and you will have paid for the server within a couple of months.
I think that VPS providers will have to start lowering the prices for their higher RAM instances pretty soon because RAM prices have gone down so far.
Pricing of VPS and dedicated servers scales with RAM but is entirely unrelated to the cost of RAM chips. Hosting companies use RAM as a proxy for their real costs -- power/cooling, hardware wear/replacement, bandwidth and support. There's a strong correlation between the amount of RAM a customer purchases and the hardware utilization of that customer, that's why the industry has converged on that component as the main factor in pricing.
Thinking that these companies charge $25/gb/mo for RAM has anything to do with the cost of physical RAM (which would be paid off in the first month) is a mistake.
I'm frustrated as anyone with the difficulty of finding affordable high-RAM instances/servers without colocating, but complaining to the host that their pricing should change because of the price of physical RAM won't get us anywhere. That's not how they set the prices.
When systems can support more memory (and adequate cpu to utilize it) per watt, then pricing should decrease.
When targeting an environment where CPU usage is cheaper than a 30GB hash table, I'll choose the CPU usage. It's very simple. I am not actually commenting on anyone's empirical observations, theoretical, imagined, or otherwise.
Consider a double extra large high memory ec2 instance - it costs you $6093/year for 4 cores and 34gb ram.
On softlayer, a dedicated quad core xeon processor with 32gb ram costs about $12,600/year. I imagine the CPU speed and disk IO on softlayer is better than the EC2 instance, but for many workloads (read: memcached/redis/giant in-memory calculations) that doesn't matter so much.
I believe people feel more in control of the buy process if they can make autonomous decisions and pay right away. No commercial chat, no nothing.
Whether the service is overpriced or underpowered this is not a problem until the buyer does not recognize it as such.
Only when the buyer gets burnt hard, only than he starts to consider other points like: really ad-hoc configurations, support (if they are not enough skilled on sysadmin tasks), the legislation under which the data resides (being italian and hosting on AWS I need to take this into account too), and also price.
However where it (and Rackspace + others) shine is using the API to spin up instances for jobs in scripts, or have your monitoring automatically spin up additional instances to scale up when load increases.
As to RackSpace I don't trust any tech company who has a 7:1 sales rep to engineer ratio. They are overpriced in all of their services, especially their managed dedicated servers (seriously, why does it take a week to have a server installed? it takes a week because they literally have a guy go out and image servers by hand. do you really want to wage your company's future on that sort of incompetence? I don't)
I've been using them for a couple of years on small- to mid- sized projects and am very happy. My needs aren't elastic at all, though.
2) Scaling is someone else's problem. For static objects, S3 can handle traffic spikes orders of magnitude beyond what would bring your Linode to its knees (and there's their CDN option on top of that). Spinning up a new server on AWS (or a hundred servers, or a thousand) to handle a sudden burst of traffic takes a minute or less, and you can turn them off in an hour if the traffic dies down, paying only for that hour. Spinning up new servers on Linode may or may not be possible at any given time, and you have to pay for them for a whole month.
Running your own or VPS is cheaper for predictable, steady loads, AWS can be much cheaper and more reliable for unpredictable loads.
It's worth having AWS in your toolkit in case you get that front-page post on HN, TechCrunch, Slashdot....
Handling your base load with AWS is ludicrously expensive compared to the alternatives.
And the upside of having your system set up to be able to make use of a cloud provider with instance instance spinup in your toolkit is that it increases the cost gap:
Whereas if you go dedicated only, you need to be able to handle reasonable spikes on what you pay for on an ongoing basis, if you can spin up AWS or other cloud instances as needed, you can push your dedicated boxes far closer to max utilization than what you otherwise would.
Yes but the cost is tiny compared to paying some engineers to do all the hard work replicating what AWS offers on top of some alternative like Linode or whatever.
If your hosting costs are huge part of your costs, you're doing it wrong (or are very very successful, Google/Facebook scale).
That said, we're currently moving from a dedicated server to AWS, after we had a bit of nasty downtime. We have dedicated servers with 1and1, and the RAID in our server died and striped bad data all over one of the disks, slashing half the files with junk. 1and1 tech support refused to acknowledge the problem (and claimed we had software RAID setup…) and it took us a few days to get back online from our weekly backups.
What I'm hoping from Amazon as a cloud provider is handling failure better: With 1and1, a failed machine means a few days getting a new one, or paying double for a hot spare. With Amazon, even if dead instances happen more often, killing it and spinning up a new one is trivial, and can even be automated. Backups can be made much more often non-intrusively by using snapshots.
For reliability's sake I also like the idea of having a few small instances behind Elastic Load Balancer instead of one beefy machine. I haven't seen anything like ELB with a dedicated hosting provider (aside from using an actual load balancer, which is a very expensive proposition).
Of course, not having to plan your capacity so far in advance and being able to start small and scale out at the drop of a hat if something on your server goes viral is a really exciting proposition as well.
If you want to take advantage of AWS for spiky use, you need to automate the heck out of starting and stopping instances, redistributing requests to new machines, etc.
Horror stories about EBS make me think that you'd better reconsider storage if you're hosting everything with AWS too.
Of course, the flip side is that with a totally self-hosted system, you'll probably need more sysadmin work, and you may end up spending money on things like remote hands when a drive fails or a network card dies.
Then there's managed hosting. You don't have the super awesome scaling magic of AWS, but you don't have to deal with the physical bits much either. And you still get real physical hardware attached directly to each system when it comes to storage.
I think that really understanding the costs is a lot more complicated than this article suggests.
The thing is, this is not difficult to do with AWS:
$ ec2-run-instance ami zone --user-data-file spin-up-a-new-webserver.sh
...(you need to parse this for the instance id)...
$ elb-register-instances-with-lb $LOAD_BALANCER --instances $INSTANCE_ID
(In real life, use Boto (Python) or equivalent in your language.)Once the new instance comes online and is legitimately serving up pages, the load balancer will begin redirecting requests to it.
This is why we use amazon - handling stuff like this is just a matter of calling their utilities.
Scaling in AWS is a piece of cake and gives you a lot of flexibility but when it comes to performance, especially RDBMS, I find AWS to be far behind. Some will say that you can scale the service to provide good RDBMS performance but that will not avoid the per instance disk IO slowness.
OVH is building one of the most advance networks with over 1tbps. Their 10gbps servers can actually push 10gbps which just gets me really excited.
Competitive providers exist in the US. I just don't think anyone is as advance as OVH in terms of price efficiency so I'm no expert on them.
If you care if your website is up there are other costs when doing a colo. You should have spare for every component which nearly doubles your hardware cost and have someone on call for sys admin and hands-on fixes.
* Getting into a data centre is costly and difficult without venture funding
* When stuff breaks, i need someone to go fix it...just too expensive and time consuming
* I want predictable expenses because we dont have a lot of money, not having to pay for repairs...and being able to create new servers easily myself gives me this
I can see how we may need to move away from AWS down the road to reduce costs, but honestly i'm not convinced its going to be the difference between success and failure.
Given what AWS provides in the short term, unless you're talking expenses of 40K/month i wouldnt even waste your time with self hosting. System administration (Hardware) is very expensive...
Edit: I should also note we need lots of geographical locations, so we're a little different in that regard. AWS again gives us an easily means of being in 7 locations without opening any additional accounts.
That being said, there are some edge cases. If you make extreme use of additional feature of amazon ( SDB/EIP/etc.. ) then the Amazon "bundle" could make it a better situation for you.
Im only writing this because I see so many HN'ers talk about "Well, I can spin up a extra large instance at any moment to handle extra traffic!" - The fact is, most of you dont do that. And even if you do, you would likely save money just being on a dedicated anyways. Cloud hosting is really for "overflow" and nothing more.
Again, Hourly billing- Cloud hostings biggest advantage.
At large scale, you're probably better off with a baseline dedicated + cloud for overflow, absolutely.
* Storage flexibility with EBS and S3
* instant migration abilities between instance sizes
* backup and restore
* provisioning of resources when needed
* staging, dev, test resources
SDB and ELB usage certainly aren't edge cases, they are core to many many deployments.
The provisioning flexibility alone is a tremendous benefit considering that most highly trafficked Web properties are not static environments. They constantly innovate and have demands for infrastructure that can really be challenging in a dedicated environment.
In our case, we use AWS extensively, but where we have been able to carve out a "static" set of resources, we do and host with 100TB.com - simply because they offer so much bandwidth for cheap and those static resources pump out a lot of bandwidth which isn't cost effective on AWS for day to day operations.
Edit: from a financial standpoint, if you choose to purchase reserved instances for AWS, hosting becomes far closer in costs benefits to dedicated environments.
I can't comment on the accuracy of your comment otherwise. Those who can, write content. Those who can't, nitpick semantics :)
But either way, yeah, you're being obnoxious because idiomatically "trivial" when applied to work fits fine and is easily understood for all of these scenarios (complexity, amount, and uncommon vs common).
I certainly wouldn't consider collecting all the trash in the LA metro area "trivial work" by the well-understood meaning of the phrase even though it is commonly done and it is easily broken down into non-complex steps.
I was strictly speaking on a financial basis. Hourly billing only pays off if you use it to constantly scale. If you are running your servers 24/7 then chances are you are better off on dedicated for some portion of your infrastructure.
* This doesnt apply for tiny sites that can get by running on a tiny linode for 20$ a month. However, once you are paying 100$/mo, every month, then this holds much more true.
I don't buy this. My experience is that the ops cost of a co-location facility are much more expensive than aws. The ops cost functions doesn't seem to linear as he is describing either.
People costs dominate early on and are a huge factor until you start to reach steady state and that's the variable that you need to optimize for.
Having said that aws is expensive. If dollars are worth more than hours to you, then yes, by all means host things yourself.
If you are taking advantage of the various services AWS offers, you can save development time. For example, if I can get up and running quickly using RDS and save a bunch of time compared to setting up replicated mysql, maintaining backups, etc, I'll gladly pay the extra cost.
The same goes for load balancers, memcached, etc. Sure, I can save money in the long run once I've established my app. Initially, I don't want to waste a bunch of time bringing these services up on my own.
Do you guys have automatic provisioning/pro-rated billing? Do you do any shady stuff like requiring cancellations two months in advance?
We're very upfront with our cancellation policies, which is 24 hours from when your bill is due (I can't imagine companies requiring a month or two in advance, that's absurd). Our reasoning is that if the service is easy and painless to cancel, people will be more than willing to order again.
Tilaa.nl is one company does the shady two month cancellation stuff. They suck.
It seems non-Linode VPS providers either have shady cancellation/retention policies OR lack auto-provisioning/pro-rated billing.
Our pricing model based around scaling horizontally, rather than vertically. There are always different requirements for every project, and that's why I'll never say that our solution will fit everyone's needs.
It makes little sense to compare your $8.99 package to anything, but you surely know that. What is the use-case for a box with 128MB RAM in 2012? Even the cheapest VPS providers (ThrustVPS et al) start at 512MB for $5.95...
Since your packages are sliced so small, a meaningful comparison seems to start only at your "high-end" (graviton).
For $180 USD you offer 3GB Ram, 6 cores on a shared box, 8GB SSD + 400GB S-ATA disk.
I'm sorry, but for the same amount leaseweb, hetzner, OVH will happily rent me a full, unshared E5540 (passmark 9600 instead of your ~3500), 16+ GB RAM and SSD.
I've seen many different uses for the 128MB node, either as backup servers, DNS servers, small web servers (nginx works amazingly well), private BSD development boxes, small-scale proxy servers, personal VPN servers, etc. I've also seen the 1GB of SSD storage used as cache for ZFS, which results in extremely low latency reads and writes. The 128MB node was initially offered because of demand and is actually one of our higher selling services.
Unfortunately, comparing the numbers from two different company offerings doesn't give the full picture on what either of them offer. There's a lot more that's included in our pricing, and you end up paying a bit more for new, under-utilized physical servers where you can actually use all of the resources provided with great disk I/O. There are a lot of providers out there who try to cram as many people as possible on a single box, and we're simply not one of them.
I appreciate you taking the time to write out your thoughts. If you have any more concerns feel free to put them here and I will try to address them the best I can. If you would prefer to discuss them in private, email me matt[at]ssdnodes.com
* Using us-west, the more expensive option
* Not including labor, which is signifigantly higher if you have to rack and stack yourself.
That being said, I agree with the conclusions. If you're traffic isn't spiky or variable, then you might be better off self hosting.
Those who are already self hosted use AWS to absorb traffic/computation spikes.
I'm approaching this more from the viewpoint of a webapp that might only need ~10 dedicated servers to handle peak load with redundancy rather than ~150, so our colo solution doesn't have servers constantly breaking on us.
For most of my other projects, I always use Amazon. But for this use case, there was no challenge by any other cloud/hybrid cloud service.
It wasn't for me.
http://codemonkeyism.com/dark-side-virtualized-servers-cloud...
I wonder how many nines of reliability that gives us?
AWS and traditional architectures are too much ops load, require too much specialized knowledge and have too many single points of failure. Plus if Amazon has terms you don't like (I personally won't do business with them given their treatment of wikileaks) your reliance on their protocols and services makes it non-trivial to migrate elsewhere... if you just use EC2 as bare machines, then there's no advantage to AWS over any other bare machine host (and a big cost disadvantage.)
I'm building a cluster of distributed three-times-replicated data on top of Riak. Every node is a web server, dns server and database node. Round Robin DNS distributes the load, and if a node goes down, I don't have to even get out of bed... it can wait til morning, because nothing should break. (Of course this is what I'm building, I can't say it has performed in production yet, so this is theoretical...)
I call this Nirvana.
The only SPF I should have is if the whole datacenter goes offline-- this is a legitimate risk, and once I get large enough to handle that risk, I'll upgrade to Riak Enterprise and host in 2 data centers.
I'm not certain I'm not missing anything, but I don't understand why I'm seemingly cutting new ground here-- this seems like the way everything should run. (and if you agree and are interested in Nirvana, follow me on twitter, I'll be open sourcing it as soon as I possibly can.)
If you're Foursquare and you can afford to double the cost of your infrastructure because you want some of the benefits of the AWS platform (and there are plenty of benefits these days) - then it's tremendous to say the least. Amazon is doing really incredible things with AWS.
If you're doing less than a million uniques per day, you can go get three tremendous machines, lasso them together, with a web server + main db + slave db, for between $800 and $1250. You can get 100tb of bandwidth on a 1gbps port (Amazon gives you none), dual 5645 Intel processors (or 2x16 core AMD), 48gb of ram on the db machines (96gb if you want to pay another $200 / month), with a RAID 10 config SAS 15k drives. That equivalent setup with Amazon would cost you $5k to $10k depending on what you config. You can get this setup from reputable hosts like WebNX and SecuredServers; if you want to pay more for a better host and get a little less, you can go with Rackspace or Gigenet or Softlayer.