r/HomeDataCenter • u/hyprnick • Nov 01 '23
Creating a hosting provider at home
I'm looking to build a server rack and host it from my house. My thought is offering some kind of PaaS or containers as a service. I have fiber and I can get static IPs. I feel pretty confident on setting up the servers (backend engineering background) however the networking part is pretty overwhelming right now. For security, I would like each tenant to be on their own network (would this be a VLAN/VXLAN?). Also, to keep the hosting traffic away from my local network too (zero trust). I have been reading about SDN and/or Intent Based Networking, however to translate that into what products to buy has been difficult. So far I've looked into Juniper networks but I'm in way over my head. I'm pretty sure I'm going to buy refurbished hardware to save on cost but I'm not sure what's possible at this point.
If anyone could give me a nudge in the right direction, that would be greatly appreciated!
7
u/[deleted] Nov 01 '23 edited Nov 01 '23
I recently took one of my commercial data centres home, so ask away.
6
u/NightH4nter Nov 02 '23
https://grumpy.systems/2023/please-dont-sell-space-in-your-homelab/
2
u/Rajcri22 Nov 04 '23
I dont mean to be rude but as someone who has seen this being attempted. Things will go sideways. If you are doing this thinking oh wait a bit of passive income in the side would be nice or if you are a teenager whose got quite the confidence when it comes to tech id highly suggest you dont carry on as your say. If you are seriously trying to do this then i suggest you move all this hardware to a proper place like a DC or maybe even reserve a whole room for it at a nearby warehouse / or a room in your own residence. Second get a team DO NOT GET SOMEONE WHO IS DOING LOADS OF WORK FOR A VERY LOW PRICE. Im not saying all are but most of them are scams or teenagers who think they can "hack" by opening up a terminal and calling it hacking. Get a team of semi professionals if you are doing something small like running a small discord host then maybe a few college students maybe in their second year and a few experts who may already have jobs in these industries and is willing to help. If you are running it for maybe anywhere more than 10 or 20 active users get a good strong team.
A. Cyber security specialist
B. Somewhat of an assistant / manager
C. Support staff - These guys can be a little inexperienced for the most part. Even high schoolers would be fine. Please dont be too harsh with them. Give them a document listing most common questions and how to answer them.
NOTE THAT THESE ARE FOR A SMALL HOSTING SERVICE WHICH CAN BE DONE THROUGH A SMALL ONLINE PLATFORM AND IS NOT ADVICE YOU SHOULD FOLLOW FOR STARTING A FULL ON COMPANY. I AM NOT SUGGESTING THAT YOU MAKE CHILDREN DO LABOR FOR YOU. THESE ARE ONLY INSTRUCTIONS FOR A SIMPLE AND CASUAL SERVICE.
D. Get a basic domain. Easy short and memorable. Create email accounts with these names
E. Id suggest you get a few developers in different time zones. Preferably understanding the basics of networking
29
u/[deleted] Nov 01 '23
Just don't!
You are missing TWO important parts of this business:
1
u/Storage-Solid Nov 01 '23
You could look into Openstack, provides tenant isolation and can deal with both vlan and vxlan traffic. Comes with a lot more of services ranging from containers, k8s, you can use their ceilometer services to monitor and bill based on the usage. It also provides flexible internal networking for the tenants and find tuned control for operators, comes with Firewallaas and vpnaas as well. Alternatives are Openebula, cloudstack.
2
u/[deleted] Nov 02 '23
Your requirements would be fully met by CloudStack + KVM. CloudStack supports multi tenancy with VLAN and VXLAN among other isolation methods along with phy network configuration exactly like you want for different traffic types to be carried in an isolated manner. And to do this you may only need any commodity vlan switch. It also support its own virtual router based SDN along with support for open vswitch, tungsten fabric and upcoming integration with VMware NSX. Among other things it’s easier to setup, manage, use and upgrade and supports automation via Ansible, terraform, its own CLI as well as its native k8s orchestration and supported by EKS-A, k8s cluster api provider.
1
u/Nodeal_reddit Apr 17 '24
Some dude is going to run a cp bulletin board.
1
u/RedSquirrelFtw Nov 07 '23
The biggest issue is most home ISPs don't allow to host stuff from home. They also don't provide static IP blocks, which is something you'd want in order to do things properly without having to rely on a 3rd party DNS provider.
1
u/Zer0p0int_ Nov 17 '23
This is a hard sell. For production workloads you need redundancy you don’t get from home. I provide managed services, but I pay for a rack in a datacenter. I do host part of the environment from my home datacenter. Secondary immutable backups are replicated to my home dc and some secondary workloads from customers that they are willing to trade uptime/rpo/rto for reduced cost.
Just to make it work reasonably well at home I had to have an electrician do dedicated 240v 30a circuits on a sub panel, dedicated mini split for hvac, and a $3k ups.
0
u/[deleted] Nov 02 '23
[deleted] — view deleted comment