TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

My SaaS Journey from $1000/Mo Heroku to Home Server

22 pointsby campervansover 1 year ago
I have a production SaaS product, used by 1,000&#x27;s a day.<p>Server bills are $1,000&#x2F;month. Heroku mostly and Digital Ocean.<p>I&#x27;m thinking of moving to a home server, setting up 2 servers (a Staging + Production), with 4 raspberry PI 5&#x27;s as worker servers.<p>It seems I can get far better performance, with a &lt; 3 Month payback period...<p>What am I missing??<p>Server spec:<p>Server -&gt;https:&#x2F;&#x2F;pcbuilder.net&#x2F;rigs&#x2F;4sg24H&#x2F; - $988 &#x2F;each x 2 + Raspberry PI 5 -&gt;https:&#x2F;&#x2F;www.raspberrypi.com&#x2F;products&#x2F;raspberry-pi-5&#x2F;#:~:text=Buy%20now-,Specification,-Broadcom%20BCM2712%202.4GHz - $80 &#x2F;each x 4 + Hardware Firewall -&gt; https:&#x2F;&#x2F;www.amazon.com&#x2F;Fortinet-FortiGate-Firewall-Throughput-Protection&#x2F;dp&#x2F;B07ZZMFWJ7&#x2F; - $350 x 1 + Switch -&gt; https:&#x2F;&#x2F;www.amazon.com&#x2F;NETGEAR-5-Port-Gigabit-Ethernet-Managed&#x2F;dp&#x2F;B07PJ7XZ7X - $25 x 1<p>Total = $2,671 (+ time and effort to config) + DataDog<p>Payback &lt; 3 months<p>Power cuts - Not had one ever. But, could spin up a server if a ping of the home server goes down Internet disruption - Not ever happened. But would have a 5G fall back router.<p>What am I missing?? Why is this not more common?

16 comments

