I was hosting on a PC at home like 10 years ago. The problem was that when I wanted to go to sleep, it was just too noisy. Even if the box was running in a different room. It was also an issue that my ISP was changing the IP from time to time, so I had to update my DNS. And it does not happen in an instance.
15 years ago we also were trying some other approach with friends. It was the time when cloud was not still the buzzword, and buying a dedicated server in a datacenter was just too expensive for us students (back then). So we bought back then a bare-metal Hetzner machine with friends and shared the bill (for a few years). The problem was, as always, when some time elapsed and some folks wanted out, you needed to re-split the bill. As you can imagine it all collapsed.
Today, what I do to solve both problems? I just buy cheap Hetzner Cloud virtual machines. The cost is marginal. Even with their latest price bump. And it solves the other problem I've had with old approaches. When you pack everything on one box, you have a problem after 2-3 years that it's hard to upgrade the OS ... without taking everyting down ... and possibly not be able to take it back up - the OS upgrade is scarry. The small cheap virtual servers allow you to take the OS upgrade risk-free.
Have you considered how much electricity will that computer @home eat? My hosting at home made me learn it the hard way (it was a regular linux based PC eating a lot of current). I think you have to factor in the hardware + electricity cost in order to estimate what's cheaper.
It could be practical, internet speed will be a limitation for sure if it’s hosting a website not just apis. It really depends, also consider vps from hentzer auctions for splitting some services or even a refurbished server from 2016 era they are under valued for sure. How I like to think this through on how much everything is worth is measuring my (personal/organization) capabilities, capacity and quality of life for on going ops and in crisis. How big of an impact is it when things go wrong, how could I fix it and is there a chance it’s irreversible. Basically frame it around risk and your risk tolerance, I prefer to focus spending on ways to make my 2am crisis least stressful budgets allow.
At work I’ve moved us to a hybrid solution where we use cloud for managed database and storage solutions and compute on local servers. I personally prefer to have the budget be spent on the ops/maintenance of the scariest thing losing company data and somehow failing to maintain securing that data. Compute is almost easy to me in comparison, disaster strikes I just switch to another server local or in cloud, let it talk to the database, secure out going access, run my docker compose. More time spent on the write up than the fix. Someone that is a seasoned dba may choose the exact opposite.
Wouldn't a virtual cloud server better (e.g. Hetzner) suited for this, at least at the beginning. (Once you know some visitor stats, you can right-size the box and
move away from the cloud.)
I was hosting on a PC at home like 10 years ago. The problem was that when I wanted to go to sleep, it was just too noisy. Even if the box was running in a different room. It was also an issue that my ISP was changing the IP from time to time, so I had to update my DNS. And it does not happen in an instance.
15 years ago we also were trying some other approach with friends. It was the time when cloud was not still the buzzword, and buying a dedicated server in a datacenter was just too expensive for us students (back then). So we bought back then a bare-metal Hetzner machine with friends and shared the bill (for a few years). The problem was, as always, when some time elapsed and some folks wanted out, you needed to re-split the bill. As you can imagine it all collapsed.
Today, what I do to solve both problems? I just buy cheap Hetzner Cloud virtual machines. The cost is marginal. Even with their latest price bump. And it solves the other problem I've had with old approaches. When you pack everything on one box, you have a problem after 2-3 years that it's hard to upgrade the OS ... without taking everyting down ... and possibly not be able to take it back up - the OS upgrade is scarry. The small cheap virtual servers allow you to take the OS upgrade risk-free.
Have you considered how much electricity will that computer @home eat? My hosting at home made me learn it the hard way (it was a regular linux based PC eating a lot of current). I think you have to factor in the hardware + electricity cost in order to estimate what's cheaper.
It could be practical, internet speed will be a limitation for sure if it’s hosting a website not just apis. It really depends, also consider vps from hentzer auctions for splitting some services or even a refurbished server from 2016 era they are under valued for sure. How I like to think this through on how much everything is worth is measuring my (personal/organization) capabilities, capacity and quality of life for on going ops and in crisis. How big of an impact is it when things go wrong, how could I fix it and is there a chance it’s irreversible. Basically frame it around risk and your risk tolerance, I prefer to focus spending on ways to make my 2am crisis least stressful budgets allow.
At work I’ve moved us to a hybrid solution where we use cloud for managed database and storage solutions and compute on local servers. I personally prefer to have the budget be spent on the ops/maintenance of the scariest thing losing company data and somehow failing to maintain securing that data. Compute is almost easy to me in comparison, disaster strikes I just switch to another server local or in cloud, let it talk to the database, secure out going access, run my docker compose. More time spent on the write up than the fix. Someone that is a seasoned dba may choose the exact opposite.
Wouldn't a virtual cloud server better (e.g. Hetzner) suited for this, at least at the beginning. (Once you know some visitor stats, you can right-size the box and move away from the cloud.)
[dead]
[dead]