Hacker News new | ask | show | jobs
by oconnore 3109 days ago
The only confusing thing about this is: you’re cool with AWS but insist on deploying your own hardware for personal projects!

You can buy a lot of EC2 compute per month before you hit the cost of running outdated servers on your power bill.

4 comments

I have a 45W 9TB fileserver at home (5x3TB disks, RAID-6), which costs me around $5/month in electricity. Plus another $10 for the Crashplan backup.

I'm using around 3TB of space on it currently, which would cost around $70/month in S3 or $12/month in Glacier (in reality I'd use a combination of S3/Glacier so my costs would be somewhere between $12 and $70/month)

Granted, the hardware costs me around $25/month amortized over 3 years but my internet speed isn't fast enough (or unlimited enough) to let cloud storage be a viable replacement of a local fileserver.

Ok, so you're at 25/mo + 5/mo + 10/mo = $40/mo for self hosted. That's almost exactly "halfway between 12 and 70/mo". Plus, S3/Glacier and a backed up hard drive (even with raid) are nowhere near the same product.
But like I said, my internet bandwidth + quota is not high enough to replace my fileserver with cloud hosting, so I'd still have that expense -- and the $25/month fileserver also acts as a security camera recorder, a media server and a few other things, so it's more than a fileserver.

And yeah, S3 is not a fileserver replacement,AWS's best solution for that would be EFS, but that'd cost me $900/month for my usage.

Absolutely not true.

You can buy a 1u server with 2 processors / 24 logical cores and 32 gigs of ram off ebay for around $150.

Say what you have is 2x L5640 Xeons (pretty common, again on ebay). You'll be drawing 80-150W depending on load per cpu. Let's say it's on the upper end and you draw about 250W.

Average electric costs in the US are 12c/kwh. That means those cores will cost around $20/month.

In reality, other things draw power, but your average usage will be lower, so $20/month for 32GB of ram and 24 kinda crappy cores is about right power wise.

Look at AWS's pricing and tell me I can get anything even approaching that at such a good price point.

Came here to say this. Load up on $20 2TB SAS drives in an R510 or something like that, and you'll use a little more power, but also be beating the pants off AWS for cost/GB purposes.
Wait, where can you purchase 2 TB drives at $20 USD?
Yup. My homelab currently looks like 2 x HP Z400s for grunt work, and some HP microservers for light duties. When I'm not actively labbing, a microserver does daily home network duties (Pihole, firewall etc) and sips power.

All of this was acquired for bargain prices second hand. I'll probably sell it on in a few years for at least 50% of what I paid, too.

Comparing raw hardware with one of the dozens of services offered by AWS is absurd to say at least, as you’re basically ignoring the whole platform that enhances “EC2” - of course raw hardware price will always win, but that doesn’t really mean anything as the comparison isn’t a good one.
As a base problem of "I need fast storage and CPU resources" isn't necessarily solved in the cloud either. If you're deploying hardware that needs to write large amounts of data daily and requires high CPU availability, even if AWS pricing was ok, you're still connectivity bound, which itself is an increased cost. I can also see this being valuable for MSSP's deploying assets across client networks and wanting to manage encryption keys in the cloud, vs on prem.

None of the additional Amazon cloud features are even in play with the above scenario.

Yes, I agree that it's a dumb comparison. I'm only making it to refute the parent comment which said:

> You can buy a lot of EC2 compute per month before you hit the cost of running outdated servers on your power bill.

I can't see any way of interpreting that other than as them claiming the dumb comparison I just made plays out differently than it does.

If the parent comment said something like "It will take a lot of time and money to reproduce any meaningful percentage of what EC2 offers" I'd be in agreement... but the parent comment was directly comparing a power bill with ec2 compute costs.

Depends on what you're doing. It's still way cheaper to host block storage at home than most any cloud provider right now.
Yeah, that's a pretty big deal. Costs add up quickly on S3 even with Glacier.

But I agree, often AWS is better for your lab than a home server, particularly if what you need to test is clustering.

Also, Elastic Filestore over a VPN connection is not a particularly great experience ;)

Except if you need and use a lot of storage.