dsr_over 1 year ago
Most residential ISPs forbid commercial use.<p>Many residential ISPs won&#x27;t give you a static IPv4 address.<p>Most residential ISPs won&#x27;t give you sufficiently symmetrical bandwidth.<p>VM hosting companies have spare hardware on hand, and can generally shift you either transparently or with minimal downtime to different hardware.<p>If none of these things are an issue for you, go ahead.<p>Personally, I wouldn&#x27;t use RPi hardware, EVO 970s, 2TB spinners, or a Fortigate.<p>Four boxes, each with a 12 core CPU, 64 GB RAM, a 2TB NVMe with at least a 1200TBW lifetime, and a pair of 4-8 TB spinners in RAID1. One box runs staging including workers, one runs production including workers, one runs all your firewall, utility, administration and backups, and the fourth is configured and powered off -- once a month, power it up, bring it up to date, and shut it down. Someday you will need it as a spare or for capacity. Get extra NICs for all of them.<p>I would estimate $5K in hardware costs. Buy an online UPS and connect the production and utility boxes to it.
评论 #39403596 未加载
评论 #39395615 未加载
评论 #39395637 未加载
KomoDover 1 year ago
I&#x27;d say you should consider renting a dedicated server or co-locating instead.
评论 #39396711 未加载
评论 #39407556 未加载
jjiceover 1 year ago
I love the spirit of this! Like other have said, moving away from Heroku to a dedicated server that&#x27;s already hosted would also be a win. Even on-demand AWS EC2 instances may be cheaper than your dynos.<p>I&#x27;d personally still lean towards a service where I could get a VM or dedicated box so I could keep internet access and power off my mind. That said, installing at a colo could be a good middleground for &quot;bring your own&quot; hardware, but power and internet included.<p>It&#x27;s hard to say without knowing the nature of your SaaS because that can dictate risk tolerance and SLAs, but I&#x27;d run the costs on what the upside is vs the potential of an issue and what the cost of those issues are.
awsidiqiover 1 year ago
We also moved off of Heroku, but instead of a home server, we moved to Hetzner (<a href="https:&#x2F;&#x2F;hetzner.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;hetzner.com&#x2F;</a>) and threw Dokku on top. Significantly cheaper than Digital Ocean (ridiculously cheaper than Heroku) and has a good reputation on HN.<p>We opted for their VPS&#x27;s in Ashburn, Virginia, but you can get dedicated servers in Europe as well. Depends where your customers are.<p>You can do this a lot quicker and more reliably than trying to run your own servers from home.
ThePhysicistover 1 year ago
Compliance, data protection? Not sure if you just don&#x27;t care about these or if your service doesn&#x27;t process any sensitive or personal data but having all your customer data sitting at home in your basement or living room where it can be easily stolen sounds like a nightmare, and will put you in a bad spot in case something happens. Not sure if that&#x27;s relevant to you and where you&#x27;re based, I would never risk that though, and I think it&#x27;s quite unprofessional.
TacticalCoderover 1 year ago
&gt; Power cuts - Not had one ever.<p>I had both blackouts and brownouts. They&#x27;re typically very short lived so why not add a little UPS to the mix?<p>Regarding the Pis: I&#x27;ve got both an army of Pi and now an army of NUCs. I don&#x27;t know what&#x27;d work best for you.<p>Also is Gbit&#x2F;s sufficient?<p>&gt; Payback &lt; 3 months<p>To me it&#x27;s a no brainer but you could also aim for a payback in less than, say, six months and have something really smoking that $1000&#x2F;month cloud offering.
评论 #39395389 未加载
GianFabienover 1 year ago
Is your home internet connection fast, reliable and provide sufficient volumes? Many connections are not far slower for outgres than ingres. Does your ISP permit the usage you propose under your current contract? What about IP, can you get static IP, is it within the ISP&#x27;s range, DNS? I doubt that dynamic DNS would suffice.
评论 #39395681 未加载
gregorsover 1 year ago
I like that you&#x27;re planning on doing this. I think you&#x27;ll have a good time reading these links.<p>* <a href="https:&#x2F;&#x2F;blog.codinghorror.com&#x2F;the-scooter-computer&#x2F;" rel="nofollow">https:&#x2F;&#x2F;blog.codinghorror.com&#x2F;the-scooter-computer&#x2F;</a><p>* <a href="https:&#x2F;&#x2F;blog.codinghorror.com&#x2F;the-cloud-is-just-someone-elses-computer&#x2F;" rel="nofollow">https:&#x2F;&#x2F;blog.codinghorror.com&#x2F;the-cloud-is-just-someone-else...</a><p>Pay some attention to where he mentions &quot;burning in your box&quot;<p>I really think minipc&#x27;s are the sweet spot. I run several and they are amazing for the cost. They run circles around cpu&#x2F;memory&#x2F;disk io you&#x27;ll get at heroku or digital ocean. The cheaper smaller minipc&#x27;s will run circles around any pi as well.<p>I run a couple of morefine m600 r9 7940hs ($520) with 1TB ssd and ($100) 64GB of ram ($200). If you look for deals you can occasionally score big (usually during holidays).<p><a href="https:&#x2F;&#x2F;www.cpubenchmark.net&#x2F;compare&#x2F;3747vs5454&#x2F;Intel-i7-10700-vs-AMD-Ryzen-9-7940HS" rel="nofollow">https:&#x2F;&#x2F;www.cpubenchmark.net&#x2F;compare&#x2F;3747vs5454&#x2F;Intel-i7-107...</a><p>I&#x27;d say this, if you&#x27;re serving &quot;from home&quot; I&#x27;d make sure you&#x27;ve got a fiber connection and that you&#x27;re not behind a nat. It&#x27;s actually not expensive to get fiber and a block of public ip addresses where I live, but you should check into that.<p>Also, I would absolutely buy a ups ....actually buy 2. One specifically for your networking set up and another for your box. Cheap insurance if you ask me. I&#x27;d honestly only start off maybe hosting your staging server. Figure out what the latencies are like, how you&#x27;re going to do data backups, and OS updates, etc and all the other digital lawn mowing activities first.<p>Many small businesses used to do exactly what you &#x27;re doing, but there&#x27;s risk involved. I do think the sweet spot is collocation, but if you&#x27;re ok with the risks have at it. You&#x27;ll learn a lot and many others have done it.
throwaway828over 1 year ago
Dedicated server?<p>Take a look at serverhunter.com
评论 #39407583 未加载
评论 #39395609 未加载
p0dover 1 year ago
My last job was working for a growing saas company and this means security questionnaires and compliance. Your home server and environment wont tick many boxes.<p>I have been running my own small saas on Hostgator then Hetzner for the last 17 years. Go for cheap cloud servers. I currently pay £20 per month for £1000mrr
评论 #39432508 未加载
otmahtheover 1 year ago
How much trafic do you have daily ?<p>I guess that you can also rent dedidacted servers or VPS and it will cut the bill by a lot, even on GCP or AWS, rent VMs with committed usage are not that expensive! It could also help with security and compliance.
maltegover 1 year ago
can you share some more information about the current setup and pricing.<p>I would definitly not go for a complete home setup - but a hybrid approach is quite feasable - eg. worker nodes, staging env and a vault hosting inhouse. but for production for me personally it would be too risky. you should also calculate your own hourly rate what it cost to maintain this setup...
评论 #39395419 未加载
segmondyover 1 year ago
Just do it. Lots of people are running home labs serving the internet, and we have been since the days of phone modem.
hiAndrewQuinnover 1 year ago
You&#x27;re probably better off moving to AWS or Azure, for all the reasons dsr points out.<p>You&#x27;ll almost certainly still end up with significant cost savings. Plus learning how the cloud works at the base level is a valuable and transferable skill.
lulznewsover 1 year ago
What kind of workload are we talking about?
hnaccountmeover 1 year ago
Security